ethanyoo.com/themes/geronimo/static/css/style.css

134 lines
2.1 KiB
CSS
Raw Normal View History

/* Body */
2024-05-12 16:51:30 +00:00
a,
2024-05-09 00:50:54 +00:00
a:link {
2024-05-12 16:51:30 +00:00
text-decoration: none;
2024-05-09 00:50:54 +00:00
color: #ace;
}
a:hover {
background: #2b5278;
text-decoration: underline dotted;
border: 1px solid;
}
2024-05-12 16:51:30 +00:00
header a:link,
header a:visited,
footer a:link,
footer a:visited,
aside a:visited,
main a:visited {
2024-05-09 00:50:54 +00:00
color: #FFF;
}
2024-05-12 16:51:30 +00:00
body {
background: #10151a;
color: #d3dae3;
font: 1em/1.5 sans-serif;
margin: 2em auto;
max-width: 50em;
padding: 0 2em;
}
2024-05-09 00:50:54 +00:00
h2,
main h1 {
text-align: center;
}
h1 {
font-size: 2.1em;
}
h2 {
font-size: 1.8em;
}
h3 {
font-size: 1.5em;
}
article,
main {
padding: 4px 2px;
}
blockquote {
2024-06-01 15:45:12 +00:00
padding: 0.25em 1.5em;
background: #ddd;
2024-05-09 00:50:54 +00:00
color: #000;
border-radius: 4px;
}
code {
background: #000;
font: 1em/1.5 monospace, monospace;
padding: 2px;
}
img[src$='#center'] {
display: block;
margin-left: auto;
margin-right: auto;
}
/* Light theme */
2024-05-12 16:51:30 +00:00
@media (prefers-color-scheme: light) {
2024-05-09 00:50:54 +00:00
body {
background: #f2f2f2;
color: #000;
}
2024-05-12 16:51:30 +00:00
header a:link,
header a:visited,
2024-05-09 00:50:54 +00:00
footer a:link,
2024-05-12 16:51:30 +00:00
footer a:visited,
2024-05-09 00:50:54 +00:00
aside a:link {
color: #000;
}
a:hover {
background: #cae6ef;
text-decoration: underline dotted;
border: 1px solid;
}
main a:link {
color: #004962;
}
2024-05-12 16:51:30 +00:00
main a:visited,
aside a:visited {
2024-05-09 00:50:54 +00:00
color: #542baa;
}
2024-05-12 16:51:30 +00:00
code {
background: #ccc;
color: #000;
font: 1em/1.5 monospace, monospace;
padding: 2px;
}
2024-05-09 00:50:54 +00:00
}
/* Classes */
2024-05-09 00:50:54 +00:00
.center {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.nextcloud {
width: 50px;
height: 30px;
position: relative;
top: 8px;
background-size: contain;
display: inline-block;
background-repeat: no-repeat;
background-position: center center;
}
.post-title {
line-height: 1.8;
}
.subtitle {
float: right;
}
a.link-000 {
background: #000;
border: none;
}
a.link-001 {
padding: 10px;
background-color: #0082c9;
color: #ffffff;
border-radius: 3px;
padding-left: 4px;
}
html {
overflow-y: scroll;
visibility: visible;
opacity: 1;
2024-06-01 15:45:12 +00:00
}