mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 21:17:37 +03:00
Fix CSS and CSP
This commit is contained in:
parent
a754d42b9e
commit
3594b6d41f
2 changed files with 19 additions and 3 deletions
|
@ -63,6 +63,7 @@ a:not(.post_right):hover {
|
|||
}
|
||||
|
||||
#about {
|
||||
padding-top: 20px;
|
||||
background: #151515;
|
||||
}
|
||||
|
||||
|
@ -268,7 +269,7 @@ small {
|
|||
margin-top: 1em;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
/* border: 2px solid var(--foreground); */
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.comment_left, .comment_right {
|
||||
|
@ -279,7 +280,7 @@ small {
|
|||
.comment_left {
|
||||
text-align: center;
|
||||
min-width: 50px;
|
||||
padding: 5px;
|
||||
padding: 5px 0px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
@ -374,6 +375,21 @@ small {
|
|||
background: black;
|
||||
}
|
||||
|
||||
/* Code */
|
||||
|
||||
pre {
|
||||
background: var(--outside);
|
||||
padding: 20px;
|
||||
margin-top: 10px;
|
||||
border-radius: 5px;
|
||||
box-shadow: var(--black-contrast);
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: monospace;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
|
||||
table {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue