MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
To the top with the menu! |
Implemented overall link styling for Vector (legacy) skin |
||
Line 7: | Line 7: | ||
font-family: Arial, Sans-Serif; | font-family: Arial, Sans-Serif; | ||
} | } | ||
/* logo */ | /* logo */ | ||
Line 24: | Line 22: | ||
#mw-panel.collapsible-nav .portal h3 a {color: rgb(250,250,250);text-decoration: none;} | #mw-panel.collapsible-nav .portal h3 a {color: rgb(250,250,250);text-decoration: none;} | ||
a {color: | a, | ||
#mw-navigation a, | |||
#mw-content a, | |||
#footer a, | |||
.mw-body a.external, | |||
.mw-body a.extiw | |||
{ | |||
color: var(--iopw-sys-palette-primary); | |||
&.new { | |||
color: var(--iopw-sys-palette-font-negative); | |||
} | |||
&:hover { | |||
color: var(--iopw-sys-palette-primary-lighter); | |||
} | |||
&:visited { | |||
color: var(--iopw-sys-palette-primary-darker); | |||
} | |||
&.extiw, | |||
&.external { | |||
background-position: center right; | |||
background-repeat: no-repeat; | |||
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22%3E %3Cpath fill=%22%23fff%22 stroke=%22%2336c%22 d=%22M1.5 4.518h5.982V10.5H1.5z%22/%3E %3Cpath fill=%22%2336c%22 d=%22M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z%22/%3E %3Cpath fill=%22%23fff%22 d=%22M9.995 2.004l.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z%22/%3E %3C/svg%3E"); | |||
padding-right: 0.8125rem; | |||
} | |||
} | |||
/* header */ | /* header */ |
Revision as of 00:59, 21 July 2024
body {
background-image: url("/images/1/1b/background.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: right top;
background-size: cover;
font-family: Arial, Sans-Serif;
}
/* logo */
#mw-panel #p-logo .mw-wiki-logo {
background-image: url("/images/c/c9/Logo.png");
background-color: transparent;
}
/* link colors */
div#mw-panel div.portal div.body ul li a {color: #FFCC00;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
div#mw-panel div.portal div.body ul li a:visited {color: #EEAA00;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
div#mw-panel div.portal h3 {color: #FFFFFF;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
#mw-panel.collapsible-nav .portal.collapsed h3 a {color: rgb(250,250,250);}
#mw-panel.collapsible-nav .portal h3 a {color: rgb(250,250,250);text-decoration: none;}
a,
#mw-navigation a,
#mw-content a,
#footer a,
.mw-body a.external,
.mw-body a.extiw
{
color: var(--iopw-sys-palette-primary);
&.new {
color: var(--iopw-sys-palette-font-negative);
}
&:hover {
color: var(--iopw-sys-palette-primary-lighter);
}
&:visited {
color: var(--iopw-sys-palette-primary-darker);
}
&.extiw,
&.external {
background-position: center right;
background-repeat: no-repeat;
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22%3E %3Cpath fill=%22%23fff%22 stroke=%22%2336c%22 d=%22M1.5 4.518h5.982V10.5H1.5z%22/%3E %3Cpath fill=%22%2336c%22 d=%22M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z%22/%3E %3Cpath fill=%22%23fff%22 d=%22M9.995 2.004l.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z%22/%3E %3C/svg%3E");
padding-right: 0.8125rem;
}
}
/* header */
div#mw-page-base {
background: none;
height: 200px;
background-image: url("/images/a/a6/Header.png"), url("/images/7/7b/Bannerbg.png");
background-position: center,top;
background-repeat: no-repeat,repeat-x;
background-size: auto 200px;
}
div#mw-panel { background: rgba(12,12,12,0.90);}
/* Navigation Tab*/
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {color: #FFFFFF;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
div.vectorTabs li.new a, div.vectorTabs li.new a:visited {color: #FF0000;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
div.vectorTabs li a {color: #FFCC00;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
div.vectorTabs li a {color: #EEAA00;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
div.vectorTabs ul li,
#p-variants,
#p-cactions {
background-image: none;
background-color: rgba(0,0,0,0.3); }
div.vectorMenu li a, div.vectorMenu h3 span {color: #EEAA00;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
#p-cactions:hover {
background-image: none;
background-color: rgba(0,0,0,0.5); }
div.vectorTabs li:hover {
background-image: none;
background-color: rgba(0,0,0,0.5); }
div.vectorTabs li.selected {
background-image: none;
background-color: rgba(12,12,12,0.90);
}
div.vectorMenu div.menu {
background-color: rgba(255,255,255,0.3);
border:none;
left:0px;
}
div.vectorMenu div.menu a:hover {
background-color: rgba(255,255,255,0.6);
}
#p-variants-label,
div.vectorTabs,
div.vectorTabs span,
div.vectorTabs ul,
div#mw-head div.vectorMenu h3 {
background-image: none;
padding-left:0px;
}
#left-navigation,
#right-navigation {
margin-top: 159px;
}
div#footer ul li {color: white;text-shadow: 0 0 0.2em black, 0 0 0.2em black;}
/*personal*/
#p-personal {
background-color: rgba(12,12,12,0.90);
padding-top: 5px;
padding-bottom: 5px;
padding-right: 10px;
}
#p-personal ul {padding-left: 0em;}
/* control panel/preferences */
.mw-echo-state .mw-echo-content .mw-echo-title, .mw-echo-state .mw-echo-content .mw-echo-notification-footer, .mw-echo-date-section {color:rgb(250,250,250);}
#contentSub, #contentSub2 {color:rgb(250,250,250);}
/* Content */
/* system */
/*Editing box*/
.mw-highlight{
text-shadow:none;
}
/*Editing options*/
.editOptions {
background-color: rgba(0,0,0,0.4);
border: none;
border-top: none;
}
#pagehistory li.selected {
background-color: rgba(0,0,0,0.4);
border:none;
}
ul#filetoc {
background-color: rgba(0,0,0,0.4);
border:none;
}
.errorbox, .warningbox, .successbox, .comment-toolbar {text-shadow: none;}
.comment-user, .comment-user a{color:rgb(240,240,240);}
.catlinks {
border: none;
background-color: rgba(0,0,0,0.4);
}
.mw-search-profile-tabs{text-shadow:none;}
.diff-context{text-shadow:none;}
.wikiEditor-ui .wikiEditor-ui-view {text-shadow:none;color:black;}
/* Content body*/
.mw-body {
background-color: rgba(12,12,12,0.90);
border:none;
color: rgba(250,250,250,1);
text-shadow: 0 0 0.2em black, 0 0 0.2em black;
}
/* Header color*/
h1, h2, h3, h4, h5, h6 {
color: white;
}
/* Table of Contents */
#toc, .toc, .mw-warning, .toccolours {
border: 1px solid #aaa;
background-color: rgba(0,0,0,0.6);
}
/* system */
table.wikitable, pre, code, tt, kbd, samp, .mw-code, table.mw_metadata, .mw-datatable, .mw-datatable td, .mw-datatable th {
color: black;
text-shadow: none;
}
table.wikitable a {color: #0645ad;}
table.wikitable a:visited {color: #0b0080;}
/*edit history boxes*/
#pagehistory li {border: none;}
/* tabs */
ul.tabbernav {border-bottom:none;margin-top: 0.4em;}
/* tab body*/
.tabber .tabbertab {
padding: 5px;
border: none;
/*border-top: 0;*/
background-color: rgba(100,100,100,0.7);
}
/* active tab */
ul.tabbernav li.tabberactive a, ul.tabbernav li.tabberactive a:link {
background-color: rgba(100,100,100,0.7);
border: none;
color: white;
font-weight: bold;
}
ul.tabbernav li.tabberactive a:hover {
background-color: rgba(100,100,100,0.7);
border: none;
color: white;
font-weight: bold;
}
/* inactive tab */
ul.tabbernav li a:link {
color: white;
font-weight: normal;
font-size: 110%;
background-color:rgba(100,100,100,0.3);
border:none;
padding-top: 0.5em;
}
ul.tabbernav li a:hover {background-color: rgba(127,127,127,0.4);}