CSS Reset
This commit is contained in:
parent
da4e562a06
commit
278f5a8390
4 changed files with 34 additions and 201 deletions
|
@ -1,150 +0,0 @@
|
|||
:root {
|
||||
color-scheme: light dark;
|
||||
color: light-dark(#474747, #b9b9b9);
|
||||
background-color: light-dark(#ebebeb, #252525);
|
||||
font-family: "Open Sans", sans-serif, serif;
|
||||
}
|
||||
|
||||
body, .post {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.header-links {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
font-size: 1.1rem;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
width: 50%;
|
||||
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;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.site-tagline {
|
||||
color: light-dark(#909995, #777777);
|
||||
font-size: 0.9rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.post-body, .post-header, .post-blurbs {
|
||||
width: 66%;
|
||||
display: block;
|
||||
padding-left: 1.5rem;
|
||||
padding-right: 1.5rem;
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
border-radius: 1rem;
|
||||
background-color: light-dark(#ffffff, #181818);
|
||||
/* text-align: justify; */
|
||||
}
|
||||
|
||||
.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;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
text-align: center;
|
||||
color: light-dark(#dd0f9d, #eb6eb7);
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
/* .post-body > p { */
|
||||
/* text-indent: 2ch; */
|
||||
/* } */
|
||||
|
||||
a > span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue