MediaWiki:Timeless.css: Unterschied zwischen den Versionen
Aus MGM Münzlexikon
| Zeile 1: | Zeile 1: | ||
/* All CSS here will be loaded for users of the Timeless skin */ | /* All CSS here will be loaded for users of the Timeless skin */ | ||
| + | |||
| + | /* make the site flex */ | ||
| + | |||
| + | .mediawiki { | ||
| + | height: 100%; | ||
| + | } | ||
| + | |||
| + | #mw-wrapper { | ||
| + | display: flex; | ||
| + | height: 100%; | ||
| + | flex-direction: column; | ||
| + | justify-content: space-between | ||
| + | } | ||
| + | |||
| + | #mw-content-container { | ||
| + | height: 100%; | ||
| + | } | ||
| + | |||
| + | |||
| + | /* minor cosmetic changes */ | ||
a { | a { | ||
| Zeile 83: | Zeile 103: | ||
padding: 0 1em 0 0; | padding: 0 1em 0 0; | ||
} | } | ||
| + | |||
| + | /* here also adjustments for missing top margin in default skin */ | ||
div.color-middle { | div.color-middle { | ||
margin-right: 0; | margin-right: 0; | ||
Version vom 22. Februar 2021, 09:42 Uhr
/* All CSS here will be loaded for users of the Timeless skin */
/* make the site flex */
.mediawiki {
height: 100%;
}
#mw-wrapper {
display: flex;
height: 100%;
flex-direction: column;
justify-content: space-between
}
#mw-content-container {
height: 100%;
}
/* minor cosmetic changes */
a {
color: #df5e52;
}
a:hover {
color: #498fcc;
}
a:visited {
color: #f03959;
}
#firstHeading {
border-bottom: solid 3px #91969e;
}
#ca-nstab-mediawiki {
border-bottom: solid 2px #91969e;
}
#mw-content-container {
background-color: #ffffff;
background-image: none;
border-bottom: none;
}
/* do not display logo in sidebar */
#mw-site-navigation #p-logo {
display: none;
}
#mw-header-hack {
display:none;
}
.visual-clear {
display:none;
}
/* logo settings*/
.mw-wiki-logo.fallback {
content: '';
width: 11em;
height: 39px;
background-repeat: no-repeat;
background-position: center center;
}
.mw-wiki-logo {
display: block;
margin-top: auto;
margin-right: auto;
margin-bottom: auto;
margin-left: auto;
}
/* One-sided navigation menu */
/* currently not displayed:*/
#mw-related-navigation{
display:none;
}
@media (min-width: 1340px) {
#mw-content-block {
display: block;
}
#mw-content,
#content-bottom-stuff {
margin-left: 14em;
}
#mw-content-wrapper {
float: right;
margin-left: -14em;
width: 100%;
}
#mw-related-navigation {
width: 14em;
padding: 0 1em 0 0;
}
/* here also adjustments for missing top margin in default skin */
div.color-middle {
margin-right: 0;
}
#mw-content-block{
padding-top: 1em;
}
#mw-site-navigation .sidebar-chunk {
margin-top: 0;
margin-bottom: 1em;
}
}
/* Align top colour bar with page columns */
.ts-inner {
padding: 0 0 0 1em;
}
/* Re-aligning bottom logos */
#footer { padding-right: 1em; }





