MediaWiki:Common.css: Difference between revisions

From Kirby Speedrunning Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 12: Line 12:
body.page-Main_Page {
body.page-Main_Page {
  background-color: #e6ffb4;
  background-color: #e6ffb4;
  background-image: url("https://external-preview.redd.it/YIIrHnIi8LBPopdmRuVr7_Ax6XZaszV9JXPxB13CMhQ.png");
  background-image: url("https://milkyway.ocremix.org/images/body.jpg");
  background-repeat: no-repeat;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-attachment: fixed;

Revision as of 21:38, 30 May 2023


/* CUSTOM LOGOS */

.ns-3024 #p-logo a, .ns-3025 #p-logo a { background-image: url(https://kirbyspeedrun.com/w/resources/assets/greenphan.png) !important; }
.ns-3004 #p-logo a, .ns-3005 #p-logo a { background-image: url(https://cdn.discordapp.com/attachments/1106766444508749845/1112967677707812864/4.png) !important; }
.ns-3048 #p-logo a, .ns-3049 #p-logo a { background-image: url(https://cdn.discordapp.com/attachments/702306084391616542/1112963469017370655/guymouth.png) !important; }

/* MAIN PAGE STYLING */

body.page-Main_Page h1.firstHeading { display:none; }

body.page-Main_Page {
 background-color: #e6ffb4;
 background-image: url("https://milkyway.ocremix.org/images/body.jpg");
 background-repeat: no-repeat;
 background-attachment: fixed;
 background-size: cover;
}

body.page-Main_Page #content {
 background: rgba(24, 13, 26, 0.87);
 border-width: 3px;
 border-style: solid;
 border-color: rgb(151, 59, 255);
 -moz-border-radius-topleft: 1em;
 -moz-border-radius-bottomleft: 1em;
 -webkit-border-top-left-radius: 1em;
 -webkit-border-bottom-left-radius: 1em;
 border-top-left-radius: 1em;
 border-bottom-left-radius: 1em;
 khtml-border-top-left-radius: 1em;
 khtml-border-bottom-left-radius: 1em;
 -icab-border-top-left-radius: 1em;
 -icab-border-bottom-left-radius: 1em;
}

/*Retro Column*/
.mainpage-retrocolumn {
 background-color: #330033;
 background-image: url("https://kirbyspeedrun.com/w/images/b/b4/Retrocolumnbg.png");
 background-size: cover;
 background-position: bottom;
 color: #ffe6ff;
 border: 3px solid #0047b3;
 width: 100%;
 padding: 6px;
}

/*.mainpage-retrocolumn a:link {color: #ff99ff;}
.mainpage-retrocolumn a:visited {color: #ff99ff;}
.mainpage-retrocolumn a:hover {color: #ff3399;}
.mainpage-retrocolumn a:active {color: #9966ff;}
.mainpage-retrocolumn h1 {color: #ff6699}*/

/*GBA-DS and Modern Columns should go here*/
.mainpage-pinklink a:link {color: #ff99ff;}
.mainpage-pinklink a:visited {color: #ff99ff;}
.mainpage-pinklink a:hover {color: #ff3399;}
.mainpage-pinklink a:active {color: #9966ff;}

/*Links*/
.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: text-top;
}

.mainpage-links img {
 height: 150px;
 width: auto;
}

.mainpage-links a:hover {
 color: var(--link-color-hover);
 -webkit-filter: drop-shadow(0px 0px 15px rgb(255, 196, 252));
 filter: drop-shadow(0px 0px 15px rgb(252, 194, 255));
}