MediaWiki:Vector.css: Difference between revisions
MediaWiki interface page
More actions
infobox |
No edit summary |
||
| Line 53: | Line 53: | ||
table.infobox>tbody { | table.infobox>tbody { | ||
text-align: center; | text-align: center; | ||
} | |||
/* all */ | |||
html, body { | |||
font-family: sans-serif; | |||
} | } | ||
Revision as of 03:24, 2 April 2023
/* All CSS here will be loaded for users of the Vector skin */
/* Infobox section */
@media screen and (max-width: 720px) {
table.infobox {
display: inline-table !important;
}
}
.citizen-body ul {
margin: 0.5rem 0 0.5rem 1.5rem;
}
table.infobox {
margin-left: 1.4rem;
clear: right;
float: right;
z-index: 3!important;
overflow: hidden;
width: 320px;
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;
border: 1px solid #62626226;
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-color: var(--border-color-base);
margin-top: 15px;
color: var(--color-base--emphasized);
font-size: 1rem;
}
table.infobox>tbody {
text-align: center;
}
/* all */
html, body {
font-family: sans-serif;
}