pdo statements
CSS Dateien
Hier einige CSS-Dateien die genutzt werden
Es können auch verschiedene css-dateien untereinander gestellt werden.
Beispiel:
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mein Titel hierhin</title>
<meta name="dcterms.rights" content="locomputing">
<meta name="description" content="Beschreibung der Webseite">
<meta name="keywords" content="Schlüsselwörter">
<link rel="stylesheet" href="zB.install_style.css">
<link rel="stylesheet" href="zB.formular_style.css">
<link rel="stylesheet" href="zB.menu_style.css">
</head>
<body>
install_style.css
<style>
#tbcontainer {
background-color: #eeeeee;
color: #000066;
text-align: center;
margin: 15px auto 0 auto;
border: 4px ridge red;
max-width: 1024px;
}
#tbcontainer .tbkopf {
border-bottom: thin solid #999999;
padding: 3px;
text-align: center;
}
#tbcontainer .box {
display: flex;
text-align: left;
}
#tbcontainer .box div:nth-child(1) {
flex: 1;
border-bottom: 1px solid #999999;
border-right: 1px solid #999999;
padding: 3px;
min-width: 30%;
}
#tbcontainer .box div:nth-child(2) {
flex: 1.3;
border-bottom:1px solid #999999;
padding: 3px 1px;
}
#tbcontainer .box div:nth-child(3) {
flex: 1;
border-bottom: 1px solid #999999;
border-left: 1px solid #999999;
padding: 3px;
}
#tbcontainer .tbfoot {
padding: 3px;
text-align: center;
}
.but {
background-color: #eeeeee;
border-top: 1px solid white;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
border-left: 1px solid white;
cursor: pointer;
margin: 0.5em auto;
padding: 3px 5px 3px 5px;
color: #191970;
font-weight: normal;
border-radius: 5px;
}
#tbcontainer .mitte {
text-align: center;
margin: 15px auto 0 auto;
}
#tbcontainer .ready {
font-weight: normal;
color: navy;
}
#tbcontainer .noready {
color: maroon;
}
#tbcontainer .put {
font-weight: bold;
color: navy;
width: 99%;
padding: 2px 0 2px 3px;
border: 1px solid #ff4500;
border-radius: 2px;
}
</style>
formular_style.css
<style>
.form-face label {
display: block;
}
.form-face label span {
color: red;
padding-left: 3px;
}
.form-face input.form-control {
color: black;
outline: none;
border: thin solid gray;
background: white;
padding: 2px 5px;
width: 19.75em;
border-radius: 3px;
}
.form-face textarea.form-control {
color: black;
outline: none;
border: thin solid gray;
background: white;
padding: 2px 5px;
width: 20.25em;
height: 10em;
border-radius: 4px;
}
.form-face input[type='text']::placeholder {
color: gray;
}
.form-face input[type='email']::placeholder {
color: gray;
}
.form-face textarea::placeholder {
color: gray;
}
.form-face .form-control:valid {
border: 2px solid green;
}
.form-face .form-control:invalid {
border: 2px solid red;
}
.form-face .butt {
display: inline;
width: 9.75em;
padding: 2px 20px;
margin-top: 10px;
margin-left: 3px;
height: 36px;
line-height: 1;
text-align: center;
border-radius: 5px;
}
.form-face .button-blue {
cursor: pointer;
color: white;
font-weight: bold;
background-color: #337ab7;
border-color: #122b40;
}
.form-face .button-blue:hover {
background: #286090;
border-color: #204d74;
}
.form-face .button-red {
cursor: pointer;
padding: 3px 20px;
color: white;
font-weight: bold;
background-color: #d9534f;
border-color: #761c19;
}
.form-face .button-red:hover {
background: #c9302c;
border-color: #ac2925;
}
</style>
menu_style.css
<style>
Horizontal
nav {
text-align: center;
}
ul li {
display: inline-block;
list-style-type: none;
text-decoration: none;
padding: 0.2em 1em;
margin: 0 auto;
text-align: center;
color: red;
}
ul li a {
color: blue;
text-decoration: underline;
}
ul li a:hover {
color: green;
text-decoration: none;
}
Vertikal
@media screen and (max-width: 50em) {

nav {
text-align: left;
}
ul li {
display: block;
text-align: left;
margin: 0;
}

}
</style>
submenu_style.css
<style>
Horizontal
nav {
text-align: center;
}
ul li {
list-style-type: none;
padding: 5px 0;
color: #e60000;
width: 5em;
}
ul li a {
color: blue;
}
ul li a:hover {
color: green;
}
ul.liner {
display: table;
list-style-type: none;
padding: 0;
margin: 0 auto;
}
ul.liner > li {
display: table-cell;
padding: 0;
}
ul.liner > ul > li.a {
color: blue;
}
ul.liner ul {
padding: 0;
}
Vertikal
@media screen and (max-width: 50em) {

nav {
text-align: left;
}
ul {
margin: 0 auto;
text-align: left;
}
ul li {
display: block;
list-style-type: none;
padding: 0.25em 0;
}
ul li {
list-style-type: none;
text-align: left;
padding: 0.2em 0 0.2em 0;
}
ul li.raus {
list-style-type: none;
text-align: left;
padding: 0.2em 0 0.2em 1em;
}
ul.liner {
display: block;
list-style-type: none;
padding: 0 0 0 2.5em;
text-align: left;
}
ul.liner > li {
display: block;
padding: 0.5em 0;
}
ul.liner ul {
padding: 0.1em 0;
}

}
</style>
farbdiv_style.css
<style>
table {
width: 100%;
border-spacing: 2px;
}
.bg1 {
background: gold;
border: 1px solid black;
padding: 2px 5px;
}
.bg2 {
background: orange;
border: 1px solid black;
padding: 2px 5px;
}
.bg3 {
background: palegreen;
border: 1px solid black;
padding: 2px 5px;
}
.bg4 {
background: thistle;
border: 1px solid black;
padding: 2px 5px;
}
.bg5 {
background: pink;
border: 1px solid black;
padding: 2px 5px;
}
.bg6 {
background: lightblue;
border: 1px solid black;
padding: 2px 5px;
}
#tabs {
display: flex;
align-items: stretch;
flex-flow: row wrap;
gap: 2px;
}
#tabs div {
flex: 25%;
margin: 1px 0;
}
</style>
pagnation.css
<style>
body {
text-align:center;
font-family: Tahoma, Geneva, sans-serif;
margin:0;
padding: 0;
}

table {
margin: 0 auto;
}

td {
padding: 0 1px;
}

td a {
text-decoration:none;
}

td a:hover {
color: green;
}

td.currentpage {
color: red;
}
</style>
Top
Top