MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 72: | Line 72: | ||
.hbmenu > li { | .hbmenu > li { | ||
display: inline-flex; | display: inline-flex; | ||
border: 1px solid #94c0d4; | border: 1px solid #94c0d4; | ||
text-align: center; | text-align: center; | ||
background: | background: var(--color-primary); | ||
padding: 10px; | padding: 10px; | ||
font-weight: bold; | font-weight: bold; | ||
margin-right: -2px; | margin-right: -2px; | ||
border-radius: 8px; | |||
box-shadow: 0 3px 6px rgb(0 0 0 / 4%), 0 3px 6px rgb(0 0 0 / 6%); | |||
} | |||
.hbmenu > li > a { | |||
color: #fff; | |||
} | } | ||
Revision as of 12:14, 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: var(--color-primary);
padding: 10px;
font-weight: bold;
margin-right: -2px;
border-radius: 8px;
box-shadow: 0 3px 6px rgb(0 0 0 / 4%), 0 3px 6px rgb(0 0 0 / 6%);
}
.hbmenu > li > a {
color: #fff;
}
/* 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;
}
}