At his whim, content warnings

This commit is contained in:
Madison Scott-Clary
2018-01-26 21:25:58 -08:00
parent f2f2b040ad
commit b566e9c2f1
3 changed files with 232 additions and 4 deletions

View File

@ -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;