MediaWiki:Common.css: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
m (Undo revision 186048 by Z929669 (talk))
Tag: Undo
 
(74 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Roboto&display=swap');


/* prevent underscores in <a> links */
/* gallery slideshow icon color modification */
a:link {
.oo-ui-icon-next, .mw-ui-icon-next::before {
    text-decoration:none;
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 fill=%22white%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Enext%3C/title%3E%3Cpath d=%22M7 1L5.6 2.5 13 10l-7.4 7.5L7 19l9-9z%22/%3E%3C/svg%3E");
}
a:visited {
    text-decoration:none;
}
/* Hides the Main Page's title */
body.page-SkyrimLE_Wiki h1.firstHeading,
body.page-SkyrimSE_Wiki h1.firstHeading,
body.page-NMS_Wiki h1.firstHeading,
body.page-Main_Page h1.firstHeading {
    display:none;
}
 
 
/** Collapsible tables *********************************************************
*
* Description: Allows tables to be collapsed, showing only the header. See
* https://www.mediawiki.org/wiki/Manual:Collapsible_tables.
* Maintainers: [[en:User:R. Koot]]
*/
table.collapsed tr.collapsible {
display: none;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
margin: 0px 5px;
}
 
 
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #161619;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
 
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
 
div.NavPic {
background-color: #aaaaaa;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
 
div.NavFrame div.NavHead {
line-height: 1.6em;
font-weight: bold;
background-color: #262629;
position: relative;
}
 
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
}


div.NavEnd {
.oo-ui-icon-imageGallery, .mw-ui-icon-imageGallery::before {
margin: 0;
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 fill=%22white%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eimage gallery%3C/title%3E%3Cpath d=%22M3 5a2 2 0 00-2 2v10a2 2 0 002 2h14a2 2 0 002-2V7a2 2 0 00-2-2zm0 11l3.5-4.5 2.5 3 3.5-4.5 4.5 6zM16 2a2 2 0 012 2H2a2 2 0 012-2z%22/%3E%3C/svg%3E");
padding: 0;
line-height: 1px;
clear: both;
}
}


a.NavToggle {
.oo-ui-icon-previous, .mw-ui-icon-previous::before {
position: absolute;
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 fill=%22white%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eprevious%3C/title%3E%3Cpath d=%22M4 10l9 9 1.4-1.5L7 10l7.4-7.5L13 1z%22/%3E%3C/svg%3E");
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
}

Latest revision as of 00:29, April 20, 2023

/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Roboto&display=swap');

/* gallery slideshow icon color modification */
.oo-ui-icon-next, .mw-ui-icon-next::before {
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 fill=%22white%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Enext%3C/title%3E%3Cpath d=%22M7 1L5.6 2.5 13 10l-7.4 7.5L7 19l9-9z%22/%3E%3C/svg%3E");
}

.oo-ui-icon-imageGallery, .mw-ui-icon-imageGallery::before {
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 fill=%22white%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eimage gallery%3C/title%3E%3Cpath d=%22M3 5a2 2 0 00-2 2v10a2 2 0 002 2h14a2 2 0 002-2V7a2 2 0 00-2-2zm0 11l3.5-4.5 2.5 3 3.5-4.5 4.5 6zM16 2a2 2 0 012 2H2a2 2 0 012-2z%22/%3E%3C/svg%3E");
}

.oo-ui-icon-previous, .mw-ui-icon-previous::before {
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 fill=%22white%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eprevious%3C/title%3E%3Cpath d=%22M4 10l9 9 1.4-1.5L7 10l7.4-7.5L13 1z%22/%3E%3C/svg%3E");
}