blogng/css/theme.css

258 lines
4.2 KiB
CSS
Raw Normal View History

2019-08-02 20:20:23 +00:00
html {
background-color: #fefefe;
2019-08-03 13:56:12 +00:00
}
.header {
display: grid;
2019-08-03 16:16:25 +00:00
grid-template-columns: 70% 30%;
2019-08-03 13:56:12 +00:00
grid-template-rows: auto;
font-family: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans",
source-sans-pro, sans-serif;
2019-08-03 16:16:25 +00:00
font-weight: 500;
font-size: 10pt;
2019-08-03 13:56:12 +00:00
}
#title {
grid-column-start: 1;
2024-01-21 14:57:31 +00:00
font-size: 18pt;
2020-04-07 10:42:13 +00:00
font-style: bold;
2019-08-03 16:16:25 +00:00
text-align: left;
2019-08-03 13:56:12 +00:00
}
2019-08-03 16:16:25 +00:00
#nav {
2019-08-03 13:56:12 +00:00
grid-column-start: 2;
2019-08-03 16:16:25 +00:00
text-align: right;
2024-01-21 14:57:31 +00:00
font-size: 18pt;
2019-08-03 16:16:25 +00:00
font-variant: small-caps;
word-spacing: 110%;
2019-08-02 20:20:23 +00:00
}
body {
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2019-08-03 16:16:25 +00:00
font-weight: 400;
2019-08-03 13:56:12 +00:00
color: #454545;
margin: 2em auto;
2020-04-07 10:42:13 +00:00
max-width: 1000px;
2019-08-03 13:56:12 +00:00
padding: 1em;
text-align: left;
2024-01-21 14:57:31 +00:00
font-size: 14pt;
2019-08-02 20:20:23 +00:00
}
a:hover {
color: #F4F4F4;
background-color: #AD2831;
text-decoration: none;
}
2024-01-21 14:57:31 +00:00
blockquote {
--tw-bg-opacity: 1;
background-color: rgb(226 232 240 / var(--tw-bg-opacity));
}
.dark blockquote {
--tw-bg-opacity: 1;
background-color: rgb(51 65 85 / var(--tw-bg-opacity));
}
blockquote {
margin-top: 2rem;
margin-bottom: 2rem;
}
@media (min-width: 640px) {
blockquote {
margin-left: 0px;
margin-right: 0px;
}
}
@media (min-width: 768px) {
blockquote {
margin-left: 1rem;
margin-right: 1rem;
}
}
2024-01-21 14:57:31 +00:00
@media (min-width: 1024px) {
blockquote {
margin-left: 2rem;
margin-right: 2rem;
}
}
blockquote {
2024-01-21 14:57:31 +00:00
padding-top: 0.5rem;
padding-bottom: 0.5rem;
border-left-width: 4px;
--tw-border-opacity: 1;
border-color: rgb(148 163 184 / var(--tw-border-opacity));
padding-left: 1rem;
padding-right: 0.5rem;
font-style: italic;
font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
// font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
// font-size: 1.125rem;
// line-height: 1.75rem;
}
blockquote::after {
--tw-content: close-quote;
content: var(--tw-content);
font-size: 3rem;
line-height: 1;
}
blockquote::before {
font-size: 3rem;
line-height: 1;
content: var(--tw-content);
--tw-text-opacity: 1;
color: rgb(148 163 184 / var(--tw-text-opacity));
}
blockquote::after {
--tw-text-opacity: 1;
color: rgb(148 163 184 / var(--tw-text-opacity));
content: var(--tw-content);
line-height: .1em;
}
blockquote::before {
line-height: .1em;
content: var(--tw-content);
margin-right: 0.25rem;
}
blockquote::after {
margin-right: 0.25rem;
content: var(--tw-content);
vertical-align: -.4em;
}
blockquote::before {
vertical-align: -.4em;
--tw-content: open-quote;
content: var(--tw-content);
}
blockquote p {
display: inline;
}
2024-01-21 14:57:31 +00:00
video,
code {
font-weight: normal;
max-width: 98%;
margin: 3em auto;
font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo,
Consolas, "DejaVu Sans Mono", monospace;
2019-08-02 20:20:23 +00:00
}
2019-08-03 13:56:12 +00:00
img {
2019-08-02 20:20:23 +00:00
max-width: 100%;
2019-08-03 13:56:12 +00:00
margin: 0px;
2024-02-11 21:19:54 +00:00
height: auto;
2019-08-03 13:56:12 +00:00
}
figure {
margin: 2em;
}
figcaption {
2020-04-07 10:42:13 +00:00
font-size: 15pt;
2019-08-03 13:56:12 +00:00
text-align: center;
font-family: serif;
}
.postmeta {
display: inline-grid;
grid-template-columns: auto auto;
grid-template-rows: auto;
2020-04-07 10:42:13 +00:00
font-size: 14pt;
2019-08-03 13:56:12 +00:00
}
#date {
font-weight: bold;
}
#tags:before {
content: "—";
margin: 1px;
}
h1 {
font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
2024-01-21 14:57:31 +00:00
font-size: 34pt;
2020-04-07 10:42:13 +00:00
font-weight: bold;
2019-08-03 13:56:12 +00:00
}
h2 {
font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
2020-04-07 10:42:13 +00:00
font-size: 22pt;
2019-08-03 13:56:12 +00:00
margin-top: 1.5em;
font-weight: bold;
}
h3 {
2020-04-07 10:42:13 +00:00
font-size: 20pt;
2019-08-03 13:56:12 +00:00
}
ul.posts {
list-style-type: none;
padding: 0;
}
li.post {
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 3px solid black;
}
article > ul {
padding-left: 0;
}
2020-04-07 10:42:13 +00:00
article > ul > li {
list-style: none;
2020-04-07 10:42:13 +00:00
font-size: 22pt;
padding-top: 22pt;
}
2020-04-07 10:42:13 +00:00
section > ul > li {
padding-top: 22pt;
}
#footerdiv {
margin-top: 50px;
}
2019-08-03 13:56:12 +00:00
footer {
margin-top: 10px;
2019-08-03 13:56:12 +00:00
text-align: center;
2019-08-02 20:20:23 +00:00
}
a {
color: #454545;
font-weight: bold;
}
2020-04-07 10:42:13 +00:00
h1 > a {
color: #AD2831;
text-decoration: none;
}
sup > a {
color: #454545;
font-weight: 430;
text-decoration-color: #808080;
vertical-align: super;
}
code {
background-color: #ddd;
}