NSFW Support

This commit is contained in:
spikecodes 2020-12-22 18:29:43 -08:00
parent 3516404a5f
commit 0957f2e339
7 changed files with 36 additions and 22 deletions

View file

@ -48,6 +48,7 @@ main {
footer {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
button {
@ -199,6 +200,21 @@ a:not(.post_right):hover {
padding: 5px;
}
.post_score {
margin-top: 20px;
color: var(--accent);
}
.nsfw {
color: #FF5C5D;
margin-top: 20px;
border: 1px solid #FF5C5D;
padding: 5px;
font-size: 12px;
border-radius: 5px;
font-weight: bold;
}
.post_subreddit {
font-weight: bold;
}
@ -207,11 +223,6 @@ a:not(.post_right):hover {
font-size: 18px;
}
.post_score {
margin-top: 20px;
color: var(--accent);
}
.post_right {
padding: 20px 25px;
flex-grow: 1;