locomputing
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>Jeweils den Titel einfügen</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.css">
<link rel="stylesheet" href="zB.formular.css">
<link rel="stylesheet" href="zB.menu.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:.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>
style.css 
<style>
*, *:before, *:after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

@media screen and (min-width: 18em) {

body {
font-size: 110%;
}
}

@media screen and (min-width: 50em) {

body {
font-size: 150%;
}
}

html {
color: #000088;
margin: 0 auto;
}

body {
margin: 2px auto;
padding: 0.3em;
color: #000066;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

body {
display: grid;
grid-template-columns: repeat(1, 1fr);
}

header {
grid-column: 1;
grid-row: 1;
font-size: 125%;
text-align: center;
padding: 8px 0;
}
nav {
grid-column: 1;
grid-row: 0;
}
main {
grid-column: 1;
grid-row: 2;
}
footer {
grid-column: 1;
grid-row: 3;
font-size: 50%;
text-align: center;
padding: 5px 0;
}

@media screen and (min-width: 50em) {

body {
display: grid;
grid-template-columns: repeat(100, 1fr);
}

header {
grid-column: 1 / 101;
grid-row: 1;
}
nav {
grid-column: 1 / 19;
grid-row: 2;
}
main {
grid-column: 20 / 101;
grid-row: 2;
}
footer {
grid-column: 1 / 101;
grid-row: 3;
}

}
</style>
form.css 
<style>
fieldset {
margin: 0 .5em;
border: none;
max-width: 75%;
border: 2px solid gainsboro;
}
fieldset legend {
font-size: 85%;
padding-left: 1em;
padding-right: 1em;
}
.form-face {
margin: 2px;
width: 98%;
}

@media screen and (max-width: 50em) {

fieldset {
max-width: 100%;
}

}

.form-face label {
display: block;
max-width: 100%;
padding-left: 8px;
margin-bottom: 0;
font-weight: bold;
}
.form-face label span {
color:red;
font-size: 150%;
vertical-align: top;
padding-left: 3px;
}
.form-face .butt {
display: inline;
max-width: 20em;
padding: 3px 10px;
margin-top: 10px;
margin-bottom: 0;
margin-left: 3px;
font-size: 85%;
font-weight: normal;
text-align: center;
cursor: pointer;
text-decoration: none;
border: 2px solid transparent;
border-radius: 4px;
}
.form-face .button-blue {
font-family: Arial, Helvetica, sans-serif;
cursor: pointer;
width: 46%;
color: white;
background-color: #337ab7;
border-color: #122b40;
}
.form-face .button-blue:hover {
background: white;
background-color: #286090;
border-color: #204d74;
}
.form-face .button-red {
font-family: Arial, Helvetica, sans-serif;
cursor: pointer;
width: 46%;
color: white;
background-color: #d9534f;
border-color: #761c19;
}
.form-face .button-red:hover {
background: white;
background-color: #c9302c;
border-color: #ac2925;
}

.form-face .form-control {
color: black;
outline: none;
border: thin solid gray;
font-family: Helvetica, Arial, sans-serif;
font-size: 100%;
background: white;
padding: 2px 3px 2px 5px;
margin:0 0 5px 0;
width: 100%;
border-radius: 4px;
}
.form-face textarea {
width: 50%;
resize: vertical;
height: 8em;
}
.form-face input[type='text']::placeholder {
font-size: 95%;
color: gray;
font-weight: normal;
}
.form-face input[type='email']::placeholder {
font-size: 95%;
color: gray;
font-weight: normal;
}

.form-face input[readonly] {
font-size: 95%;
color: #616161;
padding: 3px 8px;
font-weight: normal;
border: 2px solid green;
}

.form-face textarea::placeholder {
color: gray;
font-size: 95%;
font-weight: normal;
}

.form-face .form-control:valid {
border: 2px solid green;
}
.form-face .form-control:invalid {
border: 2px solid red;
}
</style>
menue.css 
<style>
#nav-menue {
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 999;
}
.menue-button {
position: absolute;
top: 0.2em;
left: 0.75em;
z-index: 1000;
text-decoration: none;
font-weight: bold;
font-size:125%;
}
.menue-button-zu {
visibility: hidden;
}
#nav-menue:target #menu {
visibility: visible;
margin-top: 0;
margin-left: 0;
}
#nav-menue:target .menue-button-zu {
visibility: visible;
display: inline-block;
margin-top: 0;
background: transparent;
}
#nav-menue:target .menue-button-open {
visibility: hidden;
margin-top: 0;
}
#menu {
z-index: 999;
background: white;
visibility: hidden;
position: absolute;
top: 0;
left: 0;
overflow: hidden;
width: 100%;
font-weight: bold;
margin-top: -25em;
margin-left: 0;
text-align: left;
padding: 2em 0 1em 0.5em;
}
#menu ul {
margin: 0 auto;
text-align: left;
}
#menu ul li {
display: block;
list-style-type: none;
padding: 0.2em 0;
color: red;
}
#menu ul li {
list-style-type: none;
text-align: left;
}
#menu ul li a {
text-decoration: none;
}
#menu ul li.raus {
list-style-type: none;
text-align: left;
padding: 0.2em 0 0 1em;
}
#menu ul.liner > li {
display: block;
}
#menu ul.liner ul {
padding: 0;
}
#menu ul li a:hover {
color: #009d01;
}
.hallo {
color: navy;
font-size: 75%;
padding-left: 3.5em;
}

@media screen and (min-width: 50em) {

.menue-button {
display: none;
}
#nav-menue {
position: relative;
padding: 0;
}
#menu {
visibility: visible;
background: transparent;
padding: 0;
text-align: left;
position: relative;
min-height: 1em;
font-size: 70%;
margin: 0;
}
#menu ul {
margin: 0;
text-align: left;
}
#menu ul li {
display: block;
list-style-type: none;
}
#menu ul li {
list-style-type: none;
text-align: left;
padding: 0.2em 0;
}
#menu ul li.raus {
list-style-type: none;
text-align: left;
padding: 0.2em 0 0.1em 1em;
}
#menu ul.liner {
display: block;
list-style-type: none;
padding: 0 0 0 5px;
text-align: left;
}
#menu ul.liner > li {
display: block;
}
.hallo {
color:navy;
font-size: 75%;
padding-left: 0.75em;
}

}

#user {
margin: 0.5em auto;
padding: 0.5em;
border-top: 1px solid gray;
border-bottom: 1px solid gray;
}
.hallo span {
color: maroon;
font-size: 125%;
}
</style>
add.css 
<style>
.tables {
border: 2px solid #333333;
margin: 20px auto 0 auto;
width: 100%;
font-size: 80%;
padding: 0;
border-collapse: collapse;
}
.tables th {
padding: 3px 5px 3px 10px;
font-size: 110%;
color: black;
width: 50%;
text-align: left;
border-bottom: 2px solid #333333;
}
.tables td {
padding: 5px 5px 3px 10px;
color: black;
width: 50%;
border: 1px solid #555555;
}
.table {
border: 2px solid #333333;
margin: 20px auto 0 auto;
width: 100%;
font-size: 75%;
padding: 0;
border-collapse: collapse;
}
.table th {
padding: 3px 5px 3px 10px;
font-size: 110%;
color: black;
text-align: left;
border-bottom: 2px solid #333333;
}
.table td {
padding: 5px 5px 3px 10px;
color: black;
border: 1px solid #555555;
}
tr.big {
font-weight: bold;
background: #eeeeee;
font-size: 95%;
}
.bigg {
font-weight: bold;
font-size: 70%;
margin: 5px;
}
#adi {
display: flex;
padding: 2px 5px;
font-size: 75%;
}
#adi a {
text-decoration: none;
}
#adi .links {
flex: 1;
width: 45%;
height: auto;
margin: 1px 1%;
padding: 2px 0 2px 5px;
border: 1px solid gray;
text-align: left;
border-radius: 4px;
}
#adi .rechts {
flex: 1;
width: 45%;
height: auto;
margin: 1px 1%;
padding: 2px 0 2px 5px;
border: 1px solid gray;
text-align: left;
border-radius: 4px;
}
.uredt li {
list-style-type: none;
margin: 5px 0;
}
.uredt {
color: #8f8f8f;
}
.uredt span {
color: black;
}
.butl {
display: block;
width: 200px;
height: 30px;
margin: 2px 10px 6px 2px;
padding: 4px 10px 10px 10px;
background-color: #eeeeee;
border: 1px solid #a10400;
text-align: left;
border-radius: 4px;
}
.butl a, .butr a {
display: block;
text-decoration: none;
font-family: Verdana, Geneva, Helvetica, Arial, sans-serif;
font-size: 75%;
font-weight: bold;
color: navy;
}
.butl a:hover, .butr a:hover {
color: maroon;
}
.butr {
display: block;
width: 200px;
height: 30px;
margin: -36px 10px 6px 220px;
padding: 4px 10px 10px 10px;
background-color: #eeeeee;
border: 1px solid #a10400;
text-align: left;
border-radius: 4px;
}
.butti {
font-size: 125%;
cursor: pointer;
width: 95%;
height: 36px;
line-height: 18px;
color: white;
padding: 3px 20px;
margin-top: 3px;
margin-bottom: 3px;
background-color: #337ab7;
border-color: #122b40;
}
.butti:hover {
background: white;
background-color: #286090;
border-color: #204d74;
}
.butli {
font-size: 125%;
cursor: pointer;
width: 95%;
height: 36px;
line-height: 18px;
color: white;
padding: 2px 20px;
margin-top: 3px;
margin-bottom: 3px;
background-color: #337ab7;
border-color: #122b40;
}
.butli:hover {
background: white;
background-color: #286090;
border-color: #204d74;
}
.faces .form-controle {
color: black;
outline: none;
border: thin solid gray;
font-family: Helvetica, Arial, sans-serif;
font-size: 100%;
background: white;
padding: 2px 3px 2px 5px;
margin: 0 0 5px 0;
width: 100%;
border-radius: 4px;
}
.faces .form-controle:valid {
border: 2px solid green;
}
.faces .form-controle:invalid {
border: 2px solid red;
}
</style>