MediaWiki
Common.css
From Dogcraft Wiki
imported>Domino No edit summary |
imported>William No edit summary |
||
Line 264: | Line 264: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||
} | |||
/* {{pp-template}} */ | |||
.release_timeline { | |||
float: right !important; /* Minerva uses !important */ | |||
clear: right !important; /* Minerva uses !important */ | |||
width: auto !important; /* Minerva uses !important */ | |||
flex: 1 1 100%; | |||
margin: 0 0 .3em 1em; | |||
padding: .75em 1em; | |||
font-size: 80%; | |||
line-height: .9; | |||
border-collapse: separate; | |||
border-spacing: 0 1px; | |||
background-color: transparent; | |||
} | |||
@media (max-width:550px) { | |||
.release_timeline { | |||
width: 100% !important; | |||
box-sizing: border-box; | |||
} | |||
} | |||
.rt_left { | |||
float: left !important; /* Minerva uses !important */ | |||
clear: left !important; /* Minerva uses !important */ | |||
margin: 0 1em 0 .3em; | |||
} | |||
.release_timeline .rt_caption { | |||
padding: .4em .4em .2em; | |||
font-size: 112.5%; | |||
text-align: center; | |||
display: table-caption; | |||
} | |||
.release_timeline .rt_subtitle { | |||
padding-top: .3em; | |||
font-size: 90%; | |||
font-weight: normal; | |||
} | |||
.release_timeline td { | |||
border: none; | |||
padding: .4em; | |||
text-align: left; | |||
background: none; | |||
font: inherit; | |||
color: inherit; | |||
} | |||
.release_timeline th { | |||
border: none; | |||
padding: .4em; | |||
text-align: right; | |||
background: none; | |||
font: inherit; | |||
color: inherit; | |||
} | |||
.release_timeline .rt_first { | |||
padding: .4em .4em .2em; | |||
} | |||
.release_timeline .rt_next { | |||
padding: .2em .4em; | |||
} | |||
.release_timeline .rt_last { | |||
padding: .2em .4em; | |||
} | } |
Revision as of 17:18, 20 January 2020
/* Hide "Main Page" titles */
body.page-Dogcraft_Wiki .title,
body.page-Dogcraft_Wiki #tagline {
display: none;
}
.row.display {
background: #eee;
font-size: 11px;
margin-bottom: 10px;
}
.row.display .columns,
.row.display .column {
background: #e7e7e7;
border: 1px solid #ddd;
font-size: 13px;
font-weight: bold;
text-indent: 3px;
padding-top: 8px;
color: #444;
padding-bottom: 8px;
}
/* VisualEditor
* fixes misalignment of icons
*/
.oo-ui-toolbar-bar .oo-ui-tool .oo-ui-tool-link {
padding-top: 0 !important;
}
/***** CSS placed here will be applied to/* default skin for navigation boxes */
table.navbox { /* navbox container style */
border: 1px solid #aaa;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
table.navbox + table.navbox {
margin-top: -1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th {
text-align: center; /* title and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
.navbox-group { /* group style */
white-space: nowrap;
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
}
.navbox, .navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
border-left: 2px solid #fdfdfd; /* Must match background color */
}
.navbox-title, table.navbox th {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
@media print {
.navbox {
display: none;
}
}
.nowraplinks a { /* prevents line breaks in links in primarily navbox */
white-space: nowrap;
}
/* Disables Discussion pages */
ca-talk { display:none!important; }
/* Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #E9EDEF;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox title {
color: white;
}
.infobox heading {
color: white;
}
.infobox caption {
font-size: larger;
color: black;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #3C8DBC;
background-color: #3C8DBC;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #3C8DBC;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 6;
border-top: 1px solid #aaa;
border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
border-right: 1px solid #aaa;
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
text-align: left;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: solid 1px #aaa;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
/* ==Tab System== */
/* 2 Tabs */
.tabs21 {
background: url('https://wiki.dogcraft.net/images/5/54/Tabs21.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.tabs22 {
background: url('https://wiki.dogcraft.net/images/c/c4/Tabs22.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* 3 Tabs */
.tabs31 {
background: url('https://wiki.dogcraft.net/images/0/07/Tabs31.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
@media only screen and (max-width: 1159px) {
.tabs31 {
background: url('https://wiki.dogcraft.net/images/2/27/TabsMobile.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
}
.tabs32 {
background: url('https://wiki.dogcraft.net/images/4/40/Tabs32.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
@media only screen and (max-width: 1159px) {
.tabs32 {
background: url('https://wiki.dogcraft.net/images/2/27/TabsMobile.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
}
.tabs33 {
background: url('https://wiki.dogcraft.net/images/c/ca/Tabs33.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
@media only screen and (max-width: 1159px) {
.tabs33 {
background: url('https://wiki.dogcraft.net/images/2/27/TabsMobile.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
}
/* {{pp-template}} */
.release_timeline {
float: right !important; /* Minerva uses !important */
clear: right !important; /* Minerva uses !important */
width: auto !important; /* Minerva uses !important */
flex: 1 1 100%;
margin: 0 0 .3em 1em;
padding: .75em 1em;
font-size: 80%;
line-height: .9;
border-collapse: separate;
border-spacing: 0 1px;
background-color: transparent;
}
@media (max-width:550px) {
.release_timeline {
width: 100% !important;
box-sizing: border-box;
}
}
.rt_left {
float: left !important; /* Minerva uses !important */
clear: left !important; /* Minerva uses !important */
margin: 0 1em 0 .3em;
}
.release_timeline .rt_caption {
padding: .4em .4em .2em;
font-size: 112.5%;
text-align: center;
display: table-caption;
}
.release_timeline .rt_subtitle {
padding-top: .3em;
font-size: 90%;
font-weight: normal;
}
.release_timeline td {
border: none;
padding: .4em;
text-align: left;
background: none;
font: inherit;
color: inherit;
}
.release_timeline th {
border: none;
padding: .4em;
text-align: right;
background: none;
font: inherit;
color: inherit;
}
.release_timeline .rt_first {
padding: .4em .4em .2em;
}
.release_timeline .rt_next {
padding: .2em .4em;
}
.release_timeline .rt_last {
padding: .2em .4em;
}
This page was last modified on 20 January 2020, at 17:18. (2 months ago)