JOL/assets/css/sass/post.css
Jessica Canady 1bf44f3344
MEGACOMMIT: Ton of blog and layout work.
Mostly reimplementing the old Zola theme.
2024-07-30 11:46:47 -04:00

80 lines
1.8 KiB
CSS

@charset "UTF-8";
.posts {
width: 100%;
margin: 0 auto; }
.post {
width: 100%;
text-align: left;
margin: 20px auto;
padding: 20px 0; }
@media (max-width: 899px) {
.post {
max-width: 660px; } }
.post:not(:last-of-type) {
border-bottom: 1px solid var(--border-color); }
.post .post-meta, .post .post-meta-inline {
font-size: 1rem;
margin-bottom: 10px;
color: var(--accent-alpha-70); }
.post-meta-inline {
display: inline; }
.post-title {
--border: 2px dashed var(--accent);
position: relative;
color: var(--accent);
margin: 0 0 15px;
padding-bottom: 15px;
border-bottom: var(--border);
font-weight: normal; }
.post-title a {
text-decoration: none; }
.post .post-tags, .post .post-tags-inline {
margin-bottom: 20px;
font-size: 1rem;
opacity: .5; }
.post-tags {
display: block; }
.post-tags-inline {
display: inline; }
@media (max-width: 683px) {
.post-tags-inline {
display: block; } }
.post-content {
margin-top: 30px; }
.post-cover {
border: 20px solid var(--accent);
background: transparent;
margin: 40px 0;
padding: 20px; }
@media (max-width: 683px) {
.post-cover {
padding: 10px;
border-width: 10px; } }
.post ul {
list-style: none; }
.post ul li:before {
content: '►';
position: absolute;
left: -20px;
color: var(--accent); }
.post--regulation h1 {
justify-content: center; }
.post--regulation h2 {
justify-content: center;
margin-bottom: 10px; }
.post--regulation h2 + h2 {
margin-top: -10px;
margin-bottom: 20px; }
.post-list .post-date {
color: var(--accent);
text-decoration: none; }
.post-list a {
text-decoration: none; }
.post-list .post-list-title {
text-decoration: underline; }
.post-list .post-tag {
text-decoration: underline; }