CSS Dateien Teil 2
Diese css-Dateien sind für die User-Verwaltung 2
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;
}
}
-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;
}
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%;
}
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;
}
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>