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

214 lines
2.8 KiB
CSS
Raw Normal View History

html {
overflow-y: scroll;
visibility: visible;
opacity: 1;
}
2024-05-12 16:51:30 +00:00
a,
2024-05-09 00:50:54 +00:00
a:link {
2024-06-26 00:40:46 +00:00
text-decoration: none;
color: #ace;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
a:hover {
2024-06-26 00:40:46 +00:00
background: #2b5278;
text-decoration: underline dotted;
border: 1px solid;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
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-06-26 00:40:46 +00:00
color: #fff;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-12 16:51:30 +00:00
body {
2024-06-26 00:40:46 +00:00
background: #10151a;
color: #d3dae3;
font: 1em/1.5 sans-serif;
margin: 2em auto;
max-width: 50em;
padding: 0 2em;
2024-05-12 16:51:30 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
h2,
main h1 {
2024-06-26 00:40:46 +00:00
text-align: center;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
h1 {
2024-06-26 00:40:46 +00:00
font-size: 2em;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
h2 {
2024-06-26 00:40:46 +00:00
font-size: 1.75em;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
h3 {
2024-06-26 00:40:46 +00:00
font-size: 1.5em;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
article,
main {
2024-06-26 00:40:46 +00:00
padding: 4px 2px;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
blockquote {
2024-06-26 00:40:46 +00:00
padding: 0.25em 1.5em;
background: #ddd;
color: #000;
border-radius: 4px;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
code {
2024-06-26 00:40:46 +00:00
background: #000;
font: 1em/1.5 monospace, monospace;
padding: 2px;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
img[src$='#center'] {
2024-06-26 00:40:46 +00:00
display: block;
margin-left: auto;
margin-right: auto;
2024-05-09 00:50:54 +00:00
}
2024-05-09 00:50:54 +00:00
.center {
2024-06-26 00:40:46 +00:00
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
.post-title {
2024-06-26 00:40:46 +00:00
line-height: 1.8;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
.subtitle {
2024-06-26 00:40:46 +00:00
float: right;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
2024-05-09 00:50:54 +00:00
a.link-000 {
background: transparent;
2024-06-26 00:40:46 +00:00
border: none;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
.nextcloud {
width: 50px;
height: 30px;
position: relative;
top: 8px;
background-size: contain;
display: inline-block;
background-repeat: no-repeat;
background-position: center center;
}
2024-06-26 00:40:46 +00:00
a.link-nextcloud {
padding: 10px;
background-color: #0082c9;
color: #fff;
border-radius: 3px;
padding-left: 4px;
2024-05-09 00:50:54 +00:00
}
2024-06-26 00:40:46 +00:00
.letterboxd {
display: inline-block;
width: 1em;
margin-right: 0.25em;
vertical-align: middle;
2024-06-26 00:40:46 +00:00
}
a.link-letterboxd {
padding: 0.5em;
background-color: #202830;
border-radius: 3px;
padding-left: 0.25em;
}
.linkedin {
2024-06-26 00:40:46 +00:00
display: inline-block;
width: 1em;
margin-right: 0.25em;
vertical-align: middle;
}
a.link-linkedin {
padding: 0.5em;
background-color: #0077b5;
border-radius: 3px;
margin-right: 0.5em;
padding-left: 0.25em;
color: #fff;
}
.btn {
display: block;
margin: 0.5em auto;
padding: 0.5em;
border: none;
border-radius: 3px;
background-color: #e36d25;
color: #000;
cursor: pointer;
width: fit-content;
}
.btn:hover {
background-color: #d15d27;
}
a.btn:hover {
text-decoration: none;
border: none;
}
a.btn:link,
a.btn:visited {
color: #000;
}
a.link-letterboxd:link,
a.link-letterboxd:visited,
a.link-linkedin:link,
a.link-linkedin:visited {
color: #fff;
}
/* Light theme */
@media (prefers-color-scheme: light) {
body {
background: #f2f2f2;
color: #000;
}
header a:link,
header a:visited,
footer a:link,
footer a:visited,
aside a:link {
color: #000;
}
a:hover {
background: #cae6ef;
text-decoration: underline dotted;
border: 1px solid;
}
.p-note a:visited,
2024-06-26 00:40:46 +00:00
main a:link {
color: #004962;
}
.p-note a:visited,
2024-06-26 00:40:46 +00:00
main a:visited,
aside a:visited {
color: #542baa;
}
code {
background: #ccc;
color: #000;
font: 1em/1.5 monospace, monospace;
padding: 2px;
}
2024-06-01 15:45:12 +00:00
}