MediaWiki:Common.css: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
} |
} |
||
/* spoiler warning */ |
|||
#siteSub { |
|||
display: block; |
|||
width: 50%; |
|||
padding: 0.35em 0; |
|||
margin: auto; |
|||
position: sticky; |
|||
top: -1px; |
|||
background-color: #F79BAF; |
|||
font-weight: bold; |
|||
text-align: center; |
|||
border: 1px solid darkred; |
|||
z-index: 14; |
|||
} |
|||
#siteSub::before { |
|||
content: 'This wiki contains '; |
|||
font-weight: normal; |
|||
} |
|||
#siteSub::after { |
|||
content:'. Read at your own risk.'; |
|||
font-weight: normal; |
|||
} |
|||
#siteSub.stuck{ |
|||
border-top:0px; |
|||
border-bottom-left-radius : 28px; |
|||
border-bottom-right-radius: 28px; |
|||
transition: border-radius 0.5s ease, border-width 0.5s ease; |
|||
} |
|||