MediaWiki:Common.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Нет описания правки |
Нет описания правки |
||
| Строка 139: | Строка 139: | ||
#p-Сообщества li { display: inline-block; } | #p-Сообщества li { display: inline-block; } | ||
#p-Сообщества li a { display: block; width: 71px; height: 71px; overflow: hidden; } | #p-Сообщества li a { display: block; width: 71px; height: 71px; overflow: hidden; } | ||
#p-Сообщества li a:hover { opacity: 0. | #p-Сообщества li a:hover { opacity: 0.5; } | ||
#n-Steam a:before { content: url(https://hub.scpslgame.com/images/1/1b/SteamFavIcon.png); } | #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-Patreon a:before { content: url(https://hub.scpslgame.com/images/8/8a/PatreonFavIcon.png); } | ||
Версия от 20:59, 5 апреля 2021
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* 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; }
/* 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: 16px !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;
}
.tabbernav li {
display: inline-block !important;
margin-top: 0 !important;
}
.tabbertab {
border: none !important;
padding: 0 !important;
}
.tabbernav {
text-align:center;
}
ul.tabbernav li a {
border: none;
background: #282829 !important;
border-radius: 0 0 0 0;
-moz-border-radius: 0 0 0 0;
-webkit-border-radius: 0 0 0 0;
-o-border-radius: 0 0 0 0;
}
ul.tabbernav li.tabberactive a {
background: #59595c !important;
border: none;
border-radius: 0 0 0 0;
-moz-border-radius: 0 0 0 0;
-webkit-border-radius: 0 0 0 0;
-o-border-radius: 0 0 0 0;
color: black !important;
font-weight: bold !important;
}
div.thumbinner {
border: 0 solid transparent;
padding: 3px !important;
background-color: transparent;
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{
filter:invert(100%);
}
audio::-webkit-media-controls-enclosure{
transform: scale(1.1);
}
/* Sidebar Icons */
#p-Сообщества li { display: inline-block; }
#p-Сообщества li a { display: block; width: 71px; height: 71px; overflow: hidden; }
#p-Сообщества 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); }
/* 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; }
}
.typingslow{
margin: 10px 0 0 10px;
width: 1000px;
white-space:nowrap;
overflow:hidden;
animation: type 5s steps(150, end);
-webkit-animation:type 5s steps(150, end);
-moz-animation:type 5s steps(150, end);
-o-animation:type 5s steps(150, end);
animation-delay:2s;
-webkit-animation-delay:2s;
-moz-animation-delay:2s;
-o-animation-delay:2s;
animation-fill-mode: backwards;
-webkit-animation-fill-mode: backwards;
-moz-animation-fill-mode: backwards;
-o-animation-fill-mode: backwards;
}
@keyframes typeslow{
from { width: 0; color: rgb(4,4,5); opacity:0; }
}
@-webkit-keyframes typeslow{
from { width: 0; color: rgb(4,4,5); opacity:0; }
}
@-moz-keyframes typeslow{
from { width: 0; color: rgb(4,4,5); opacity:0; }
}
@-o-keyframes typeslow{
from { width: 0; color: rgb(4,4,5); opacity:0; }
}
/* CSS Sliding Image Gallery for Mediawiki
*
* @author: Unknown
* current version crafted together by [[User:Christharp]] from several CSS sites.
*/
.wrapper {
position: absolute;
top: 1%;
width: 4000px;
-webkit-animation: 60s credits linear infinite;
-moz-animation: 60s credits linear infinite;
-ms-animation:60s credits linear infinite;
-o-animation: 60s credits linear infinite;
animation: 60s credits linear infinite;
}
/* Background Images for Pages */
/* .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-Заглавная_страница{
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-Ų͔ͯ͒͆̈̎͑ͮ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;
}
.page-Повстанцы_Хаоса{
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-Мобильная_Опергруппа{
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-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-Лёгкая_Зона_Содержания{
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-Тяжёлая_Зона_Содержания{
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-Входная_Зона{
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-Зона_Поверхности{
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;
}