MediaWiki:Common.css: Difference between revisions

From Kirby Speedrunning Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(68 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/*We need to reorganize the entirety of common.css (and transfer most of this to monobook.css) once everything is done*/


@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");
}
}
/* CUSTOM NAMESPACE CSS */
/* Kirby Super Star */
.ns-3000 #p-logo a, .ns-3001 #p-logo a { background-image: url(https://cdn.discordapp.com/attachments/1106766444508749845/1113634922649882736/K7Txc52.png) !important; }
body.ns-3000 { background-image: url(https://cdn.discordapp.com/attachments/1106766444508749845/1114696432872603669/HPu28MD.png) !important; }
body.ns-3010, body.ns-3011 { background-image: url(https://cdn.discordapp.com/attachments/1106766444508749845/1114745303413837854/image.png) !important; }
.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-3008 #p-logo a, .ns-3009 #p-logo a { background-image: url(https://cdn.discordapp.com/attachments/1106766444508749845/1114741365012693012/GWKZu9V.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 */
/* MAIN PAGE STYLING */


h1.firstHeading {font-family: Delfino; font-size: 32px;}
h1.firstHeading {font-family: Delfino; font-size: 34px;}
h1, h2 { color: #ffe6ff; }
h3, h4, h5 { color: white; }
 
.mainpage-titles {
font-family: Delfino;
color: pink;0px 0px 10px rgb(252, 194, 255)
margin-top: 20px;
font-weight: bold;
text-shadow: -2px 2px 5px #231F20, 2px 2px 5px #231F20;
}
 
.mainpage-main-category-title {
font-size: 48px;
}
 
.mainpage-spinoff-category-title {
font-size: 30px;
}
 
body {
color: white;
background-color: #181F4B;
background-image: url("https://milkyway.ocremix.org/images/body.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
 
body #content {
color: white;
background: #1E1933;
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;
}


/* 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; }
body.page-Main_Page #content, body.page-Main_Page_ja #content { background-color: rgba(24, 13, 26, 0.87); }
/* 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; }
body.page-Main_Page_ja #contentSub { display:none; }


body #footer {
/* Main page game links and containers */
  background: rgba(24, 13, 26, 0.87);
.mainpage-links-container {
  border-width: 3px;
  text-align: center;
  border-style: solid;
width: 100%;
  border-color: rgb(151, 59, 255);
line-height: 1.8;
  margin-top: 0px;
display: flex;
  align-items: center;
  justify-content: space-around;
padding: 0;
}
}


body .thumb { border-color: #4c0080; }
/* Styling for the two boxes on top of the game links */
body .thumbinner {
.header-boxes-container {
  background-color: #0d001a;  
width: 100%;
  border-color: #4c0080;
background: none;
line-height: 200%;
text-align: center;
  font-size: 20px;
display: flex;
  margin: 15px;
}
}


/* Table Of Contents */
.mainpage-header-boxes {
#toc {
  width: 100%;
  background: #2A2435;
  padding: 6px;
  border-color: #645F6F;
  margin: 10px;
  color: white;
text-align: left;
}
 
.tocnumber {
    color: white;
}
 
.toctogglelabel {
    color: #FF3399;
}
 
/* Tables */
.wikitable {
    background-color: #1E1933;
    color: white;
}
 
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #3D374C;
}
 
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    boarder: 1px solid #645F6F;
}
 
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
    background-color: #2A2435;
}
 
/*Sidebar*/
.portlet#p-navigation .pBody, .portlet#p-search .pBody, .portlet#p-tb .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 {
.mainpage-left-box {
    background: transparent;
border: 3px solid #e65c00;
    border: 2px outset #1034A6;
background: rgba(194, 166, 105, 0.42);
    padding-left: 8px;
vertical-align: top;
    margin: 2px 5px 0 5px;
    -webkit-border-radius: 15px 15px / 15px 15px;
    -moz-border-radius: 15px 15px;
    border-radius: 15px 15px;
}
}


.portlet h3 {
.mainpage-right-box {
  color: #ff80aa;
  border: 3px solid #009933;
  text-decoration: bold;
background: rgba(57, 144, 113, 0.42);
float: right;
  margin-right: 40px;
}
}


.pBody li a {
color: #ffb3ff !important;
}
#p-personal a:hover {
    background: none !important;
    text-decoration: underline !important;
}
/*Tabs*/
#p-cactions li {
    border-radius: 10px 10px 0px 0px;
}
#p-cactions li a {
    border: none;
    border-radius: 10px 10px 0px 0px;
}
body.skin--responsive #p-cactions li, body.skin--responsive #p-cactions li a { background-color: #1E1933; }
body.skin--responsive #p-cactions li.selected, body.skin--responsive #p-cactions li.selected a  { background-color: rgb(151, 59, 255); }
body.skin--responsive #p-cactions li:hover, body.skin--responsive #p-cactions li a:hover { background-color: #732673; }
body.skin--responsive #p-cactions li:active, body.skin--responsive #p-cactions li a:active { background-color: #e6b3e6; }
/*Link Colors*/
a:link, a.external, a:visited, a.external:visited {color: #ff99ff !important;}
a.new, a.new:visited {color: #FF3399 !important;}
a:hover, a.external:hover {color: #ff66cc !important;}
a:active, a.external:active {color: #9966ff !important;}
/*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;
}


/* List styling defaults */
.mainpage-links-container ul {
.mainpage-links-container ul {
  list-style: none;
  list-style: none;
Line 193: Line 67:
}
}


/* List item styling defaults */
.mainpage-links-container li {
.mainpage-links-container li {
  display: inline-block;
  display: inline-block;
  padding: 10px 20px;
  padding: 10px 20px;
  width: 220px;
  width: 220px;
  vertical-align: text-top;
  vertical-align: middle;
  flex-direction: column-reverse
}
 
/* Do not show lists on game main pages */
.game-page-links-container ul {
  list-style: none;
}
}


/* Logo Shadows */
.mainpage-links img {
.mainpage-links img {
  height: auto;
  height: auto;
Line 207: Line 87:
}
}


/* Logo glow on mouse hover */
.mainpage-links a:hover {
.mainpage-links a:hover {
  color: var(--link-color-hover);
  color: var(--link-color-hover);
Line 213: Line 94:
}
}


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


.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
.game-main-page-header img {
  background-color: transparent;
  width: auto;
height: 350px;
}
}


.mw-pt-translate-header {border: 0;}
/* for h3 headers that should not appear in the table of contents */
.mw-pt-languages {background-color: transparent; border: 0;}
 
 
 
.h3-no-toc {
.h3-no-toc {
font-size: 16px;
font-size: 16px;
font-weight: bold
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;
}


/*Translation Extension*/
/* EXPERIMENTAL: Vertical Align on Wikitable Class */
ol.references li:target, sup.reference:target { background-color: transparent; }
.table-vertical-top tbody {
.mw-translate-fuzzy { background-color: rgb(72, 89, 117, .30); }
vertical-align: top;
.grid.ext-translate-container .row, .tux-message-filter-box, .tux-breadcrumb { color: white; }
}
.tux-breadcrumb__item--aggregate { color:#ff99ff }
 
/*Visual Editor Extension*/
.oo-ui-toolbar-bar, .oo-ui-popupWidget-popup, .ve-ce-mwBlockImageNode > figcaption p { color: black; }

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