Difference between revisions of "MediaWiki:Common.css"

From Upscale Wiki
Jump to navigation Jump to search
m
m
Line 19: Line 19:
  
 
/* Cookie Warning */
 
/* Cookie Warning */
.mw-cookiewarning-container {
+
.banner-container {
 
     padding: 5px 15px;
 
     padding: 5px 15px;
 
}
 
}
Line 45: Line 45:
 
.mw-cookiewarning-text > span {
 
.mw-cookiewarning-text > span {
 
     display: block;
 
     display: block;
     padding-bottom: 3px;
+
     padding-bottom: 2px;
 
}
 
}
  

Revision as of 22:22, 30 August 2019

/* CSS placed here will be applied to all skins.
Try to keep styles as specific as possible, and comment them where they were originally intended to be used.
Using styles in templates and then using the template is the safest way to use these overrides. */




/* Fonts */
@font-face {
  font-family: "Comic Papyrus";
  src: url("https://upscale.wiki/w/resources/assets/fonts/ComicPapyrus.ttf") format("truetype");
}

body {font-family: "Comic Papyrus", sans-serif}
div#content h1, div#content h2 {font-family: "Comic Papyrus", serif}




/* Cookie Warning */
.banner-container {
    padding: 5px 15px;
}

.mw-cookiewarning-text {
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;

    align-items: center;
    justify-content: center;
}

.mw-cookiewarning-text > form {
    display: block;
}

.mw-cookiewarning-text > span {
    display: block;
    padding-bottom: 2px;
}




/* Template:Error */
.generalErrorText {
    color: #d33;
    font-size: larger;
    font-style: italic;
    font-weight: bold;
}

.generalErrorText a {
    color: #36b;
}