website/resources/main.css

151 lines
2.7 KiB
CSS
Raw Normal View History

2025-02-04 03:18:19 -05:00
:root {
2025-02-04 03:32:23 -05:00
color-scheme: light dark;
color: light-dark(#474747, #b9b9b9);
background-color: light-dark(#ebebeb, #252525);
2025-02-04 04:17:34 -05:00
font-family: "Open Sans", sans-serif, serif;
2025-02-04 03:18:19 -05:00
}
body, .post {
2025-02-04 03:18:19 -05:00
display: flex;
align-items: center;
justify-content: center;
2025-02-04 21:39:47 -05:00
flex-direction: column;
gap: 1rem;
}
2025-02-05 00:26:12 -05:00
.header-links {
display: flex;
flex-direction: row;
align-items: center;
gap: 1rem;
font-size: 1.1rem;
flex-wrap: wrap;
margin-top: 0.5rem;
}
2025-02-04 21:39:47 -05:00
.site-header {
2025-02-04 23:43:42 -05:00
width: 50%;
2025-02-04 21:39:47 -05:00
display: block;
padding: 1rem;
border-radius: 1rem;
background-color: light-dark(#ffffff, #181818);
display: flex;
align-items: center;
flex-direction: column;
}
.site-logo {
color: light-dark(#d6000c, #ed4a46);
font-size: 2.5rem;
2025-02-04 22:07:59 -05:00
font-weight: bold;
2025-02-04 21:39:47 -05:00
}
.site-tagline {
2025-02-04 22:07:59 -05:00
color: light-dark(#909995, #777777);
font-size: 0.9rem;
font-style: italic;
2025-02-04 03:18:19 -05:00
}
2025-02-05 03:26:39 -05:00
.post-body, .post-header, .post-blurbs {
2025-02-04 03:32:23 -05:00
width: 66%;
display: block;
padding-left: 1.5rem;
padding-right: 1.5rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
2025-02-04 04:17:34 -05:00
border-radius: 1rem;
2025-02-04 03:32:23 -05:00
background-color: light-dark(#ffffff, #181818);
2025-02-04 15:57:53 -05:00
/* text-align: justify; */
2025-02-04 03:32:23 -05:00
}
2025-02-05 03:26:39 -05:00
.post-blurbs {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 1rem;
}
.post-blurb {
width: 100%;
display: block;
border-radius: 1rem;
padding: 0.5rem;
background-color: light-dark(#ebebeb, #252525);
/* background-color: light-dark(#cdcdcd, #3b3b3b); */
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
/* gap: 0.25rem; */
}
.post-header {
padding: 1.5rem;
display: flex;
flex-direction: column;
align-items: center;
2025-02-04 23:43:42 -05:00
gap: 0.5rem;
}
.post-title {
2025-02-04 03:32:23 -05:00
text-align: center;
2025-02-04 04:17:34 -05:00
color: light-dark(#dd0f9d, #eb6eb7);
2025-02-04 03:32:23 -05:00
}
2025-02-05 03:26:39 -05:00
.post-blurbs > h1 {
color: light-dark(#1d9700, #70b433);
}
a:link {
color: light-dark(#009c8f, #41c7b9);
}
a:visited {
color: light-dark(#dd0f9d, #eb6eb7);
}
.post-title > h1, .post-blurb-title > h2 {
margin-top: 0px;
margin-bottom: 0px;
}
2025-02-04 23:43:42 -05:00
.post-info {
display: flex;
flex-direction: row;
align-items: center;
gap: 1rem;
color: light-dark(#909995, #777777);
font-size: 0.9rem;
flex-wrap: wrap;
}
.post-read-time {
text-decoration: underline dotted;
}
2025-02-04 04:17:34 -05:00
.post-body > h2 {
text-align: center;
color: light-dark(#282828, #dedede);
}
.post-body > h3 {
text-align: center;
color: light-dark(#282828, #dedede);
}
.post-body > h4 {
text-align: center;
color: light-dark(#282828, #dedede);
}
2025-02-04 23:43:42 -05:00
/* .post-body > p { */
/* text-indent: 2ch; */
/* } */
2025-02-05 00:26:12 -05:00
a > span {
text-decoration: underline;
}
a {
text-decoration: none;
}