MediaWiki:Common.css
Poznámka: Po zveřejnění musíte vyprázdnit cache vašeho prohlížeče, jinak změny neuvidíte.
- Firefox / Safari: Při kliknutí na Aktualizovat držte Shift nebo stiskněte Ctrl-F5 nebo Ctrl-R (na Macu ⌘-R)
- Google Chrome: Stiskněte Ctrl-Shift-R (na Macu ⌘-Shift-R)
- Internet Explorer / Edge: Při kliknutí na Aktualizovat držte Ctrl nebo stiskněte Ctrl-F5
- Opera: Stiskněte Ctrl-F5.
/* Zde uvedené CSS bude ovlivňovat všechny styly */
/*
=== Šachovnice na pozadí ===
*/
#file img {background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}
/*
=== Citace ===
*/
cite.citace {
font-style: normal;
}
/*
=== Třísloupcový layout ===
*/
div.column-layout-3columns-all {
float: left;
margin-left: 2%;
width: 32%;
}
div.column-layout-3columns-first {
clear: left;
margin-left: 0;
}
/*
=== Dvousloupcový layout 2:1 ===
*/
div.column-layout-2columns21-first {
float: left;
width: 66%;
}
div.column-layout-2columns21-last {
float: right;
width: 32%;
}
/*
=== stromy kategorií ===
*/
#mw-subcategories ul {
list-style: none;
margin-left: .2em;
}
span.CategoryTreeLoaded,
span.CategoryTreeToggle {
color: #0645ad;
}
span.CategoryTreeEmptyBullet {
color: #ccc;
}
/*
=== Cedule ===
*/
div.label {
border: medium solid #000;
-moz-border-radius: .5em;
-o-border-radius: .5em;
-webkit-border-radius: .5em;
border-radius: .5em;
-moz-box-shadow: .5em .5em .5em #000;
-o-box-shadow: .5em .5em .5em #000;
-webkit-box-shadow: .5em .5em .5em #000;
box-shadow: .5em .5em .5em #000;
-moz-box-shadow: .5em .5em .5em rgba(0, 0, 0, 0.7);
-o-box-shadow: .5em .5em .5em rgba(0, 0, 0, 0.7);
-webkit-box-shadow: .5em .5em .5em rgba(0, 0, 0, 0.7);
box-shadow: .5em .5em .5em rgba(0, 0, 0, 0.7);
overflow: hidden;
padding: 1em;
width: auto;
}
div.label-pageinfo {
margin: 0 auto 2em auto;
text-align: center;
width: 40em;
}
div.label-pageinfo-type-delete {
border-color: #c00;
}
div.label-pageinfo-type-info {
border-color: #aaa;
}
div.label-pageinfo-type-maintenance {
border-color: #fabd23;
}
div.label-pageinfo-type-move {
border-color: #909;
}
div.label-pageinfo-type-status {
border-color: #002bb8;
}
div.label hr {
border-color: inherit;
border-style: solid;
border-width: thin;
clear: both;
height: 0;
margin: 1em 0;
}
div.label_image {
float: left;
}
div.label_message {
overflow: hidden;
width: auto;
}
div.label_message_headline {
font-size: 132%;
font-weight: bold;
margin: 0 0 .5em 48px;
padding-left: 1em;
text-align: center;
}
div.label_message_headline-noimage {
margin: 0 0 .5em 0;
padding-left: 0;
}
div.label_message_text {
font-style: italic;
margin-left: 48px;
padding-left: 1em;
text-align: justify;
}
div.label_message_text-noimage {
margin-left: 0;
padding-left: 0;
}
div.label_message_text p {
margin: 0;
}
div.label_message_text p + p {
margin-top: .5em;
}
div.label_note {
overflow: hidden;
width: auto;
}
div.label_note_text {
font-size: smaller;
margin: 0 0 0 16px;
padding-left: 1em;
text-align: justify;
}
div.label_note_text p {
margin: 0;
}
div.label_note_text p + p {
margin-top: .5em;
}
/* dočasný hack, než bude opraven nedostatek v definicích WikiEditoru */
.wikiEditor-ui-toolbar .label {
border-radius: 0;
box-shadow: none;
padding: 0;
}
/*
=== Nálepka ===
*/
table.userbox {
border: 1px solid #aaa;
border-collapse: collapse;
height: 45px;
width: 240px;
}
table.userbox td.userbox_id {
background-color: #f2f2f2;
color: #000;
font-size: larger;
height: 45px;
text-align: center;
width: 45px;
}
table.userbox td.userbox_info {
background-color: #f9f9f9;
color: #000;
font-size: smaller;
line-height: 1.25em;
padding: .2em .4em;
}
/*
=== Vítejte ===
*/
div.vitejte {
background-color: #f9f9f9;
color: #000;
border: 1px solid #39f;
padding: 0 .5em;
}
/**
* @brief [[Šablona:Popis udělátka]]
*
* @author [[meta:User:Danny B.]]
*/
.gadget-description {
display: block;
}
.gadget-description dfn {
display: block;
padding: 0 .4em;
}
.gadget-description dfn:before {
cursor: pointer;
font-family: 'Courier New', monospace;
font-style: normal;
}
.gadget-description .mw-collapsible dfn:before {
content: "▼ ";
}
.gadget-description .mw-collapsed dfn:before {
content: "► ";
}
.gadget-details {
display: block;
padding: .2em .4em .2em 1.8em;
}
#mw-htmlform-gadgets .mw-htmlform-flatlist-item {
overflow: auto;
width: auto;
}
#mw-htmlform-gadgets .mw-htmlform-flatlist-item input,
#mw-htmlform-gadgets .mw-htmlform-flatlist-item label {
float: left;
}
/**
* @brief Odlišení kategorií
*
* @author [[meta:User:Danny B.]]
*/
#catlinks a[title^="Kategorie:Monitoring:"],
body.ns--1 .special a[title^="Kategorie:Monitoring:"] {
color: #999;
}
body.ns-0 #catlinks a[title^="Kategorie:Údržba:"],
body.ns--1 .special a[title^="Kategorie:Údržba:"] {
color: #f80;
}
/**
* @brief {{Perex}}
*
* @author [[meta:User:Danny B.]]
*/
li p.perex {
margin: auto 0 auto 1em;
}
/**
* @brief List kalendáře
*
* @author [[meta:User:Danny B.]]
*/
.calendarSheet {
background: #eee;
background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
background: -moz-linear-gradient(top, #eee, #ccc);
-moz-border-radius: .5em;
-webkit-border-radius: .5em;
border-radius: .5em;
-moz-box-shadow: 0 .2em .2em #888;
-webkit-box-shadow: 0 .2em .2em #888;
box-shadow: 0 .2em .2em #888;
color: #000;
cursor: default;
display: block;
margin: 0;
padding: .5em 0 0 0;
position: relative;
text-align: center;
width: 8em;
}
.calendarSheet::before,
.calendarSheet::after {
background: #111;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
border-radius: 1em;
-moz-box-shadow: 0 .1em .1em #347bff;
-webkit-box-shadow: 0 .1em .1em #347bff;
box-shadow: 0 .1em .1em #347bff;
content:'';
height: .8em;
position: absolute;
top: .5em;
width: .8em;
z-index: 1;
}
.calendarSheet::before {
left: 1.1em;
}
.calendarSheet::after {
right: 1.1em;
}
.calendarSheet time {
display: block;
height: 8em;
line-height: 1.2em;
position: relative;
text-shadow: #fff 0 .1em 0;
}
.calendarSheet time::before,
.calendarSheet time::after {
background: #ccc;
background: -webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#999));
background: -moz-linear-gradient(top, #f1f1f1, #999);
background: linear-gradient(#f1f1f1 0%, #999 100%);
-moz-border-radius: .2em;
-webkit-border-radius: .2em;
border-radius: .2em;
content: '';
height: 1.5em;
position: absolute;
top: -1em;
width: .4em;
z-index: 2;
}
.calendarSheet time::before {
left: 1.3em;
}
.calendarSheet time::after {
right: 1.3em;
}
.calendarSheet-dayName {
bottom: .3em;
display: block;
font-size: 80%;
position: absolute;
width: 100%;
}
.calendarSheet-day {
display: block;
font-size: 300%;
font-weight: bold;
position: absolute;
top: 1em;
width: 100%;
}
.calendarSheet-dmSeparator {
display: none;
}
.calendarSheet-monthName {
display: block;
position: absolute;
top: 5em;
width: 100%;
}
.calendarSheet-year {
background: #2456b3;
background: -webkit-gradient(linear, left top, left bottom, from(#347bff), to(#2456b3));
background: -moz-linear-gradient(top, #347bff, #2456b3);
background: linear-gradient(#347bff 0%, #2456b3 100%);
border-bottom: .1em dashed #ddd;
-moz-border-radius-topleft: .5em;
-webkit-border-top-left-radius: .5em;
border-top-left-radius: .5em;
-moz-border-radius-topright: .5em;
-webkit-border-top-right-radius: .5em;
border-top-right-radius: .5em;
color: #fff;
display: block;
height: 1.8em;
line-height: 1.8em;
position: absolute;
text-shadow: #347bff 0 .1em 0;
top: -.5em;
width: 100%;
}
.calendarSheet a:hover {
text-decoration: none;
}
.calendarSheet-day a,
.calendarSheet-monthName a {
color: #2456b3;
cursor: pointer;
}
.calendarSheetHoliday .calendarSheet-day a,
.calendarSheetHoliday .calendarSheet-monthName a {
color: #85120c;
}
.calendarSheetHoliday .calendarSheet-year {
background: #85120c;
background: -webkit-gradient(linear, left top, left bottom, from(#d11d13), to(#85120c));
background: -moz-linear-gradient(top, #d11d13, #85120c);
background: linear-gradient(#d11d13 0%, #85120c 100%);
text-shadow: #d11d13 0 .1em 0;
}
.calendarSheetHoliday::before,
.calendarSheetHoliday::after {
-moz-box-shadow: 0 .1em .1em #d11d13;
-webkit-box-shadow: 0 .1em .1em #d11d13;
box-shadow: 0 .1em .1em #d11d13;
}
.calendarSheet .ribbon {
top: 0em;
height: 8.9em;
overflow: hidden;
position: absolute;
left: 0em;
text-align: center;
width: 8.5em;
z-index: 1;
}
.calendarSheet .ribbon a.external {
background: #9cf;
background: -webkit-gradient(linear, left top, left bottom, from(#d11d13), to(#85120c));
background: -moz-linear-gradient(top, #d11d13, #85120c);
background: linear-gradient(#d11d13 0%, #85120c 100%);
bottom: 1.5em;
-moz-box-shadow: 0 .3em 1em -.5em rgba(0, 0, 0, 1);
-webkit-box-shadow: 0 .3em 1em -.5em rgba(0, 0, 0, 1);
box-shadow: 0 .3em 1em -.5em rgba(0, 0, 0, 1);
color: #fff;
display: block;
font-size: .8em;
font-weight: bold;
line-height: 1.6em;
padding: 0;
position: absolute;
right: -1.6em;
text-transform: uppercase;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
width: 8em;
}
.calendarSheet .ribbon a::before {
border-left: .3em solid #85120c;
border-right: .3em solid transparent;
border-top: .3em solid transparent;
border-bottom: .3em solid #85120c;
bottom: 100%;
content: '';
left: 0;
position: absolute;
z-index: -1;
}
.calendarSheet .ribbon a::after {
border-right: .3em solid #85120c;
border-left: .3em solid transparent;
border-top: .3em solid transparent;
border-bottom: .3em solid #85120c;
bottom: 100%;
content: '';
position: absolute;
right: 0;
z-index: -1;
}
/**
* @brief Součásti hlavní strany
*
* @author [[meta:User:Danny B.]]
*/
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList {
border: .1em solid #ccc;
border-radius: .5em;
clear: both;
margin: 1em 0;
min-height: 13.2em;
overflow: auto;
padding: 1em;
position: relative;
width: auto;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList h3.calendarSheet {
border: none;
font-size: 100%;
font-weight: normal;
line-height: 1;
margin: 0;
overflow: visible;
position: absolute;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-addNews {
display: table-cell;
overflow: hidden;
padding-left: 12em;
vertical-align: middle;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-addNews a.external {
background: #00af89;
background: -webkit-gradient(linear, left top, left bottom, from(#00af89), to(#00634e));
background: -moz-linear-gradient(top, #00af89, #00634e);
background: linear-gradient(#00af89 0%, #00634e 100%);
border: .1em solid #00634e;
border-radius: .5em;
color: #fff;
display: inline-block;
font-weight: bold;
padding: .6em 1.2em;
text-align: center;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-newsList {
display: table;
height: 13.2em;
width: 100%;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-newsList ul {
display: block;
margin: 0 0 -1em 9em;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-newsList ul.deaths {
margin: auto;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-newsList li {
background: #f6f6f6;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
background: -moz-linear-gradient(top, #fff, #eee);
border: .1em solid #ddd;
border-radius: .5em;
-moz-box-shadow: 0 .2em .2em #ccc;
-webkit-box-shadow: 0 .2em .2em #ccc;
box-shadow: 0 .2em .2em #ccc;
display: block;
list-style-type: none;
margin-bottom: 1em;
padding: .2em .4em;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-newsList ul.deaths li {
background: none;
border: none;
box-shadow: none;
margin: auto;
padding: 0;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-newsList ul.deaths li::before {
content: "†";
margin-right: .5em;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-newsList small {
background: #f6f6f6;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
background: -moz-linear-gradient(top, #fff, #eee);
border: .1em solid #ddd;
border-radius: .5em;
bottom: 1em;
-moz-box-shadow: 0 .2em .2em #ccc;
-webkit-box-shadow: 0 .2em .2em #ccc;
box-shadow: 0 .2em .2em #ccc;
display: block;
font-size: 100%;
padding: .2em 0em;
position: absolute;
left: .9em;
line-height: 1.6em;
text-align: center;
width: 8em;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-dayList div.mainpage-newsList small time {
display: block;
}
body.page-Wikizprávy_Hlavní_strana div.mw-content-ltr h2:not(.diff-currentversion-title) {
background: #2456b3;
background: -webkit-gradient(linear, left top, left bottom, from(#347bff), to(#2456b3));
background: -moz-linear-gradient(top, #347bff, #2456b3);
background: linear-gradient(#347bff 0%, #2456b3 100%);
border: .1em solid #2456b3;
border-radius: .5em;
font-family: inherit;
font-size: 100%;
margin: 1em 0;
padding: 1em;
text-align: center;
}
body.page-Wikizprávy_Hlavní_strana div.mw-content-ltr h2:not(.diff-currentversion-title) span {
color: #fff;
font-size: x-large;
}
body.page-Wikizprávy_Hlavní_strana div.mainpage-Wikinews,
body.page-Wikizprávy_Hlavní_strana div.mainpage-sisterProjects {
border: .1em solid #ccc;
border-radius: .5em;
margin: 1em 0;
padding: 1em;
text-align: center;
}
/**
* @brief {{Denní přehled}}
*
* @author [[meta:User:Danny B.]]
*/
#DailyNewsHeader {
background-color: #f9f9f9;
border: .1em solid #aaa;
text-align: center;
}
#DailyNewsHeader #toc {
background: none;
border: none;
border-top: .1em solid #aaa;
display: block;
font-size: 100%;
padding: .4em 0;
}
#DailyNewsHeader #toc ul {
display: block;
margin: 0;
padding: 0;
text-align: center;
}
#DailyNewsHeader #toc li {
display: inline;
margin: 0;
padding: .2em .4em;
}
#DailyNewsHeader #toc .toctitle {
display: none;
}
#DailyNewsHeader #toc .tocnumber {
display: none;
}
#DailyNewsHeader #toc .toctext {
display: inline;
}
/**
* @brief [[MediaWiki:Edittools]]
*
* @author [[meta:User:Danny B.]]
*/
div.mw-editTools {
margin-top: 1em;
}
#mw-editTools-inner {
border: 1px solid #ccc;
cursor: default;
font-family: 'Courier New', monospace;
max-height: 10em;
overflow: auto;
padding: .2em .4em;
}
#mw-editTools-inner dfn {
display: block;
font-family: sans-serif;
font-style: normal;
font-weight: bold;
}
#mw-editTools-inner span.mw-collapsible-toggle {
display: block;
float: none;
font-family: sans-serif;
}
#mw-editTools-inner p a {
background-color: #f7f7f7;
border: 1px solid #ccc;
border-radius: 3px;
color: #333;
display: inline-block;
font-weight: bold;
margin: .2em 0;
padding: 0em .5em;
text-shadow: 0 1px 0 #fff;
vertical-align: middle;
white-space: nowrap;
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
}
#mw-editTools-inner p span.space {
border: 1px solid transparent;
display: inline-block;
font-weight: bold;
margin: .2em 0;
padding: 0em .5em;
vertical-align: middle;
white-space: nowrap;
}
#mw-editTools-inner p a:hover {
text-decoration: none;
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 0 0 2px #fff inset, 0 0 3px 3px rgba(153, 204, 255, .9);
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 0 0 2px #fff inset, 0 0 3px 3px rgba(153, 204, 255, .9);
box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 0 0 2px #fff inset, 0 0 3px 3px rgba(153, 204, 255, .9);
}
/**
* @brief Jednoduchý box posloupnosti
*
* @author [[meta:User:Danny B.]]
*/
.sequenceBoxSimple {
background-color: #f9f9f9;
border: .1em solid #aaa;
border-radius: .4em;
padding: .2em .4em;
text-align: center;
}