Website/style.css

80 lines
1.2 KiB
CSS
Raw Normal View History

2024-09-19 20:59:04 +02:00
html {
margin: 0;
background-color: #502060;
color: #00cccc;
font-family: Monocraft monospace;
}
body {
margin: auto;
display: block;
width: min(700px, 90vw);
margin-top: min(10em, 30vh);
margin-bottom: min(10em, 30vh);
}
a {
color: #00ffff;
}
a.btn {
background-color: #603060;
display: inline-block;
width: 10em;
2024-10-14 14:22:45 +02:00
max-width: 90vw;
2024-09-19 20:59:04 +02:00
min-width: fit-content;
padding: 10px;
margin: 0;
2024-10-14 16:47:31 +02:00
margin-bottom: 0.2em;
2024-09-19 20:59:04 +02:00
text-decoration: none;
text-align: center;
transition: 0.2s;
}
a.btn:hover {
background-color: #605070;
}
form {
background-color: #425;
padding: 10px;
margin: 20px auto 20px auto;
width: fit-content;
}
label {
text-align: right;
display: block;
}
input {
height: 2em;
margin-bottom: 0.5em;
border: 0;
background-color: #000;
color: #f0f;
}
button {
background-color: #a0a;
color: #000;
border: 0;
width: 100%;
height: 2em;
cursor: pointer;
transition: 0.2s;
}
button:hover {
background-color: #909;
}
div.error {
background-color: #913;
color: #fff;
display: block;
width: calc(100% - 60px);
padding: 15px;
margin: 15px;
}
2024-10-14 16:29:13 +02:00
img.ss {
margin: auto;
display: inline-block;
2024-10-14 16:47:31 +02:00
width: min(calc(45vw - 0.5em), calc(350px - 0.5em));
margin: 0.2em;
2024-10-14 16:29:13 +02:00
}