MediaWiki:Timeless.css: Unterschied zwischen den Versionen

Aus MGM Münzlexikon
Zeile 14: Zeile 14:
 
.mw-body-content p {
 
.mw-body-content p {
 
     text-align: justify;
 
     text-align: justify;
 +
}
 +
 +
#publication-header-center p b{
 +
    text-align: center;
 
}
 
}
  

Version vom 1. März 2021, 18:14 Uhr

/* All CSS here will be loaded for users of the Timeless skin */

 @font-face {
    font-family: 'MGMIndexFont';
    src: url('./resources/assets/BellMT.woff2') format('woff2'),
        url('./resources/assets/BellMT.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* center text and text size adjustments */

.mw-body-content p {
    text-align: justify;
}

#publication-header-center p b{
    text-align: center;
}

/* hide Tools below header and above content */

#mw-page-header-links {
    display: none;
}

/* final logo */

.mgm-logo-div br {
    display: none;
}

.mgm-schriftzug {
    padding-bottom: 0.5em;
    font-weight: bold;
    font-size: 12px;
    font-family: MGMIndexFont;
    color: black;
}

.index-schriftzug {
    font-weight: bold;
    font-size: 19px;
    letter-spacing: 0.5px;
    font-family: MGMIndexFont;
    color: black;
}

.mgm-logo-text-div {
    padding-bottom: 5px;
    padding-left: 5px;
    font-size: 20px;
    font-family: MGMIndexFont;
    float: right;
    line-height: 0.5em;
    margin-top: 1em;
}

.mgm-logo-text-div p{
    margin-top: 0em;
    margin-bottom: 0em;
    margin-left: 0em;
    margin-right: 0em;
}

.mgm-logo-svg {
    height: 3.5em;
}

.mgm-logo-div {
    display: flex;
    align-items: flex-end;
    padding-left: 1.5em;
}

/* make the header bigger + new logo */

.mw-wiki-logo {
    background-image: url(/resources/assets/indexwikilogo.png?154e0);
    height: 3.5em !important;
    background-size: contain;
}

#simpleSearch {
    margin-top: 0.75em;
    margin-left: 4em;
    margin-right: 6em;
}

#user-tools {
   margin-top: 0.75em;
   padding-right: 1em;
}


#mw-header-container{
    height: 4.75em;
    padding-bottom: 0.5em;

    border-bottom-width: 0.25em;
    border-bottom-color: #df5e52;
    border-bottom-style: solid;
}

#mw-header{
    display: flex;
    align-item: center;
}


/* the banner */

#mw-header-hack {
    position: absolute;
    background-image: url(/resources/assets/head-numlit.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    vertical-align: center;
    height: 20.2em;
    margin-top:1.5em;
    user-select: none;
}

#mw-content-container {
/* set distance for header */
    margin-top: 24.75em;
}


/* hide page header links 

#mw-page-header-links {
    display: none;
}

*/

/* make the site flex */

html{
    height: 100%;
}

body{
    height: 100%;
}

#mw-wrapper {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between
}



/* minor cosmetic changes */


/*color bars*/
.color-middle-container{
    display:none;
}

.color-middle{
    display:none;
}

.color-left{
    display:none;
}

.color-right{
    display:none;
}


/* Link colours */
a {
	color: #b52114
}

a:hover {
	color: #498fcc;
        text-decoration: underline;
}

a:visited {
	color: #1f29a7;
}

#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;
flex-grow: 1;

}

/* do not display logo in sidebar */
#mw-site-navigation #p-logo { 
	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;
    margin-right: 1em;
  }
  #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; }