MediaWiki:Gadget-ms-Navbox.css: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary |
No edit summary |
||
Line 113: | Line 113: | ||
table.navbox { | table.navbox { | ||
border:1px solid #e5c076; | border:1px solid #e5c076; /*#9ec3f7*/ | ||
-moz-box-shadow: inset 0 0 | -moz-box-shadow: inset 0 0 0 5px #b19565; | ||
-webkit-box-shadow: inset 0 0 | -webkit-box-shadow: inset 0 0 0 5px #b19565; | ||
-ms-box-shadow: inset 0 0 | -ms-box-shadow: inset 0 0 0 5px #b19565; | ||
-o-box-shadow: inset 0 0 | -o-box-shadow: inset 0 0 0 5px #b19565; | ||
box-shadow: inset 0 0 | box-shadow: inset 0 0 0 5px #b19565; /*#5579ab*/ | ||
background | border-radius: 15px; | ||
background: #343246; | |||
color:#000; | color:#000; | ||
padding:5px; | padding:5px; | ||
Line 129: | Line 130: | ||
width:97%; | width:97%; | ||
} | } | ||
table.navbox a { | |||
color: white; | |||
} | |||
/* =-=-=-=-=-=-=-= | /* =-=-=-=-=-=-=-= | ||
Line 163: | Line 170: | ||
padding-right:1em; | padding-right:1em; | ||
} | } | ||
.navbox-title, table.navbox th { | |||
/* background: #82a7cb; */ | |||
/* box-shadow: none; */ | |||
/* background: #817ca9; */ | |||
background: white; | |||
background: #343246; | |||
box-shadow: none; | |||
} | |||
.navbox-abovebelow { | |||
background: #32588d; | |||
background: #5579ab; | |||
box-shadow: none; | |||
} | |||
.navbox-title a, table.navbox th a { | |||
color: #e7e7e7; | |||
} | |||
.navbox-list .navbox { | |||
background: none; | |||
border: none; | |||
box-shadow: none; | |||
} | |||
.navbox-abovebelow, .navbox-group { | |||
/* background: #817ca9; */ | |||
background: #464076; | |||
} | |||
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | |||
background: #8b85b9; | |||
} | |||
/* =-=--=-=-=-=-=- | /* =-=--=-=-=-=-=- | ||
Line 229: | Line 270: | ||
} | } | ||
.navbox-even { | .navbox-even { | ||
background | background: #e4e3e9; | ||
background: #e8e7ed; | |||
background: #f6f4fd; | |||
background: #dce0ee | |||
} | } | ||
.navbox-odd { | |||
.navbox-odd { | background: #b8b7c1; | ||
background | background: #cfcedf; | ||
background: #e4e3f7; | |||
background: #e0e0f3; | |||
background: #e0e8f3; | |||
background: #5579ab; | |||
} | } | ||
Line 243: | Line 291: | ||
.navbox-odd a:visited, | .navbox-odd a:visited, | ||
.navbox-odd a:link, | .navbox-odd a:link, | ||
.navbox-list .navbox-odd a:visited | .navbox-list .navbox-odd a:visited { | ||
color: #3728ac; | |||
} | |||
@media print { .navbox { display: none; } } | @media print { .navbox { display: none; } } |
Revision as of 19:00, 5 January 2022
/* =================
NAVBOXES
=================
This is for simple navigation,
as with seasonal nav boxes,
species nav boxes, etc.
=================
The core of this originally
came from wowwiki.com,
but it seemed to be a tweak
of code originally taken
from the English Wikipedia.
================== */
/* ++++++++++++++++
General tweak for navboxes
+++++++++++++++++ */
.nowraplinks a {
white-space: nowrap;
}
/* ++++++++++++++++
NAVFRAME STUFF
++++++++++++++++
Standard Navigationsleisten,
aka box hiding thingy from .de.wikipedia
Documentation at
[[wikipedia:Wikipedia:NavFrame]].
++++++++++++++++ */
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 4px;
/* border: 1px solid #aaa; Border unnecessary and uncurved */
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.Boxmerge div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
margin: 0px;
padding: 5px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: red;
position:relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
a.NavToggle {
position:absolute;
top:0px;
right:10px;
font-weight:normal;
font-size:smaller;
margin-left:25px;
}
.NavToggle .collapseButton,
.NavToggle collapseButton {
right:10px;
font-weight:normal;
font-size:smaller;
text-align:right;
margin-left:25px;
}
.collapseButton {
float: right;
font-weight: normal;
margin-left: 0.5em;
text-align: right;
width: auto;
}
/* +++++++++++++++
DEFAULT SKIN
FOR NAVBOXES
+++++++++++++++
=-=-=-=-=-=-=-=
Navbox container style
=-=-=-=-=-=-=-= */
table.navbox {
border:1px solid #e5c076; /*#9ec3f7*/
-moz-box-shadow: inset 0 0 0 5px #b19565;
-webkit-box-shadow: inset 0 0 0 5px #b19565;
-ms-box-shadow: inset 0 0 0 5px #b19565;
-o-box-shadow: inset 0 0 0 5px #b19565;
box-shadow: inset 0 0 0 5px #b19565; /*#5579ab*/
border-radius: 15px;
background: #343246;
color:#000;
padding:5px;
font-family: "Rubik";
text-align:left;
line-height:120%;
margin-right:auto;
margin-left:auto;
width:97%;
}
table.navbox a {
color: white;
}
/* =-=-=-=-=-=-=-=
Single pixel border between
adjacent navboxes
(doesn't work for IE6, but that's okay)
=-=-=-=-=-=-=-= */
table.navbox + table.navbox {
margin-top:-1px;
}
/* =-=-=-=-=-=-=-=-
Title and above/below styles
=-=-=-=-=-=-=-=- */
.navbox-title,
.navbox-abovebelow,
table.navbox th {
-moz-box-shadow: inset 0 0 25px 4px #e5c076;
-webkit-box-shadow: inset 0 0 25px 4px #e5c076;
-ms-box-shadow: inset 0 0 25px 4px #e5c076;
-o-box-shadow: inset 0 0 25px 4px #e5c076;
box-shadow: inset 0 0 25px 4px #e5c076;
text-align:center;
color:#012c57;
font-family: "Rubik";
padding:3px;
font-weight:normal;
line-height:1.2;
letter-spacing:3px;
text-transform:uppercase;
padding-left:1em;
padding-right:1em;
}
.navbox-title, table.navbox th {
/* background: #82a7cb; */
/* box-shadow: none; */
/* background: #817ca9; */
background: white;
background: #343246;
box-shadow: none;
}
.navbox-abovebelow {
background: #32588d;
background: #5579ab;
box-shadow: none;
}
.navbox-title a, table.navbox th a {
color: #e7e7e7;
}
.navbox-list .navbox {
background: none;
border: none;
box-shadow: none;
}
.navbox-abovebelow, .navbox-group {
/* background: #817ca9; */
background: #464076;
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #8b85b9;
}
/* =-=--=-=-=-=-=-
Group style
=-=-=-=-=-=-=-= */
.navbox-group {
white-space:nowrap;
text-align:right;
font-weight:normal;
padding-left:1em;
padding-right:1em;
}
.navbox,
.navbox-subgroup {
background:#fdfdfd;
}
.navbox-list {
border-left:2px solid #fdfdfd;
}
.navbox-title,
table.navbox th {
-moz-box-shadow: inset 0 0 25px 4px #e5c076;
-webkit-box-shadow: inset 0 0 25px 4px #e5c076;
-ms-box-shadow: inset 0 0 25px 4px #e5c076;
-o-box-shadow: inset 0 0 25px 4px #e5c076;
box-shadow: inset 0 0 25px 4px #e5c076;
color:#000;
padding:5px;
font-family: "Rubik";
text-align:left;
line-height:120%;
margin-left:auto;
margin-right:auto;
margin-top:5px;
}
.navbox-abovebelow,
.navbox-group {
background-color:#012c57;
color:white;
}
.navbox-subgroup .navbox-title {
-moz-box-shadow: inset 0 0 25px 4px #e5c076;
-webkit-box-shadow: inset 0 0 25px 4px #e5c076;
-ms-box-shadow: inset 0 0 25px 4px #e5c076;
-o-box-shadow: inset 0 0 25px 4px #e5c076;
box-shadow: inset 0 0 25px 4px #e5c076;
color:#000;
padding:5px;
font-family: "Rubik";
text-align:left;
line-height:120%;
margin-left:auto;
margin-right:auto;
margin-top:5px;
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background:#e6e6ff;
}
.navbox-even {
background: #e4e3e9;
background: #e8e7ed;
background: #f6f4fd;
background: #dce0ee
}
.navbox-odd {
background: #b8b7c1;
background: #cfcedf;
background: #e4e3f7;
background: #e0e0f3;
background: #e0e8f3;
background: #5579ab;
}
.navbox-list .navbox-even a:link,
.navbox-even a:visited,
.navbox-even a:link,
.navbox-odd a:visited,
.navbox-odd a:link,
.navbox-list .navbox-odd a:visited {
color: #3728ac;
}
@media print { .navbox { display: none; } }