Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
backdrop-filter: blur(10px); | backdrop-filter: blur(10px); | ||
-webkit-backdrop-filter: blur(10px); | -webkit-backdrop-filter: blur(10px); | ||
margin | margin: 5% 0; | ||
padding-left: 1em; | padding-left: 1em; | ||
padding-right: 1em; | padding-right: 1em; | ||
| Line 26: | Line 23: | ||
} | } | ||
.mw-body-content { | .mw-body-content { | ||
padding-left: 1em; | padding-left: 1em; | ||
padding-right: 1em; | padding-right: 1em; | ||
Revision as of 14:28, 29 January 2026
/* All CSS here will be loaded for users of the Citizen skin */
/* To make images responsive */
.res-img img {
max-width: 25vw;
height: auto;
}
.mw-special-Search label[for="mw-search-ns3"] {
display:none;
}
@media screen {
.citizen-body {
border-radius: 20px;
box-shadow: 40px 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
margin: 5% 0;
padding-left: 1em;
padding-right: 1em;
padding-bottom: 1em;
}
.mw-body-content {
padding-left: 1em;
padding-right: 1em;
}
}
.mw-body::before {
content: "";
position: absolute;
pointer-events: none;
inset: 0;
background-repeat: no-repeat;
background-size: cover;
background-position: center top;
opacity: 0.75;
/* Fade at bottom */
-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 100%);
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: cover;
-webkit-mask-position: center top;
}