servnest/css/lessphp_850e33f28b11e1aed4a1814902ac83f3a6ff251a.css
2021-01-23 17:26:46 +01:00

125 lines
1.9 KiB
CSS

.button {
border-width: 2px;
border-style: solid;
text-decoration: none;
border-radius: 10px;
padding: 8px;
}
.htButton {
border-width: 2px;
border-style: solid;
border: 2px red solid;
text-decoration: none;
border-radius: 10px;
padding: 8px;
border-color: red;
}
form {
margin-left: 50px;
margin-right: 50px;
text-align: center;
}
@media (max-width: 500px) {
form {
margin-left: 0px;
margin-right: 0px;
}
}
input,
select {
border-radius: 12px;
height: 30px;
font-size: 26px;
font-family: monospace;
margin: 5px;
height: 100%;
padding: 10px;
border-style: solid;
border-width: 2px;
}
input:hover,
select:hover {
border-width: 3px;
padding: 9px;
}
input:focus,
select:focus {
border-width: 4px;
padding: 8px;
}
input[type=submit] {
margin: 22px;
}
input:invalid + span:after {
content: '✖';
padding-left: 10px;
}
input:valid + span:after {
content: '✓';
padding-left: 10px;
}
label {
padding-top: 10px;
}
@media (prefers-color-scheme: light) {
input,
select {
background-color: #ffffff;
color: #2a2a2a;
border-color: #2a2a2a;
}
}
@media (prefers-color-scheme: dark) {
input,
select {
background-color: #2a2a2a;
color: #ffffff;
border-color: #ffffff;
}
}
html {
font-family: system-ui;
font-size: 26px;
margin-left: 20%;
margin-right: 20%;
}
@media (max-width: 500px) {
html {
margin-left: 20px;
margin-right: 20px;
}
}
footer {
margin-left: 20%;
margin-right: 20%;
}
@media (max-width: 500px) {
footer {
margin-left: 0px;
margin-right: 0px;
}
}
header {
text-align: center;
}
a {
color: #b300ff;
}
.button {
border: 2px red solid;
text-decoration: none;
border-radius: 10px;
padding: 8px;
}
@media (prefers-color-scheme: light) {
html {
background-color: #ffffff;
color: #2a2a2a;
}
}
@media (prefers-color-scheme: dark) {
html {
background-color: #2a2a2a;
color: #ffffff;
}
}