MediaWiki:Common.css
Z Nonsensopedii, polskiej encyklopedii humoru
Wersja z dnia 09:02, 19 cze 2020 autorstwa Ostrzyciel (dyskusja • edycje) (-antyczny nieużywany CSS)
Uwaga: aby zobaczyć zmiany po zapisaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.
- Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5 lub Ctrl+R (⌘-R na komputerze Mac)
- Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
- Internet Explorer: Przytrzymaj Ctrl jednocześnie klikając Odśwież lub naciśnij klawisze Ctrl+F5
- Konqueror: Kliknij polecenie Odśwież lub naciśnij klawisz F5
- Opera: Wyczyść pamięć podręczną w Narzędzia → Preferencje
/* <nowiki> <pre> */
/* niezaznaczanie plusów i minusów w diffach */
.diff td.diff-marker {
user-select: none;
}
/* LOGO */
body.ns-12 #p-logo a, body.ns-13 #p-logo a {
background-image: url(https://nonsa.pl/images/f/f6/Pomoclogo.png) !important;}
body.ns-100 #p-logo a, body.ns-101 #p-logo a {
background-image: url(https://nonsa.pl/images/7/79/Logo_noncytaty.png) !important;}
body.ns-102 #p-logo a, body.ns-103 #p-logo a {
background-image: url(https://nonsa.pl/images/7/71/Logo_nonnews.png) !important;}
body.ns-104 #p-logo a, body.ns-105 #p-logo a {
background-image: url(https://nonsa.pl/images/d/d7/Zrodlalogo.png) !important;}
body.ns-106 #p-logo a, body.ns-107 #p-logo a {
background-image: url(https://nonsa.pl/images/a/ae/Slownikmini.png) !important;}
body.ns-108 #p-logo a, body.ns-109 #p-logo a {
background-image: url(https://nonsa.pl/images/1/1f/Take08_copy.png) !important;}
body.ns-114 #p-logo a, body.ns-115 #p-logo a {
background-image: url(https://nonsa.pl/images/8/8c/Poradnikmini.png) !important;}
/* RAMKA */
figure.article-thumb {
border: 1px solid #ccc;
padding: 3px;
background: #FFF;
}
figure.tright {margin: .5em 0 1.3em 1.4em;}
figure.tleft {margin: .5em 1.4em 1.3em 0;}
.article-thumb .thumbimage {border: none;}
.article-thumb figcaption .caption, .article-thumb figcaption .title {
font-size: 94%;
margin: 3px 0 0 0;
}
.article-thumb figcaption .title {color: #222;}
@keyframes blink { from {opacity:1;} to {opacity:0;} }
@-webkit-keyframes blink { from {opacity:1;} to {opacity:0;} }
.blinky {
animation:blink 0.5s infinite linear alternate;
}
.ns-110 #ca-talk.new {display: none;} /* Forum to dyskusja, a dyskusja dyskusji nie wchodzi w grę. */
#siteSub, .RelatedPagesModule, .page-Strona_główna .restr {display: none !important;}
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 2px;
border: 1px solid #aaaaaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.Boxmerge div.NavFrame {border-style: none;}
div.NavFrame + div.NavFrame {margin-top:-1px;}
div.NavPic {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background-color: #efefef;
position:relative;
}
div.NavFrame p, div.NavFrame div.NavContent, 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:3px;
font-weight:normal;
font-size:smaller;
}
/* Mały ficzer umożliwiający likwidację podkreślenia linków po najechaniu myszką. */
/* Przykład: [[szablon:komunizm2]]. */
.bez-podkreslenia a:hover { text-decoration:none; }
.hoverlink:hover {text-decoration: underline;}
/* lepszy ocenzurowany tekst, wzięte z Uncyclopedii */
.cenzura {
color: black;
background-color: black;
padding: 1px;
}
.cenzura a {
color: black;
text-decoration: underline;
padding: 1px;
}
.cenzura:hover {
color: inherit;
background-color: inherit !important;
}
/* Rozwiązanie problemu zjadania .restr przez revisionboxy */
.messagebox, .errorbox, .warningbox, .successbox {
margin-bottom: 1.5em !important;
}
/* Strony specjalne z blokadą [[MediaWiki:Viewprevnext]] */
.SpecialPageInfo {
background-color: #f9f9f9;
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/35px-Exquisite-khelpcenter.png);
background-position: 0.8em 0.5em;
background-repeat: no-repeat;
padding: 0.3em 0.5em 0.3em 5.0em;
border-color: #025e9d;
border-width: 1px;
border-style: solid;
border-bottom-width: medium;
margin-bottom: 1em;
}
.mw-viewprevnext {
display: none;
border: 1px solid #cccccc;
background-color: #f9f9f2;
padding: 0.2em 0.4em;
}
#control_share_feature {display:none;}
/* usunięcie nagłówków ze strony głównej i stron głównych projektów siostrzanych */
.page-Strona_główna h1.firstHeading,
.page-Cytaty_Strona_główna h1.firstHeading,
.page-Gra_Strona_główna h1.firstHeading,
.page-NonNews_Strona_główna h1.firstHeading,
.page-Nonźródła_Strona_główna h1.firstHeading,
.page-Poradnik_Strona_główna h1.firstHeading,
.page-Słownik_Strona_główna h1.firstHeading { display:none; }
#firstHeading { margin-top: 0.8em; }
/* Article message box template styles */
table.ambox {
margin: 0 10%; /* Will not overlap with other elements */
border-collapse: collapse;
background-color: #fbfbfb;
border: 1px solid #aaa;
border-left: 10px solid #1e90ff; /* Default "notice" blue */
}
.ambox:last-child {margin: 0 10% 1.6em 10% !important;}
.ambox .ambox-text, .ambox .ambox-text { /* The message body cell(s) */
padding: 0.5em; /* 0.5em left/right */
width: 100%; /* Make all templates the same width regardless of text size */
}
.ambox .ambox-image { /* The left image cell */
padding: 4px 0 4px 0.5em; /* 0.5em left, 0 right */
text-align: center;
}
.ambox .ambox-imageright { /* The right image cell */
padding: 4px 4px 4px 0; /* 0 left, 4px right */
text-align: center;
}
table.ambox-notice {border-left: 10px solid #1e90ff;} /* Blue */
table.ambox-delete,
table.ambox-serious {border-left: 10px solid #b22222;} /* Red */
table.ambox-content {border-left: 10px solid #f28500;} /* Orange */
table.ambox-style {border-left: 10px solid #f4c430;} /* Yellow */
table.ambox-merge {border-left: 10px solid #9932cc;} /* Purple */
table.ambox-protection {border-left: 10px solid #bba;} /* Gray */
.ambox.ambox-mini { /* small floating box variant */
float: right;
clear: right;
margin: 0 0 0 1em;
width: 25%;
}
/* poprawa podwójnego obramowania, gdy w artykule znajduje się kilka amboksów */
table.ambox + table.ambox {border-top: 0 !important;}
.usermessage {
border-radius: 3px;
box-shadow: inset 0 0 3px white;
background: #00126F !important;
border: 1px solid #000618 !important;
color: white;
}
.usermessage a {color: #FEFD20;}
.usermessage a:visited {color: #FEEC22;}
table.table-rct {
font-size:7.5pt;
line-height:1.3em;
border:1px #aa1;
border-style:dashed none none none;
width: 100%;
}
table.table-rct th {text-align: right;}
table.table-rct *[colspan="2"] {text-align: center;}
table.table-rct th[colspan="2"] {border-top: 1px dashed #aa1;}
table.table-rct td[colspan="2"] {border-bottom: 1px dashed #aa1;}
table.table-rct td[colspan="2"] p {margin: 0;}
.rodzimy-kolor a,.inherit-color a {color: inherit !important;}
/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
[[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
#mw-subcategories ul {
list-style: none none !important;
margin-left: 0.25em !important;
}
.CategoryTreeChildren {margin-left: 1.25em !important;}
.linklista a {padding: 0 4px !important; padding-right: 4px !important; border-right: 1px solid #AAA;}
.linklista a:last-child {border-right: none !important;}
table#licbox {
margin: 0.5em 0;
width: 100%;
clear: both;
border: 2px;
border-style: solid solid none solid;
border-spacing: 0;
border-collapse: collapse;
}
#licbox #licname {text-align: right; padding: 0;}
#licbox.licbox-default {background-color: #f9f9f9; border-color: #e0e0e0;}
#licbox.licbox-none {background-color: #fff8f8; border-color: #f60000;}
#licbox.licbox-cc {background-color: #f8f8f8; border-color: #303030; text-align: center;}
#licbox.licbox-pd {background-color: #f7f8ff; border-color: #8888aa;}
#licbox.licbox-info {background-color: #f8f8ff; border-color: #6666cc;}
#licbox.licbox-free {background-color: #e2f2d2; border-color: #acce79;}
.licbox-default #licname {background: #e0e0e0;}
.licbox-none #licname {background: #f60000; color: white; text-shadow: -1px -1px #400;}
.licbox-cc #licname {background: #303030; color: white; text-shadow: -1px -1px #000;}
.licbox-pd #licname {background: #8888aa; color: white; text-shadow: -1px -1px #080810;}
.licbox-info #licname {background: #5555ff; color: white; text-shadow: -1px -1px #111133;}
.licbox-free #licname {background: #acce79; color: white; text-shadow: -1px -1px #1c2e00;}
figure.thumb, div.thumb {border-color: transparent !important;}
/* przypisy nie zwiększają odstępów między linijkami tekstu, z Uncy */
.reference { line-height: 90%; }
/* </pre> */
/* Ankiety */
.ajaxpoll {
border: none;
background: none;
width: auto;
max-width: 400px;
}
/* nie wiem co to jest i skąd to ale wywalam */
#jump-to-nav {
display: none;
}
/* żeby .restr na linię nagłówka nie właził*/
.mw-redirectedfrom {
display: block;
}
/* SZABLON INFORMATION I TE SPRAWY */
/* podświetlenie wiersza w Information nad którym znajduje się kursor */
.info-inner > tbody > tr:hover,
.information-template > tbody > tr:hover:not(#fileinforow_parts) {
background-color: #f1f1ff;
}
/* wewnętrzna tabela w {{information}} */
.info-inner {
width: 100%;
margin: -2px;
}
/* odstęp między szablonami */
.information-template + table,
table + .information-template {
margin-top: 1em;
}
/* odstęp od góry strony do czegokolwiek */
/* to jest żeby się przycisk od MultimediaViewera nie zlewał z resztą */
#mw-imagepage-content {
margin-top: 1em;
}
.info-inner td {
padding-left: 4px;
}
/* KONIEC O INFORMATION */
/* strona logowania */
#mw-createaccount-cta {
background: url(/images/5/53/Do%C5%82%C4%85cz_do_nas.png) no-repeat 50% !important;
}
/* style do druku */
@media print
{
.toc, .embedvideo
{
display: none !important;
}
}
/* ukryj zakładki edycji strony formularzem */
#ca-formedit {
display: none !important;
}
/* pasek ładowania SMW */
#mw-indicator-smw-entity-examiner {
height: 25px;
}
/* informacja o ciasteczkach */
.mw-cookiewarning-container {
top: unset !important;
bottom: 0;
}
/* </pre> </nowiki> */