Article content element styles

This commit is contained in:
Shadowfacts 2025-01-12 16:34:15 -05:00
parent 4601874c64
commit de9291cd50
2 changed files with 43 additions and 1 deletions

View File

@ -77,6 +77,48 @@ blockquote {
} }
} }
img {
display: block;
margin: 0 auto;
max-width: 100%;
}
figure {
margin: 0;
figcaption {
margin-top: 4px;
font-size: 1.1rem;
font-style: italic;
color: var(--secondary-text-color);
text-align: center;
}
}
table {
width: 100%;
border-collapse: collapse;
border: 1px solid var(--secondary-text-color);
tr,
th,
td {
border: 1px solid var(--secondary-text-color);
}
td,
th {
padding: 0 0.5em;
text-align: left;
}
thead > tr,
tbody > tr:nth-child(even) {
// darkened solarized base2
background: darken(#eee8d5, 5%);
}
}
html { html {
font-family: "Valkyrie A", Charter, serif; font-family: "Valkyrie A", Charter, serif;
font-size: 16px; font-size: 16px;

View File

@ -19,7 +19,7 @@
padding: 0.5em; padding: 0.5em;
color: var(--solarized-base01); color: var(--solarized-base01);
// darkened base2 // darkened base2
background: darken(#eee8d5, 4%); background: darken(#eee8d5, 5%);
} }
.highlight > code { .highlight > code {