MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 62: | Line 62: | ||
color: var(--color-base--emphasized); | color: var(--color-base--emphasized); | ||
font-size: 1rem; | font-size: 1rem; | ||
} | |||
/* LinkBar CSS */ | |||
.hbmenu { | |||
list-style: none; | |||
text-align: center; | |||
margin: auto !important; | |||
} | |||
.hbmenu > li { | |||
display: inline-flex; | |||
border: 1px solid #94c0d4; | |||
text-align: center; | |||
background: #c8dce5; | |||
padding: 10px; | |||
font-weight: bold; | |||
margin-right: -2px; | |||
} | |||
/* mobile Sections */ | |||
@media(max-width:719px) { | |||
body.mediawiki .mw-parser-output .infobox { | |||
float:none; | |||
clear:both; | |||
width:100%; | |||
margin:0 0 .5em 0 | |||
} | |||
.mw-content-ltr ul { | |||
margin: 15px; | |||
} | |||
} | } | ||
Revision as of 11:56, 18 November 2022
/* All CSS here will be loaded for users of the Citizen skin */
:root {
--width-layout: 1800px;
}
table#toc {
display:none;
}
div.gallerytext {
color: none !important;
font-size: inherit !important;
font-style: normal !important;
}
div.gallerytext > pre {
margin-top: -20px !important;
margin-bottom: 2px !important;
font-size: 13px !important;
font-family: inherit;
color: gray;
border: none;
background: none;
}
/* Infobox section */
table.infobox {
margin-left: 1.4rem;
clear: right;
float: right;
z-index: 3!important;
overflow: hidden;
width: 300px;
padding: 5px;
max-width: 100%;
margin-bottom: 1.6rem;
padding-bottom: 20px!important;
background: var(--color-surface-2);
border-radius: var(--border-radius--medium);
border-spacing: 0;
box-shadow: var(--box-shadow-card);
font-size: 0.875rem;
}
th.infobox-title{
padding-top: 10px;
width: 100%;
margin-top: 20px;
margin-bottom: 5px;
color: var(--color-base--emphasized);
font-size: 1.4rem;
line-height: 1.4;
}
th.infobox-header{
width: 100%;
padding-top: 15px;
border-top: 1px solid;
border-color: var(--border-color-base);
margin-top: 15px;
color: var(--color-base--emphasized);
font-size: 1rem;
}
/* LinkBar CSS */
.hbmenu {
list-style: none;
text-align: center;
margin: auto !important;
}
.hbmenu > li {
display: inline-flex;
border: 1px solid #94c0d4;
text-align: center;
background: #c8dce5;
padding: 10px;
font-weight: bold;
margin-right: -2px;
}
/* mobile Sections */
@media(max-width:719px) {
body.mediawiki .mw-parser-output .infobox {
float:none;
clear:both;
width:100%;
margin:0 0 .5em 0
}
.mw-content-ltr ul {
margin: 15px;
}
}