MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | |||
* ----------------------- | |||
* Tabber | |||
* ----------------------- | |||
*/ | |||
/* Styling for tabbers that have embeds in them */ | /* Styling for tabbers that have embeds in them */ | ||
.sfm-tabber-embeds section { | .sfm-tabber-embeds section { | ||
| Line 6: | Line 11: | ||
} | } | ||
/* | |||
* ----------------------- | |||
* Citizen Skin | |||
* ----------------------- | |||
*/ | |||
/* footer */ | |||
#footer-icons a { | #footer-icons a { | ||
background-color: transparent; | background-color: transparent; | ||
| Line 14: | Line 25: | ||
transition: opacity 250ms ease; | transition: opacity 250ms ease; | ||
} | } | ||
#footer-icons a:hover { | #footer-icons a:hover { | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
#footer-icons img { | #footer-icons img { | ||
height: 32px; | height: 32px; | ||
width: auto; | width: auto; | ||
} | } | ||
#footer-icons ul, #footer-icons li { | #footer-icons ul, #footer-icons li { | ||
column-gap: var(--space-md); | column-gap: var(--space-md); | ||
} | } | ||
/* icon color invert on dark mode */ | |||
:root.skin-theme-clientpref-night #footer-icons a { | :root.skin-theme-clientpref-night #footer-icons a { | ||
filter: invert(0); | filter: invert(0); | ||
} | } | ||
/* footer music staff */ | |||
.sfm-footer__staff { | .sfm-footer__staff { | ||
height: 28px; | height: 28px; | ||
| Line 40: | Line 48: | ||
background-color: var(--border-color-base); | background-color: var(--border-color-base); | ||
} | } | ||
/* hide separating line, music staff takes its place */ | |||
.citizen-footer__bottom { | .citizen-footer__bottom { | ||
border-top: none; | border-top: none; | ||
} | |||
/* | |||
* ----------------------- | |||
* Page Forms | |||
* ----------------------- | |||
*/ | |||
/* multlipage edit fixes */ | |||
.pfSpreadsheet.jexcel_container { | |||
width: 100%; | |||
overflow-x: scroll; | |||
display: flex; | |||
flex-direction: column; | |||
max-height: calc(100svh - 53px); | |||
} | |||
.jexcel_content { | |||
width: 100%; | |||
overflow-x: scroll; | |||
flex: 1; | |||
} | } | ||
Latest revision as of 21:18, 10 November 2025
/* CSS placed here will be applied to all skins */
/*
* -----------------------
* Tabber
* -----------------------
*/
/* Styling for tabbers that have embeds in them */
.sfm-tabber-embeds section {
margin-top: 16px;
}
/*
* -----------------------
* Citizen Skin
* -----------------------
*/
/* footer */
#footer-icons a {
background-color: transparent;
border: none;
padding: 0;
filter: invert(1);
opacity: 0.6;
transition: opacity 250ms ease;
}
#footer-icons a:hover {
opacity: 1;
}
#footer-icons img {
height: 32px;
width: auto;
}
#footer-icons ul, #footer-icons li {
column-gap: var(--space-md);
}
/* icon color invert on dark mode */
:root.skin-theme-clientpref-night #footer-icons a {
filter: invert(0);
}
/* footer music staff */
.sfm-footer__staff {
height: 28px;
background-repeat: repeat-x;
mask-image: url('/sfm/resources/img/music-staff.svg');
-webkit-mask-image: url('/sfm/resources/img/music-staff.svg');
mask-size: contain;
background-color: var(--border-color-base);
}
/* hide separating line, music staff takes its place */
.citizen-footer__bottom {
border-top: none;
}
/*
* -----------------------
* Page Forms
* -----------------------
*/
/* multlipage edit fixes */
.pfSpreadsheet.jexcel_container {
width: 100%;
overflow-x: scroll;
display: flex;
flex-direction: column;
max-height: calc(100svh - 53px);
}
.jexcel_content {
width: 100%;
overflow-x: scroll;
flex: 1;
}