MediaWiki:Common.css: Difference between revisions
SlyAceZeta (talk | contribs) (Removing some old/outdated code that no longer works; moving all remaining page backgrounds to Fandomdesktop.css) |
SlyAceZeta (talk | contribs) (Removing more old code; removing forced colors on headings to allow support for light theme) |
||
Line 33: | Line 33: | ||
font-style: italic; |
font-style: italic; |
||
} |
} |
||
.WikiaArticleComments .upper-pagination { |
|||
padding-top: 15px; |
|||
margin-bottom: 10px; |
|||
border-top: 1px solid #34587a; } |
|||
.CategorySelect .articlePage { |
.CategorySelect .articlePage { |
||
border-color: #34587a; } |
border-color: #34587a; } |
||
.WikiaRail .rail-module h2 { |
|||
border-bottom: 1px solid #34587a; } |
|||
.WikiaArticle h2 { |
|||
border-bottom: solid 1px #34587a; } |
|||
.EditPageEditor #diff { |
|||
background-color:#1C4A75; |
|||
} |
|||
.EditPageEditor #diff table .diff-addedline, .EditPageEditor #diff table .diff-context, .EditPageEditor #diff table .diff-deletedline { |
|||
color:#000000; |
|||
} |
|||
.WikiaUserPagesHeader { |
|||
background: #12293d; /* For browsers that do not support gradients */ |
|||
background: -webkit-linear-gradient(top,#0d2337 0%,#12293d 100%); /* For Safari 5.1 to 6.0 */ |
|||
background: -o-linear-gradient(top,#0d2337 0%,#12293d 100%); /* For Opera 11.1 to 12.0 */ |
|||
background: -moz-linear-gradient(top,#0d2337 0%,#12293d 100%); /* For Firefox 3.6 to 15 */ |
|||
background: linear-gradient(top,#0d2337 0%,#12293d 100%); /* Standard syntax */ |
|||
} |
|||
.MainPageBox { |
.MainPageBox { |
||
Line 119: | Line 92: | ||
.MainPageHeader { |
.MainPageHeader { |
||
color:white; |
|||
font-size:130%; |
font-size:130%; |
||
background: url('https://vignette.wikia.nocookie.net/subnautica/images/e/ea/MainPageHeader.png') left center no-repeat; |
background: url('https://vignette.wikia.nocookie.net/subnautica/images/e/ea/MainPageHeader.png') left center no-repeat; |
||
Line 127: | Line 99: | ||
/* Section headings */ |
/* Section headings */ |
||
.mw-headline { |
|||
color: white; |
|||
font-size: 90%; |
|||
background: url(https://vignette.wikia.nocookie.net/subnautica/images/e/ea/MainPageHeader.png) left center no-repeat; |
background: url(https://vignette.wikia.nocookie.net/subnautica/images/e/ea/MainPageHeader.png) left center no-repeat; |
||
padding-left: 35px; |
padding-left: 35px; |
||
font-family: 'Orbitron',"Calibri",sans-serif; |
font-family: 'Orbitron',"Calibri",sans-serif; |
||
} |
|||
.WikiaArticle h3, .WikiaArticle h4, .WikiaArticle h5, .WikiaArticle h6 { |
|||
margin-top:20px; |
|||
} |
} |
||
.header-column .header-title { |
.header-column .header-title { |
||
color:white; |
|||
font-size:90%; |
font-size:90%; |
||
font-family: 'Orbitron', "Calibri", sans-serif; |
font-family: 'Orbitron', "Calibri", sans-serif; |
||
Line 226: | Line 190: | ||
border: none ; |
border: none ; |
||
padding: 0 ; |
padding: 0 ; |
||
} |
|||
.module .WikiaActivityModule .ForumActivityModule { |
|||
width:95%; |
|||
} |
} |
||
Line 359: | Line 319: | ||
.ogg_player .ogg-player-options { |
.ogg_player .ogg-player-options { |
||
border: 1px solid #0dbb8f; |
border: 1px solid #0dbb8f; |
||
} |
|||
.tag { |
|||
color: inherit; |
|||
} |
} |
||
Revision as of 01:31, 29 January 2022
/***** CSS placed here will be applied to all skins on the entire site. *****/
@import url('https://fonts.googleapis.com/css2?family=Days+One&family=Orbitron&display=swap');
.TTable {
width: 100%;
}
.TTable th {
width: 25%;
text-align: center;
}
.TTable td {
text-align: center;
}
.TTable td:nth-child(2) {
text-align:left;
}
.TTable td:last-child {
text-align: left;
}
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
.CategorySelect .articlePage {
border-color: #34587a; }
.MainPageBox {
border: 1px solid #3d4f5f;
background-color:transparent ;
padding:5px;
margin-bottom:10px;
margin-top:10px;
}
a.image .image-thumbnail .link-internal {
z-index:1;
}
/* tabber abandoned seabases/lost river Start */
.TabberAbandonedSeabases ul.tabbernav, .lostRiverTabber ul.tabbernav, .DegasiTabber ul.tabbernav, .lostRiverTabber ul.tabbernav, .TabberILZCSS ul.tabbernav {
background-color: transparent;
text-align:center;
}
.TabberAbandonedSeabases ul.tabbernav, .lostRiverTabber ul.tabbernav, .DegasiTabber ul.tabbernav, .lostRiverTabber ul.tabbernav, .TabberILZCSS ul.tabbernav {
padding:10px;
}
.TabberAbandonedSeabases ul.tabbernav li a, .lostRiverTabber ul.tabbernav li a, .DegasiTabber ul.tabbernav li a, .lostRiverTabber ul.tabbernav li a, .TabberILZCSS ul.tabbernav li a {
padding:10px;
}
.tabberFloaterIsland, .Degasi, .tabberILZ {
padding-top:10px;
}
.tabberJellyShroom {
padding-top:10px;
}
.tabberDeepGrand {
padding-top:10px;
}
/* tabber abandoned seabases/lost river stop */
/* tabber devs Start */
.devsTabber .tabbernav a {
font-size:14px;
margin-top: 5px ;
display:inline-block;
}
/* tabber devs stop */
.not-patrolled .mw-tag-visualeditor {
background:#0D2337;
}
.MainPageHeader {
font-size:130%;
background: url('https://vignette.wikia.nocookie.net/subnautica/images/e/ea/MainPageHeader.png') left center no-repeat;
padding-left:35px;
font-family: 'Orbitron', "Calibri", sans-serif;
}
/* Section headings */
.mw-headline {
background: url(https://vignette.wikia.nocookie.net/subnautica/images/e/ea/MainPageHeader.png) left center no-repeat;
padding-left: 35px;
font-family: 'Orbitron',"Calibri",sans-serif;
}
.header-column .header-title {
font-size:90%;
font-family: 'Orbitron', "Calibri", sans-serif;
}
.MainPageUsefulLinks {
font-size:14px;
}
.MainPageUsefulLinks a {
display: block;
background: url("https://vignette.wikia.nocookie.net/subnautica/images/9/93/ArrowRight.png") no-repeat top right;
background-color: transparent;
background-repeat: no-repeat;
background-attachment: scroll;
background-position: right top;
background-clip: border-box;
background-origin: padding-box;
background-size: auto auto;
min-height: 36px;
padding-right: 40px;
margin: 10px 0;
margin-top: 10px;
margin-bottom: 10px;
}
.MainPageUsefulLinks a:hover {
background: url("https://vignette.wikia.nocookie.net/subnautica/images/9/93/ArrowRight.png") no-repeat bottom right;
text-decoration:none;
}
.MainPageWelcome {
padding-top:30px;
Padding-bottom:30px;
height:50px;
background: url("https://vignette.wikia.nocookie.net/subnautica/images/4/42/Welcome.png") center center no-repeat;
}
.MainPageWelcomeContent {
text-align:center;
}
.MainPageNavigation {
width:100%;
}
.MainPageNavigation td {
width:20%;
vertical-align:top;
}
.tabbernav {
font-family: inherit ;
font-weight: normal ;
font-size: 16px ;
border-bottom: 3px solid #012e59 ;
overflow: hidden ;
padding: 0.3em 0 ;
}
.tabbernav a {
padding: 0.3em 0.5em ;
margin: 0 ;
color: white ;
border: none ;
background: #000830 ;
}
.tabbernav li {
display: inline-block ;
margin-top: 11px ;
}
.tabberactive a {
color: white ;
background: #012e59 ;
}
.tabbernav :not(.tabberactive) a:hover {
background: #000000 ;
}
.tabbertab {
border: none ;
padding: 0 ;
}
/* Custom Bureaucrat and Admin Color Start */
a[href$="/wiki/User:BippityBop"],
a[href$="/wiki/User:MyztriCaecusCA"],
a[href$="/wiki/User:MorphGuy"],
a[href$="/wiki/User:Tueman"],
a[href$="/wiki/User:ThunderStar321"] {
color: #0ed630 ;
font-weight: bold ;
}
a[href$="/wiki/User:Jamintheinfinite"] {
color: #FFA500 ;
}
a[href$="/wiki/User:SLScool"],
a[href$="/wiki/User:Xenodrone98"],
a[href$="/wiki/User:Mesmerized"] {
color: #8A2BE2 ;
}
/* Custom Bureaucrat and Admin Color End */
/* Infobox Start */
.portable-infobox {
background-color: transparent;
border-left: 1px solid gray;
border-right: 1px solid gray;
border-bottom: 1px solid gray;
border-top: 1px solid gray;
}
aside.portable-infobox h2.pi-item {
text-align:center;
}
.pi-image {
background-color:transparent;
}
.ItemTabber {
float:right;
width:303px
}
.ItemTabber .tabbernav {
text-align:center;
}
.ItemTabber .wds-tabs {
justify-content: center;
}
/* Infobox End */
/* Customized .OGG Players Start */
.ogg_player div {
display: inline;
}
.ogg_player, .ogg_player:hover {
opacity: 0.6;
-webkit-transition: all .9s ease;
-moz-transition: all .9s ease;
-o-transition: all .9s ease;
}
.ogg_player:hover {
opacity: 1;
}
.ogg_player button>img, .ogg_player .image img {
display: none;
}
.ogg_player button {
border: none ;
}
.ogg_player .image, .ogg_player .ogg-player-options+a:after {
content:"";
height: 50px;
vertical-align: bottom;
background-size: 100%;
display: inline-block;
}
.ogg_player audio {
border-radius:4px
}
.ogg_player>div>button:after {
content: url("https://vignette.wikia.nocookie.net/subnautica/images/9/9f/Play_Button.png") ;
}
.ogg_player .ogg-player-options {
margin-left: 3px;
}
div.ogg_player .ogg-player-options {
background: white ;
}
.ogg_player>div+div:hover .ogg-player-options {
display: inline-block ;
position: absolute;
z-index: 2;
}
/* .OGG Player - Subnautica */
.ogg_player button, .ogg_player audio {
background: #0dbb8f;
}
.ogg_player audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
/* The reason this is separate is due to firefox */
background: #0dbb8f;
}
.ogg_player .image, .ogg_player .ogg-player-options+a:after {
background-image: url("https://vignette.wikia.nocookie.net/subnautica/images/d/db/Peeper_Fauna_Silhouette.png");
height: 40px;
width: 70px;
}
.ogg_player .ogg-player-options {
border: 1px solid #0dbb8f;
}
.mw-collapsible .mw-collapsible-toggle {
float: left;
}
/* Hover Images */
.audioimage {
width: 90px;
height: 90px;
background: url('https://vignette.wikia.nocookie.net/subnautica/images/7/72/Audio.png/revision/latest?cb=20190901165456');
}
.audioimage:hover {
width: 90px;
height: 90px;
background: url('https://vignette.wikia.nocookie.net/subnautica/images/a/ad/Audio_Hover.png/revision/latest?cb=20190901165457');
}
/* Customized .OGG Players End */
/* Hover Class */
.hoverimage img { opacity:0.70; filter:alpha(opacity=70); /* For IE8 and earlier */ }
.hoverimage img:hover { opacity:1.0; filter:alpha(opacity=100); /* For IE8 and earlier */ }
/* Navigation Hover Class */
.hovernav img { opacity:0.70; filter:alpha(opacity=70); /* For IE8 and earlier */ }
.hovernav img:hover { opacity:1.0; filter:alpha(opacity=100); /* For IE8 and earlier */ }