mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-25 11:22:26 +00:00
NSFW Support
This commit is contained in:
parent
3516404a5f
commit
0957f2e339
7 changed files with 36 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue