MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(34 intermediate revisions by 2 users not shown)
Line 2: Line 2:
@font-face {
@font-face {
   font-family: "Delfino";
   font-family: "Delfino";
   src: url("https://kirbyspeedrun.com/fonts/delfino-webfont.woff2") format("woff2"),
   src: url("https://kirbyspeedrun.com/fonts/delfino-webfont.woff2") format("woff"),
       url("https://kirbyspeedrun.com/fonts/delfino-webfont.woff") format("woff");
       url("https://kirbyspeedrun.com/fonts/delfino-webfont.woff") format("woff2");
}
}


/* MAIN PAGE STYLING */
/* MAIN PAGE STYLING */


h1.firstHeading {font-family: Delfino; font-size: 32px;}
h1.firstHeading {font-family: Delfino; font-size: 34px;}


/* Remove Header */
/* Remove Header */
Line 26: Line 26:
  padding: 0;
  padding: 0;
}
}
/* Styling for the two boxes on top of the game links */
.header-boxes-container {
width: 100%;
background: none;
line-height: 200%;
text-align: center;
font-size: 20px;
display: flex;
margin: 15px;
}
.mainpage-header-boxes {
width: 100%;
padding: 6px;
margin: 10px;
text-align: left;
}
.mainpage-left-box {
border: 3px solid #e65c00;
background: rgba(194, 166, 105, 0.42);
vertical-align: top;
}
.mainpage-right-box {
border: 3px solid #009933;
background: rgba(57, 144, 113, 0.42);
float: right;
margin-right: 40px;
}


/* List styling defaults */
/* List styling defaults */
Line 41: Line 73:
  width: 220px;
  width: 220px;
  vertical-align: middle;
  vertical-align: middle;
  flex-direction: column-reverse
}
 
/* Do not show lists on game main pages */
.game-page-links-container ul {
  list-style: none;
}
}


Line 67: Line 103:


.game-main-page-header img {
.game-main-page-header img {
  width: 30%;
  width: auto;
  height: auto;
  height: 350px;
}
}


Line 78: Line 114:


/* for links that do not need an external link icon (example is links that link back to kirbyspeedrun.com/wiki) */
/* for links that do not need an external link icon (example is links that link back to kirbyspeedrun.com/wiki) */
.no-external-link-icon .mw-parser-output a.external {
.no-external-link-icon a.external {
  background-image: none !important;
background-image: none !important;
  padding-right: 0px !important;
padding-right: 0px !important;
}
}


/* EXPERIMENTAL: Vertical Align on Wikitable Class */
/* EXPERIMENTAL: Vertical Align on Wikitable Class */
.wikitable {
.table-vertical-top tbody {
    vertical-align: top;
vertical-align: top;
}
}