MediaWiki:Common.css: Difference between revisions

From Kirby Speedrunning Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 9: Line 9:


h1.firstHeading {font-family: Delfino; font-size: 32px;}
h1.firstHeading {font-family: Delfino; font-size: 32px;}
/* Remove Header */
body.page-Main_Page h1.firstHeading, body.page-Main_Page_ja h1.firstHeading { display:none; }
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 */
/* Main page game links and containers */

Revision as of 21:52, 25 June 2023


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

/* MAIN PAGE STYLING */

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

/* 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-links-container ul {
 list-style: none;
 margin: 0;
 padding: 0;
 overflow: hidden;
}

.mainpage-links-container li {
 display: inline-block;
 padding: 10px 20px;
 width: 220px;
 vertical-align: middle;
 flex-direction: column-reverse
}

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

.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));
}

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