MediaWiki:Common.css: Porovnání verzí
(Není zobrazeno 16 mezilehlých verzí od 3 dalších uživatelů.) | |||
Řádek 2: | Řádek 2: | ||
/** Volitelné styly wiki **/ | /** Volitelné styly wiki **/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | + | /* Active effect */ |
− | + | .item_background { | |
− | + | display: inline-block; | |
− | + | vertical-align: middle; | |
+ | position: relative; | ||
+ | top: 0px; | ||
+ | left: 0px; | ||
+ | line-height: 0%; | ||
} | } | ||
− | + | .item_item { | |
− | . | + | position: absolute; |
− | + | top: 0px; | |
− | |||
} | } | ||
− | + | .item_active { | |
− | + | -webkit-animation-name: item_active; | |
− | + | -webkit-animation-duration: 1s; | |
− | + | -webkit-animation-iteration-count: infinite; | |
+ | animation-name: item_active; | ||
+ | animation-duration: 1s; | ||
+ | animation-iteration-count: infinite; | ||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | background-repeat: no-repeat; | ||
} | } | ||
− | . | + | .item_active a { |
− | + | display: block; | |
} | } | ||
− | /** | + | /* Chrome, Safari, Opera */ |
− | + | @-webkit-keyframes item_active { | |
− | + | 0% { background-image: url('/images/2/29/Aktivovaný_101.png'); } | |
− | + | 8.33% { background-image: url('/images/2/25/Aktivovaný_102.png'); } | |
− | + | 16.66% { background-image: url('/images/2/25/Aktivovaný_103.png'); } | |
− | + | 25% { background-image: url('/images/4/44/Aktivovaný_104.png'); } | |
− | + | 33.33% { background-image: url('/images/8/84/Aktivovaný_105.png'); } | |
− | + | 41.66% { background-image: url('/images/e/e6/Aktivovaný_106.png'); } | |
− | + | 50% { background-image: url('/images/b/b7/Aktivovaný_107.png'); } | |
+ | 58.33% { background-image: url('/images/2/26/Aktivovaný_108.png'); } | ||
+ | 66.66% { background-image: url('/images/c/cf/Aktivovaný_109.png'); } | ||
+ | 75% { background-image: url('/images/3/30/Aktivovaný_110.png'); } | ||
+ | 83.33% { background-image: url('/images/6/6e/Aktivovaný_111.png'); } | ||
+ | 91.66% { background-image: url('/images/3/34/Aktivovaný_112.png'); } | ||
+ | 100% { background-image: url('/images/8/80/Aktivovaný_113.png'); } | ||
} | } | ||
− | . | + | /* Standard syntax */ |
− | + | @keyframes item_active { | |
− | + | 0% { background-image: url('/images/2/29/Aktivovaný_101.png'); } | |
− | + | 8.33% { background-image: url('/images/2/25/Aktivovaný_102.png'); } | |
− | + | 16.66% { background-image: url('/images/2/25/Aktivovaný_103.png'); } | |
+ | 25% { background-image: url('/images/4/44/Aktivovaný_104.png'); } | ||
+ | 33.33% { background-image: url('/images/8/84/Aktivovaný_105.png'); } | ||
+ | 41.66% { background-image: url('/images/e/e6/Aktivovaný_106.png'); } | ||
+ | 50% { background-image: url('/images/b/b7/Aktivovaný_107.png'); } | ||
+ | 58.33% { background-image: url('/images/2/26/Aktivovaný_108.png'); } | ||
+ | 66.66% { background-image: url('/images/c/cf/Aktivovaný_109.png'); } | ||
+ | 75% { background-image: url('/images/3/30/Aktivovaný_110.png'); } | ||
+ | 83.33% { background-image: url('/images/6/6e/Aktivovaný_111.png'); } | ||
+ | 91.66% { background-image: url('/images/3/34/Aktivovaný_112.png'); } | ||
+ | 100% { background-image: url('/images/8/80/Aktivovaný_113.png'); } | ||
} | } | ||
− | /* | + | /* Volitelné transparentní pozadí */ |
− | + | .transp-bg { | |
− | + | background: url("https://cz-wiki.metin2.gameforge.com/images/9/91/Transparentn%c3%ad_pozad%c3%ad.png") repeat; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | background: url(" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
border: 1px solid #000000; | border: 1px solid #000000; | ||
− | |||
border-top-right-radius: 5px; | border-top-right-radius: 5px; | ||
border-top-left-radius: 5px; | border-top-left-radius: 5px; | ||
Řádek 190: | Řádek 79: | ||
} | } | ||
− | + | .transp-bg2 { | |
− | + | background: url("https://cz-wiki.metin2.gameforge.com/images/9/91/Transparentn%c3%ad_pozad%c3%ad.png") repeat; | |
− | . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | background: url(" | ||
background-color: transparent !important; | background-color: transparent !important; | ||
} | } | ||
− | /* | + | /* Skryje nápis „Hlavní strana“ */ |
− | # | + | body.page-Hlavní_strana #catlinks, |
− | + | body.page-Hlavní_strana h1.firstHeading{ | |
− | + | display: none; | |
} | } | ||
− | /* | + | /* Vzhled hlaviček */ |
− | + | .header-bg { | |
− | + | background: url("https://cz-wiki.metin2.gameforge.com/images/1/12/Header-bg.png") repeat 0em 0em; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | background: url(" | ||
− | |||
− | |||
− | |||
color: rgb(254, 206, 88); | color: rgb(254, 206, 88); | ||
} | } | ||
− | + | .header-bg a { | |
− | + | color: #fece58; | |
− | + | text-decoration: none !important; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | # | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
li.gallerybox div.thumb, | li.gallerybox div.thumb, | ||
div.thumbinner { | div.thumbinner { | ||
− | background: url(" | + | background: url("https://cz-wiki.metin2.gameforge.com/images/9/91/Transparentn%c3%ad_pozad%c3%ad.png") repeat scroll 0% 0% transparent; |
border: 1px solid #6e300b; | border: 1px solid #6e300b; | ||
} | } | ||
Řádek 418: | Řádek 113: | ||
:focus { | :focus { | ||
outline: none; | outline: none; | ||
+ | } | ||
+ | |||
+ | .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; } | ||
+ | |||
+ | .klavesa { | ||
+ | background-color: rgb(247, 247, 247); | ||
+ | background-image: -webkit-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1)); | ||
+ | background-image: -moz-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1)); | ||
+ | background-image: -o-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1)); | ||
+ | background-image: linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1)); | ||
+ | border: 1px solid; | ||
+ | border-color: rgb(221, 221, 221) rgb(170, 170, 170) rgb(136, 136, 136) rgb(204, 204, 204); | ||
+ | border-radius: 2px; | ||
+ | padding: 0 .4em; | ||
+ | text-shadow: 0 1px rgba(255,255,255,.5); | ||
+ | white-space: nowrap; | ||
} | } |
Aktuální verze z 8. 10. 2021, 23:14
/* Zde uvedené CSS bude ovlivňovat všechny styly */
/** Volitelné styly wiki **/
/* Active effect */
.item_background {
display: inline-block;
vertical-align: middle;
position: relative;
top: 0px;
left: 0px;
line-height: 0%;
}
.item_item {
position: absolute;
top: 0px;
}
.item_active {
-webkit-animation-name: item_active;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
animation-name: item_active;
animation-duration: 1s;
animation-iteration-count: infinite;
position: absolute;
top: 0px;
background-repeat: no-repeat;
}
.item_active a {
display: block;
}
/* Chrome, Safari, Opera */
@-webkit-keyframes item_active {
0% { background-image: url('/images/2/29/Aktivovaný_101.png'); }
8.33% { background-image: url('/images/2/25/Aktivovaný_102.png'); }
16.66% { background-image: url('/images/2/25/Aktivovaný_103.png'); }
25% { background-image: url('/images/4/44/Aktivovaný_104.png'); }
33.33% { background-image: url('/images/8/84/Aktivovaný_105.png'); }
41.66% { background-image: url('/images/e/e6/Aktivovaný_106.png'); }
50% { background-image: url('/images/b/b7/Aktivovaný_107.png'); }
58.33% { background-image: url('/images/2/26/Aktivovaný_108.png'); }
66.66% { background-image: url('/images/c/cf/Aktivovaný_109.png'); }
75% { background-image: url('/images/3/30/Aktivovaný_110.png'); }
83.33% { background-image: url('/images/6/6e/Aktivovaný_111.png'); }
91.66% { background-image: url('/images/3/34/Aktivovaný_112.png'); }
100% { background-image: url('/images/8/80/Aktivovaný_113.png'); }
}
/* Standard syntax */
@keyframes item_active {
0% { background-image: url('/images/2/29/Aktivovaný_101.png'); }
8.33% { background-image: url('/images/2/25/Aktivovaný_102.png'); }
16.66% { background-image: url('/images/2/25/Aktivovaný_103.png'); }
25% { background-image: url('/images/4/44/Aktivovaný_104.png'); }
33.33% { background-image: url('/images/8/84/Aktivovaný_105.png'); }
41.66% { background-image: url('/images/e/e6/Aktivovaný_106.png'); }
50% { background-image: url('/images/b/b7/Aktivovaný_107.png'); }
58.33% { background-image: url('/images/2/26/Aktivovaný_108.png'); }
66.66% { background-image: url('/images/c/cf/Aktivovaný_109.png'); }
75% { background-image: url('/images/3/30/Aktivovaný_110.png'); }
83.33% { background-image: url('/images/6/6e/Aktivovaný_111.png'); }
91.66% { background-image: url('/images/3/34/Aktivovaný_112.png'); }
100% { background-image: url('/images/8/80/Aktivovaný_113.png'); }
}
/* Volitelné transparentní pozadí */
.transp-bg {
background: url("https://cz-wiki.metin2.gameforge.com/images/9/91/Transparentn%c3%ad_pozad%c3%ad.png") repeat;
border: 1px solid #000000;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
.transp-bg2 {
background: url("https://cz-wiki.metin2.gameforge.com/images/9/91/Transparentn%c3%ad_pozad%c3%ad.png") repeat;
background-color: transparent !important;
}
/* Skryje nápis „Hlavní strana“ */
body.page-Hlavní_strana #catlinks,
body.page-Hlavní_strana h1.firstHeading{
display: none;
}
/* Vzhled hlaviček */
.header-bg {
background: url("https://cz-wiki.metin2.gameforge.com/images/1/12/Header-bg.png") repeat 0em 0em;
color: rgb(254, 206, 88);
}
.header-bg a {
color: #fece58;
text-decoration: none !important;
}
li.gallerybox div.thumb,
div.thumbinner {
background: url("https://cz-wiki.metin2.gameforge.com/images/9/91/Transparentn%c3%ad_pozad%c3%ad.png") repeat scroll 0% 0% transparent;
border: 1px solid #6e300b;
}
html .thumbimage {
border: 1px solid #6e300b;
}
:focus {
outline: none;
}
.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; }
.klavesa {
background-color: rgb(247, 247, 247);
background-image: -webkit-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1));
background-image: -moz-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1));
background-image: -o-linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1));
background-image: linear-gradient(rgba(255,255,255,.4),rgba(0,0,0,.1));
border: 1px solid;
border-color: rgb(221, 221, 221) rgb(170, 170, 170) rgb(136, 136, 136) rgb(204, 204, 204);
border-radius: 2px;
padding: 0 .4em;
text-shadow: 0 1px rgba(255,255,255,.5);
white-space: nowrap;
}