hibiscus/public/main.css

68 lines
1.3 KiB
CSS
Raw Normal View History

2024-03-15 18:34:24 +03:00
body {
color: #454545;
2024-03-18 00:51:27 +03:00
background-color: #f5f0e1;
2024-03-15 18:34:24 +03:00
margin: 2em auto;
2024-03-18 00:51:27 +03:00
max-width: 640px;
2024-03-15 18:34:24 +03:00
padding: 1em;
line-height: 1.4;
text-align: justify;
font-family: serif;
min-height: 85vh;
display: flex;
flex-direction: column;
}
a, a:visited { color: #f85552; }
a:hover, a:visited:hover { color: #e66868; }
2024-04-23 14:13:45 +03:00
h2 { margin-bottom:12px; }
.list-title { margin-bottom: 0}
.list-desc { margin-top: 0 }
2024-03-15 18:34:24 +03:00
textarea, input {
background: #f5f2ee;
2024-03-18 00:51:27 +03:00
max-width: 640px;
width: 100%;
display: block;
resize: vertical;
outline: 0;
box-shadow: none;
border: 0.0625em solid #454545;
margin-bottom: 1em;
2024-03-26 14:44:58 +03:00
font-size: 18px;
2024-03-18 00:51:27 +03:00
}
2024-03-28 10:56:13 +03:00
input { height: 2.5em; }
2024-03-15 18:34:24 +03:00
button {
background-color: #f85552;
border: none;
color: #f5f2ee;
padding: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
2024-03-18 00:51:27 +03:00
font-size: 20px;
2024-03-15 18:34:24 +03:00
margin: 4px 2px;
2024-03-18 00:51:27 +03:00
border-radius: 4px;
2024-03-15 18:34:24 +03:00
cursor: pointer;
2024-03-18 00:51:27 +03:00
max-width: 640px;
width: 100%;
2024-03-15 18:34:24 +03:00
}
button:hover { background-color: #e66868; }
2024-03-28 10:56:13 +03:00
footer { margin-top: auto; }
2024-03-18 12:46:20 +03:00
header > h1, header > p {
2024-03-28 10:56:13 +03:00
margin-bottom: 0;
margin-top: 0;
2024-03-18 12:46:20 +03:00
}
2024-03-18 00:51:27 +03:00
/* Dark theme */
@media (prefers-color-scheme: dark) {
body {
color: #f5f0e1;
background-color: #2c2825;
}
textarea, input {
color: #f5f0e1;
background-color: #383030;
}
}