MediaWiki:Common.css: Difference between revisions

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


/*Sidebar*/
/*Sidebar*/
.portlet#p-navigation .pBody, .portlet#p-search .pBody, .portlet#p-tb .pBody {
.portlet#p-navigation .pBody, .portlet#p-search .pBody, .portlet#p-tb .pBody, .portlet#p-cactions .pBody {
     background-color: rgba(24, 13, 26, 0.87);
     background-color: rgba(24, 13, 26, 0.87);
     border: 2px solid #1034A6;
     border: 2px solid #1034A6;

Revision as of 19:58, 31 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 {
 color: white;
 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 {
 color: white;
 background: rgba(24, 13, 26, 0.87);
 border-width: 3px;
 border-style: solid;
 border-color: rgb(151, 59, 255);
 margin: 2.8em 0 0 12.2em;
 -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;
}

body.page-Main_Page #footer {
 background: rgba(24, 13, 26, 0.87);
 border-width: 3px;
 border-style: solid;
 border-color: rgb(151, 59, 255);
}

/*Sidebar*/
.portlet#p-navigation .pBody, .portlet#p-search .pBody, .portlet#p-tb .pBody, .portlet#p-cactions .pBody {
    background-color: rgba(24, 13, 26, 0.87);
    border: 2px solid #1034A6;
}

.portlet#p-personal li a, .portlet#p-personal li a:visited {
    color: purple;
}

.pBody {
    background: transparent;
    border: 2px outset #1034A6;
    padding-left: 8px;
    margin: 2px 5px 0 5px;
    -webkit-border-radius: 15px 15px / 15px 15px;
    -moz-border-radius: 15px 15px;
    border-radius: 15px 15px;
}

.portlet h3 {
 color: #ff80aa;
 text-decoration: bold;
}

.pBody li a {
 color: #ffb3ff !important;
}

#p-personal a:hover {
    background: none !important;
    text-decoration: underline !important;
}

/*Tabs*/
#p-cactions .pBody:hover {opacity: 1;}
#p-cactions li:hover {opacity: 0.8;}
#p-cactions li {
    border: 2px outset #1034A6;
    border-bottom: 1px solid #1034A6;
    background: #1034A6;
    -webkit-border-radius: 10px 10px / 10px 10px;
    -moz-border-radius: 10px 10px;
    border-radius: 10px 10px;
}
#p-cactions li a {
    border: none;
    -webkit-border-radius: 10px 10px / 10px 10px;
    -moz-border-radius: 10px 10px;
    border-radius: 10px 10px;
}

a#NavToggle1 {color: white !important;}

#preferences, .prefsection table, .prefsection legend, div#userloginForm, div#userlogin { background: none !important; }

li.selected.before, li.selected.after { background-color: #003865; }
table.diff { background-color: rgba(0,0,0,0.3); }
td.diff-context { color: #000; }
.editOptions { color: #000; }
td.diff-addedline .diffchange { color: #003865; padding: 3px 5px; margin: 0 3px; }

body.page-Main_Page a:link {color: #ff99ff;}

body.page-Main_Page a.new {color: #FF3399;}

body.page-Main_Page a.external {color: #ff99ff;}
body.page-Main_Page a:visited {color: #ff99ff;}
body.page-Main_Page a.external:visited {color: #ff99ff;}

body.page-Main_Page a:hover {color: #ff3399;}
body.page-Main_Page a.external:hover {color: #ff3399;}

body.page-Main_Page a:active {color: #9966ff;}
body.page-Main_Page a.external: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));
}