defiance-ng/static/css/style.css

79 lines
1.1 KiB
CSS
Raw Normal View History

/* Dark Mode */
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
2022-07-31 17:08:31 -07:00
a {
text-decoration: none;
color: #f3ccc3;
}
}
/* Light Mode */
@media (prefers-color-scheme: light) {
body {
background-color: white;
}
2022-07-31 17:08:31 -07:00
a {
text-decoration: none;
color: #da644a;
}
}
/* Universal */
2022-07-20 14:27:20 -07:00
body {
2022-07-20 14:57:54 -07:00
justify-content: center;
2022-07-20 14:27:20 -07:00
}
2022-07-20 14:57:54 -07:00
header h1 {
text-align: center;
}
2022-07-20 14:27:20 -07:00
2022-07-20 14:57:54 -07:00
code {
background-color: lightslategrey;
color: white;
border-radius: 5px;
padding: 1pt;
2022-07-20 14:27:20 -07:00
}
2022-07-20 14:57:54 -07:00
footer {
text-align: center;
clear: both;
}
2022-07-20 14:27:20 -07:00
2022-07-20 14:57:54 -07:00
/* For header.html */
#nav {
2022-07-20 14:57:54 -07:00
background-color: #da644a;
}
#nav-button {
2022-07-20 14:57:54 -07:00
color: white;
padding: 0px 25px;
2022-07-20 14:57:54 -07:00
text-decoration: none;
2022-07-20 14:27:20 -07:00
}
2022-07-20 14:57:54 -07:00
#nav-button:hover {
background-color: #e69886;
2022-07-20 14:27:20 -07:00
}
2022-07-20 14:57:54 -07:00
/* For author.html */
#avatar {
border-radius: 8px;
max-width: 200px;
height: auto;
}
#pronouns {
color: maroon;
2022-07-20 14:27:20 -07:00
}
/* For meta.html */
.meta {
text-align: center;
clear: both;
2022-07-20 14:57:54 -07:00
}
#meta-avatar {
border-radius: 8px;
max-width: 60px;
height: auto;
2022-07-20 14:27:20 -07:00
}