At his whim, content warnings
This commit is contained in:
@ -35,6 +35,32 @@
|
||||
border-top-right-radius: 20px;
|
||||
}
|
||||
|
||||
.cw {
|
||||
display: block;
|
||||
color: #300;
|
||||
background-color: #fcc;
|
||||
border: 2px solid #a66;
|
||||
border-radius: 2px;
|
||||
padding: 1rem;
|
||||
position: relative;
|
||||
margin-bottom: 5rem;
|
||||
|
||||
&::before {
|
||||
content: "Content Warning";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: -3.15rem;
|
||||
left: -0.14rem;
|
||||
font-weight: bold;
|
||||
color: #300;
|
||||
background-color: #fcc;
|
||||
border: 2px solid #a66;
|
||||
border-radius: 2px;
|
||||
border-bottom: none;
|
||||
padding: 0.5rem
|
||||
}
|
||||
}
|
||||
|
||||
& > p {
|
||||
margin: 0;
|
||||
text-indent: 2em;
|
||||
|
||||
Reference in New Issue
Block a user