JOL/assets/css/post.css

107 lines
1.7 KiB
CSS
Raw Permalink Normal View History

@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-inline, .post .post-meta {
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-inline, .post .post-tags {
margin-bottom: 20px;
font-size: 1rem;
opacity: 0.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;
}