MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 567: | Line 567: | ||
white-space:nowrap; | white-space:nowrap; | ||
overflow:hidden; | overflow:hidden; | ||
animation: type | animation: type 15s steps(150, end); | ||
-webkit-animation:type | -webkit-animation:type 15s steps(150, end); | ||
-moz-animation:type | -moz-animation:type 15s steps(150, end); | ||
-o-animation:type | -o-animation:type 15s steps(150, end); | ||
} | } | ||
Revision as of 19:01, 5 April 2021
/* CSS placed here will be applied to all skins */
/* Link formating */
a.new:visited, #ca-talk > span > a { color: #d6b295 !important; }
a.new:link, #ca-talk > span > a { color: #926b6b !important; }
a.external, #ca-talk > span > a {color: #f2d7c1 !important; }
a:link, #ca-talk > span > a { color: #f2d7c1 !important; }
a:hover, #ca-talk > span > a {color: #9c8a7b !important; }
a:active, #ca-talk > span > a {color: #9c8a7b !important; }
.hycontent a:hover, #ca-talk > span > a {color: #9c8a7b !important; }
/* Infobox test */
.infobox-container {
position: relative;
display: inline-block;
margin: 5;
padding: 5;
width: auto;
}
/* Plain list */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ul li {
margin-bottom: 0;
}
/* Tabber Formating */
tabbernav {
font-family: inherit !important;
font-weight: normal !important;
font-size: initial !important;
overflow: hidden !important;
padding: 0.3em 0 !important;
}
.tabbernav a {
padding: 0.3em 0.5em !important;
margin: 0 !important;
color: none !important;
border: none !important;
background: #282829 !important;
border-bottom: none;
}
.tabbernav li {
display: inline-block !important;
margin-top: 0 !important;
border-bottom: none;
}
.tabbertab {
border: none !important;
padding: 0 !important;
}
.tabbernav {
text-align:center;
border-bottom: none;
}
ul.tabbernav {
border-bottom: none;
padding-bottom: 0px !important;
}
.infobox-tabber .tabbernav li {
border-bottom: none;
padding-bottom: 7px !important;
}
ul.tabbernav li a:hover {
background: #39393b !important;
border: 1px solid #39393b;
border-radius: 5px 5px 0 0;
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
-o-border-radius: 5px 5px 0 0;
color: black !important;
font-weight: bold !important;
}
ul.tabbernav li a {
background: #1c1c1c !important;
border: 1px solid #1c1c1c;
border-radius: 5px 5px 0 0;
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
-o-border-radius: 5px 5px 0 0;
}
ul.tabbernav li.tabberactive a {
background: #59595c !important;
border: 1px solid #59595c;
border-radius: 5px 5px 0 0;
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
-o-border-radius: 5px 5px 0 0;
color: black !important;
font-weight: bold !important;
}
/* Header Tabber Formating */
.round-tabber .tabberlive .tabbertab,
.round-tabber .tabber .tabbertab {
border-bottom-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
border-left-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
border-right-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
border-top-color: #59595c; /* This should match your general choice of border color */
border-image: none;
border-style: solid none none;
border-width: 1px medium medium;
}
.round-tabber ul.tabbernav {
border-bottom: none;
margin-top: -22px;
}
.round-tabber ul.tabbernav li a {
background: none repeat scroll 0 0 #59595c; /* This should match your general choice of background color */
border: 1px solid #59595c; /* This should match your general choice of border color */
border-image: none;
border-radius: 5px 5px 0 0; /* This is only if you want your tabs to have rounded corners */
margin-left: 3px;
padding: 3px 0.5em;
text-decoration: none;
}
.round-tabber ul.tabbernav li {
display: inline;
list-style: none outside none;
margin: 0 0 0 px;
}
.round-tabber ul.tabbernav li a:link {
color: #7AB1CC; /* This should match your anchor color, but simply being different from the default text color works */
}
.round-tabber ul.tabbernav li a:hover {
background: none repeat scroll 0 0 #000000;
border-color: #505050; /* This should match your general choice of border color */
color: #FFFFFF;
}
.round-tabber ul.tabbernav li.tabberactive a {
background-color: #000000;
color: #FFFFFF;
}
.round-tabber ul.tabbernav li.tabberactive a,
.round-tabber ul.tabbernav li.tabberactive a:hover,
.round-tabber ul.tabbernav li.tabberactive a:link {
background-color: #000000;
border-bottom: 1px none;
padding: 2px 0.5em 4px;
}
.round-tabber ul.tabbernav {
text-align:center; /* if you want the tabs to be centered rather than left-justified with respect to the tab content */
}
/* Background Images for Pages */
/* Turns entire wiki into comic cans for april fools */
/*.mediawiki{
font-family: "Comic Sans MS", cursive, sans-serif;
}
body {
cursor: url('https://i.imgur.com/FYR2Oie.png'), pointer;
}
a:hover {
cursor: url('https://i.imgur.com/FYR2Oie.png'), pointer;
}
*/
/* .page-Main_Page{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)), url("https://hub.scpslgame.com/images/4/4e/Snow.png"), url("https://hub.scpslgame.com/images/e/ee/Snow2.png"), url("https://hub.scpslgame.com/images/d/d8/Snow3.png"), url("https://hub.scpslgame.com/images/7/73/ClassDXmas1.png");
background-attachment: fixed;
z-index: 1;
position: relative, relative, relative, center top;
background-size: cover, 500px 500px, 300px 300px, 400px 400px, cover;
-webkit-animation: snow 30s linear infinite;
-moz-animation: snow 30s linear infinite;
-ms-animation: snow 30s linear infinite;
animation: snow 30s linear infinite;
}
@keyframes snow {
0% {background-position: 0px 0px;}
50% {background-position: 500px 1000px, 500px 1000px, 400px 400px, 300px 300px, 0px 0px;}
100% {background-position: -500px 2000px, -500px 2000px, -400px 800px, -300px 600px, 0px 0px;}
}
@-moz-keyframes snow {
0% {background-position: 0px 0px;}
50% {background-position: 500px 1000px, 500px 1000px, 400px 400px, 300px 300px, 0px 0px;}
100% {background-position: -500px 2000px, -500px 2000px, -400px 800px, -300px 600px, 0px 0px;}
}
@-webkit-keyframes snow {
0% {background-position: 0px 0px;}
50% {background-position: 500px 1000px, 500px 1000px, 400px 400px, 300px 300px, 0px 0px;}
100% {background-position: -500px 2000px, -500px 2000px, -400px 800px, -300px 600px, 0px 0px;}
}
@-ms-keyframes snow {
0% {background-position: 0px 0px;}
50% {background-position: 500px 1000px, 500px 1000px, 400px 400px, 300px 300px, 0px 0px;}
100% {background-position: -500px 2000px, -500px 2000px, -400px 800px, -300px 600px, 0px 0px;}
}
*/
.page-Main_Page{
background-image: linear-gradient(rgba(10,10,10,.70), rgba(10,10,10,.70)),
url("https://hub.scpslgame.com/images/4/4b/SCP-096_Rework.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment: fixed;
background-size:cover;
}
.page-User_DentyMods{
background-image: linear-gradient(rgba(10,10,10,.70), rgba(10,10,10,.70)),
url("https://hub.scpslgame.com/images/0/0d/Hubert1.jpg");
background-position: center top;
background-repeat: no-repeat;
background-attachment: fixed;
background-size:cover;
}
/* Test Background Images for Pages */
.page-Light_Containment_Zone{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/b/bd/LCZ_Straight.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-Heavy_Containment_Zone{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/c/c2/HCZ_3way.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-Entrance_Zone{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/0/00/EZ_HL_C.jpg");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-Surface_Zone{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/3/31/SZ_Gate_A_Road.jpg");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-SCP-049{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/e/e5/CC_049_Room.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-SCP-049-2{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/e/e5/CC_049_Room.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-SCP-079{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/5/59/CC_079_Chamber.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-SCP-096{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/a/a4/096%27s_CC_Door2.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-SCP-106{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/d/db/106%27s_CC_Entrance.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-SCP-173{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/b/b6/173_Containment_Room.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-SCP-939{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/a/ae/SCP-939%27s_Room_Overview.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
/*
.page-SCP-914{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/b/be/914Xmas.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
*/
.page-Chaos_Insurgent{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/d/db/Chaos_Car.jpg");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-Mobile_Task_Force{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/b/b4/NTF_Helicopter.jpg");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
/*
.page-Scientist{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/5/51/SurfaceXmas3.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
.page-Class-D{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/d/d0/ClassDXmas2.png");
background-position: center top;
background-repeat: no-repeat;
background-attachment:fixed;
background-size:cover;
}
*/
.page-Ų͔ͯ͒͆̈̎͑ͮp̬̻͚͒̈͑̇d͉̹̼̹͙ͅa͎͉̐t͚̫͎͓̠͈́̿e̺̲̓s̵̬͎͚̗͎̉͑̇ͯͅ_̠̝͉͢9̷̘͉͉͂̈́̓̃_͙̰ͥͩ0̰̝͍͎̤͍̟ͭ̋̆̉̇̿̉_̶̥̹͎͕̱̿͌4̧̣̟̪̹̹̤̏ͣ{
background-image: linear-gradient(rgba(23,23,23,.70), rgba(23,23,23,.70)),
url("https://hub.scpslgame.com/images/1/1e/GlitchedSCP-079.jpg");
background-position: center top;
background-repeat: no-repeat;
background-attachment: fixed;
background-size:cover;
}
div.thumbinner {
border: 0 solid transparent;
padding: 3px !important;
background-color: transparent;
background: none;
font-size: 94%;
text-align: center;
overflow: hidden;
}
html .thumbimage {
border: 0 none transparent;
background-color: transparent !important;
background: none;
}
html .thumbcaption {
border: none;
line-height: 1.4em;
padding: 3px;
font-size: 94%;
}
div.magnify {
border: none !important;
background: none !important;
margin-left: 0;
}
div.magnify a, div.magnify img {
display: block;
border: none !important;
background: none !important;
}
/* @noflip */div.tright {
margin: .5em 0 1.3em 1.4em;
}
/* @noflip */div.tleft {
margin: .5em 1.4em 1.3em 0;
}
img.thumbborder {
border: 0 none transparent;
}
/* Overflow by default */
pre { overflow: auto; }
/* Hover Box for switching the visibility of the selected item */
.hoverbox { display:inline-block; padding:0em;}
.hoverbox .hoveritem { display:none; margin:0em; padding:0em; }
.hoverbox .hoveritem.selected { display:inline-block; }
.hoverbox:hover .hoveritem { display:inline-block; }
.hoverbox:hover .hoveritem.selected { display:none; }
/* Audio */
audio{
-webkit-filter:invert(100%);
}
audio::-webkit-media-controls-enclosure{
transform: scale(1.1);
}
.quoteAudio audio{
width: 185px;
height: 30px;
}
.quoteAudio audio::-webkit-media-controls-enclosure{
transform: scale(1.1);
width: 240px;
}
.quoteAudio audio::-webkit-media-controls-panel{
transform: scale(1);
color: black;
width: 250px;
}
.quoteAudio audio::-webkit-media-controls-mute-button{
transform: scale(0);
color: white;
width: 10px;
position:absolute;
}
.quoteAudio audio::-webkit-media-controls-play-button{
transform: scale(1);
color: white;
margin-left:20px;
}
.quoteAudio audio::-webkit-media-controls-timeline-container{
transform: scale(1);
}
.quoteAudio audio::-webkit-media-controls-current-time-display{
transform: scale(1);
}
.quoteAudio audio::-webkit-media-controls-time-remaining-display{
transform: scale(0);
}
.quoteAudio audio::-webkit-media-controls-timeline{
transform: scale(1);
width:75px;
}
.quoteAudio audio::-webkit-media-controls-volume-slider-container{
transform: scale(0);
width:5px;
color: white;
}
.quoteAudio audio::-webkit-media-controls-volume-slider{
transform: scale(0);
color: white;
}
.quoteAudio audio::-webkit-media-controls-seek-back-button{
transform: scale(1);
color: white;
}
.quoteAudio audio::-webkit-media-controls-seek-forward-button{
transform: scale(0);
color: white;
}
/* Sidebar Icons */
#p-Social_Links li { display: inline-block; }
#p-Social_Links li a { display: block; width: 71px; height: 71px; overflow: hidden; }
#p-Social_Links li a:hover { opacity: 0.5; }
#n-Steam a:before { content: url(https://hub.scpslgame.com/images/1/1b/SteamFavIcon.png); }
#n-Patreon a:before { content: url(https://hub.scpslgame.com/images/8/8a/PatreonFavIcon.png); }
#n-Discord a:before { content: url(https://hub.scpslgame.com/images/f/fa/DiscordFavIcon.png); }
#n-Facebook a:before { content: url(https://hub.scpslgame.com/images/8/8c/FacebookFavIcon.png); }
#n-Reddit a:before { content: url(https://hub.scpslgame.com/images/d/d5/RedditFavIcon.png); }
#n-Twitter a:before { content: url(https://hub.scpslgame.com/images/a/af/TwitterFavIcon.png); }
#n-Twitch a:before { content: url(https://hub.scpslgame.com/images/b/b5/TwitchFavIcon.png); }
#n-Youtube a:before { content: url(https://hub.scpslgame.com/images/2/26/YoutubeFavIcon.png); }
#n-Website a:before { content: url(https://hub.scpslgame.com/images/7/73/WebsiteFavIcon.png); }
/* Image Hovering */
.hycontent:hover a, .hycontent:hover a p {
opacity: 0.7 ;
color: #9c8a7b !important;
}
/* CSS Hover Gallery for Mediawiki
*
* @author: Unknown
* current version crafted together by [[User:Christharp]] from several CSS sites. For my website:[http://www.yellpedia.com/wiki/Main_Page Yellpedia]
*/
.zoom_img img{
-moz-transition:-moz-transform 0.1s ease-in;
-webkit-transition:-webkit-transform 0.1s ease-in;
-o-transition:-o-transform 0.1s ease-in;
transition:transform 0.1 ease-in;
}
.zoom_img img:hover{
-moz-transform:scale(1.5);
-webkit-transform:scale(1.5);
-o-transform:scale(1.5);
transform:scale(1.5);
}
/* CSS Typing Text
*
* @author: Unknown
* current version crafted together by [[User:Christharp]].
*/
.typing{
margin: 10px 0 0 10px;
width: 1000px;
white-space:nowrap;
overflow:hidden;
animation: type 15s steps(150, end);
-webkit-animation:type 15s steps(150, end);
-moz-animation:type 15s steps(150, end);
-o-animation:type 15s steps(150, end);
}
@keyframes type{
from { width: 0; }
}
@-webkit-keyframes type{
from { width: 0; }
}
@-moz-keyframes type{
from { width: 0; }
}
@-o-keyframes type{
from { width: 0; }
}