Difference between revisions of "MediaWiki:Common.css"

From Upscale Wiki
Jump to navigation Jump to search
m
m
Line 8: Line 8:
 
/* Fonts */
 
/* Fonts */
 
@font-face {
 
@font-face {
   font-family: ComicPapyrus;
+
   font-family: "Comic Papyrus";
 
   src: url("https://upscale.wiki/w/resources/assets/fonts/ComicPapyrus.ttf") format("truetype");
 
   src: url("https://upscale.wiki/w/resources/assets/fonts/ComicPapyrus.ttf") format("truetype");
 
}
 
}
body {font-family: "ComicPapyrus", sans-serif}
+
body {font-family: "Comic Papyrus", sans-serif}
div#content h1, div#content h2 {font-family: "ComicPapyrus", serif}
+
div#content h1, div#content h2 {font-family: "Comic Papyrus", serif}
  
  
Line 19: Line 19:
 
/* Cookie Warning */
 
/* Cookie Warning */
 
.mw-cookiewarning-text {
 
.mw-cookiewarning-text {
 +
    display: -moz-box;
 +
    display: -ms-flexbox;
 
     display: -webkit-box;
 
     display: -webkit-box;
     display: -ms-flexbox;
+
     display: -webkit-flex;
 
     display: flex;
 
     display: flex;
 +
 
     -webkit-box-orient: vertical;
 
     -webkit-box-orient: vertical;
 
     -webkit-box-direction: normal;
 
     -webkit-box-direction: normal;
 
     -ms-flex-flow: column nowrap;
 
     -ms-flex-flow: column nowrap;
 
     flex-flow: column nowrap;
 
     flex-flow: column nowrap;
 +
 
     align-items: center;
 
     align-items: center;
 
     justify-content: center;
 
     justify-content: center;
 
}
 
}
 
+
.mw-cookiewarning-text > span, .mw-cookiewarning-text > form {
 +
    display: block;
 +
}
  
  

Revision as of 22:11, 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 */
.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 > span, .mw-cookiewarning-text > form {
    display: block;
}



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