Optimize & Reformat website theme scss

This commit is contained in:
Xevion
2022-03-31 17:02:53 -05:00
parent 9a0c1474c8
commit e209d7b637

View File

@@ -33,7 +33,8 @@ body {
color: white; color: white;
} }
p, table { p,
table {
margin: 0.5em 0; margin: 0.5em 0;
} }
@@ -54,11 +55,13 @@ header span {
letter-spacing: 0; letter-spacing: 0;
} }
aside, blockquote { aside,
blockquote {
margin: 1em 1em 1em 4em; margin: 1em 1em 1em 4em;
} }
aside.references:before, blockquote:before { aside.references:before,
blockquote:before {
display: block; display: block;
float: left; float: left;
margin-left: -4rem; margin-left: -4rem;
@@ -71,17 +74,20 @@ aside.references:before {
font-family: Symbola, serif; font-family: Symbola, serif;
/* OPEN BOOK in text presentation */ /* OPEN BOOK in text presentation */
content: '\1F4D6\FE0E'; content: "\1F4D6\FE0E";
} }
blockquote:before { blockquote:before {
font-size: 4em; font-size: 4em;
margin-top: -1rem; margin-top: -1rem;
content: ''; content: "";
} }
h1, h2, h3, h4 { h1,
h2,
h3,
h4 {
margin-top: 0.5em; margin-top: 0.5em;
} }
@@ -130,7 +136,8 @@ pre {
} }
} }
a, hr { a,
hr {
color: white; color: white;
} }
@@ -138,33 +145,47 @@ hr {
font-size: 1.5em; font-size: 1.5em;
margin: 1rem 0; margin: 1rem 0;
border: none; border: none;
&:before {
display: block;
text-align: center;
content: "❦ ❦ ❦";
}
} }
hr:before { i,
display: block; i *,
text-align: center; em,
content: "❦ ❦ ❦"; em * {
}
i, i *, em, em * {
font-style: italic; font-style: italic;
} }
b, b *, strong, strong * { b,
b *,
strong,
strong * {
font-weight: bold; font-weight: bold;
} }
strong, strong * { strong,
strong * {
font-style: italic; font-style: italic;
} }
ul, ol, dl { ul,
ol,
dl {
margin: 0.5em 0 0.5em 2em; margin: 0.5em 0 0.5em 2em;
} }
ul ul, ul ol, ul dl, ul ul,
ol ul, ol ol, ol dl, ul ol,
dl ul, dl ol, dl dl { ul dl,
ol ul,
ol ol,
ol dl,
dl ul,
dl ol,
dl dl {
margin: 0 0 0 2em; margin: 0 0 0 2em;
list-style: circle outside none; list-style: circle outside none;
} }
@@ -213,20 +234,20 @@ nav a {
padding: 0.25em 0; padding: 0.25em 0;
} }
.post_date a { .post_date {
text-decoration: none; a {
} text-decoration: none;
}
.post_date .date { .date {
font-size: 2em; font-size: 2em;
}
} }
.post_combo { .post_combo {
margin-top: 0.75em; margin-top: 0.75em;
} > h2 {
display: inline;
.post_combo > h2 { }
display: inline;
} }
.post_image { .post_image {
@@ -245,7 +266,8 @@ nav a {
} }
// Show site with proper CSS styling // Show site with proper CSS styling
html, body { html,
body {
visibility: visible !important; visibility: visible !important;
} }
@@ -277,7 +299,8 @@ figcaption {
} }
article { article {
img, video { img,
video {
object-fit: contain; object-fit: contain;
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;