MediaWiki:Common.css: Difference between revisions

From Kirby Speedrunning Wiki
Jump to navigationJump to search
m (Reverted edits by Nippo (talk) to last revision by Grample)
Tag: Rollback
No edit summary
 
(385 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#ca-talk { display:none!important; }
#footer-poweredbyico { display: none; }
#ca-nstab-main { display: none !important; }


@font-face {
  font-family: "Delfino";
  src: url("https://kirbyspeedrun.com/fonts/delfino-webfont.woff2") format("woff"),
      url("https://kirbyspeedrun.com/fonts/delfino-webfont.woff") format("woff2");
}


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


body.page-Main_Page h1.firstHeading { display:none; }
h1.firstHeading {font-family: Delfino; font-size: 34px;}
body.page-Main_Page { background-color: #e6ffb4; }
 
/* Remove Header */
body.page-Main_Page h1.firstHeading, body.page-Main_Page_ja h1.firstHeading { display:none; }
/* The Japanese site is considered a sub-page, so this gets rid of the sub-page button */
body.page-Main_Page_ja #contentSub { display:none; }
 
/* Main page game links and containers */
.mainpage-links-container {
text-align: center;
width: 100%;
line-height: 1.8;
margin-top: 0px;
display: flex;
align-items: center;
justify-content: space-around;
padding: 0;
}


.mainpage-retrocolumn {
/* Styling for the two boxes on top of the game links */
  background-color: #330033;
.header-boxes-container {
  background-image: url("https://kirbyspeedrun.com/images/b/b4/Retrocolumnbg.png");
width: 100%;
  background-size: cover;
  background: none;
  background-position: bottom;
  line-height: 200%;
  color: #ffe6ff;
  text-align: center;
  border: 3px solid #0047b3;
  font-size: 20px;
  display: flex;
  margin: 15px;
}
 
.mainpage-header-boxes {
  width: 100%;
  width: 100%;
  padding: 6px;
  padding: 6px;
margin: 10px;
text-align: left;
}
}


.mainpage-retrocolumn a:link {color: #ff99ff;}
.mainpage-left-box {
.mainpage-retrocolumn a:visited {color: #ff99ff;}
border: 3px solid #e65c00;
.mainpage-retrocolumn a:hover {color: #ff3399;}
background: rgba(194, 166, 105, 0.42);
.mainpage-retrocolumn a:active {color: #9966ff;}
vertical-align: top;
.mainpage-retrocolumn h1 {color: #ff6699}
}


.mainpage-links-container {
.mainpage-right-box {
  text-align: center;
  border: 3px solid #009933;
  line-height: 1.8;
  background: rgba(57, 144, 113, 0.42);
  margin-top: 0px;
  float: right;
  margin-right: 2%;
  margin-right: 40px;
margin-left: 0px;
}
}


/* List styling defaults */
.mainpage-links-container ul {
.mainpage-links-container ul {
  list-style: none;
  list-style: none;
  display: flex;
  margin: 0;
  align-items: stretch;
  padding: 0;
  justify-content: space-between;
  overflow: hidden;
}
}


.mainpage-links-container ul > li{
/* List item styling defaults */
  padding: 3px;
.mainpage-links-container li {
  width: 100%;
display: inline-block;
  padding: 10px 20px;
  width: 220px;
vertical-align: middle;
}
}


.mainpage-links li {margin-top: 30px;}
/* Do not show lists on game main pages */
.game-page-links-container ul {
list-style: none;
}


.mainpage-links img {height: 150px; width: auto;}
/* Logo Shadows */
.mainpage-links img {
height: auto;
width: 200px;
filter: drop-shadow(0px 4px 5px #231F20);
}


/* Logo glow on mouse hover */
.mainpage-links a:hover {
.mainpage-links a:hover {
  color: var(--link-color-hover);
  color: var(--link-color-hover);
  -webkit-filter: drop-shadow(0px 0px 15px rgb(255, 196, 252));
  -webkit-filter: drop-shadow(0px 0px 10px rgb(255, 196, 252));
  filter: drop-shadow(0px 0px 15px rgb(252, 194, 255));
  filter: drop-shadow(0px 0px 10px rgb(252, 194, 255));
}
 
/* Game Main Page Header (game logo and amount of pages) */
.game-main-page-header {
width: 100%;
text-align: center;
font-size: 85%;
line-height: 350%;
}
 
.game-main-page-header img {
width: auto;
height: 350px;
}
 
/* for h3 headers that should not appear in the table of contents */
.h3-no-toc {
font-size: 16px;
font-weight: bold
}
 
/* for links that do not need an external link icon (example is links that link back to kirbyspeedrun.com/wiki) */
.no-external-link-icon a.external {
background-image: none !important;
padding-right: 0px !important;
}
 
/* EXPERIMENTAL: Vertical Align on Wikitable Class */
.table-vertical-top tbody {
vertical-align: top;
}
}

Latest revision as of 02:53, 5 July 2023


@font-face {
  font-family: "Delfino";
  src: url("https://kirbyspeedrun.com/fonts/delfino-webfont.woff2") format("woff"),
       url("https://kirbyspeedrun.com/fonts/delfino-webfont.woff") format("woff2");
}

/* MAIN PAGE STYLING */

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

/* Remove Header */
body.page-Main_Page h1.firstHeading, body.page-Main_Page_ja h1.firstHeading { display:none; }
/* The Japanese site is considered a sub-page, so this gets rid of the sub-page button */
body.page-Main_Page_ja #contentSub { display:none; }

/* Main page game links and containers */
.mainpage-links-container {
 text-align: center;
 width: 100%;
 line-height: 1.8;
 margin-top: 0px;
 display: flex;
 align-items: center;
 justify-content: space-around;
 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 */
.mainpage-links-container ul {
 list-style: none;
 margin: 0;
 padding: 0;
 overflow: hidden;
}

/* List item styling defaults */
.mainpage-links-container li {
 display: inline-block;
 padding: 10px 20px;
 width: 220px;
 vertical-align: middle;
}

/* Do not show lists on game main pages */
.game-page-links-container ul {
 list-style: none;
}

/* Logo Shadows */
.mainpage-links img {
 height: auto;
 width: 200px;
 filter: drop-shadow(0px 4px 5px #231F20);
}

/* Logo glow on mouse hover */
.mainpage-links a:hover {
 color: var(--link-color-hover);
 -webkit-filter: drop-shadow(0px 0px 10px rgb(255, 196, 252));
 filter: drop-shadow(0px 0px 10px rgb(252, 194, 255));
}

/* Game Main Page Header (game logo and amount of pages) */
.game-main-page-header {
 width: 100%;
 text-align: center;
 font-size: 85%;
 line-height: 350%;
}

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

/* for h3 headers that should not appear in the table of contents */
.h3-no-toc {
 font-size: 16px;
 font-weight: bold
}

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

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