MediaWiki:Common.css: Porovnání verzí

Řádek 2: Řádek 2:
  
 
/** Volitelné styly wiki **/
 
/** Volitelné styly wiki **/
 +
 +
body { overflow-x: scroll!important; }
  
 
/* Active effect */
 
/* Active effect */

Verze z 27. 7. 2018, 21:10

/* Zde uvedené CSS bude ovlivňovat všechny styly */

/** Volitelné styly wiki **/

body { overflow-x: scroll!important; }

/* 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("http://wiki.metin2.cz/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("http://wiki.metin2.cz/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("http://wiki.metin2.cz/images/1/12/Header-bg.png") repeat 0em 0em;
    color: rgb(254, 206, 88);
}

/* Doplněk pro nový vzhled hlavičky tabulek */
.header-bg a,
.header-bg a:visited {
    color: rgb(254, 206, 88);
}

.header-bg a:new {
    color: rgb(241, 222, 142);
}

/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */
 
table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the */
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;    /* are styled here so they can be customised.             */
        text-align: right;
        width: auto;
}

/* Nový puntík do seznamů */
ul {
    list-style-image: url("http://wiki.metin2.cz/images/4/4b/MinusS.png");
}

/* <ul> posnuto doprava */
.mw-content-ltr ul {
    margin: 0.3em 0px 0px 1.6em;
    padding: 0px;
}

/* <ul> v navigačních oknech posuunto doprava */
.portletNavMiddle UL {
    padding: 0px 0px 1px 32px;
}

/* Přebarvení tlačítka „Rozbalit/Sbalit“ */
th .mw-collapsible-toggle a {
        color: rgb(254, 206, 88);
}

/* Přidání obrázku na znamení externího odkazu */
#bodyContent a.external,
#bodyContent a.external[href^="gopher://"] {
    background: url("http://wiki.metin2.cz/images/a/af/External-link.png") no-repeat scroll right center transparent;
    padding-right: 13px;
}

/* Pozadí wiki */
div#content {
    border-width: 0px;
    background: url("http://wiki.metin2.cz/images/6/6c/Main_background.png") repeat-y;
    width: 888px !important;
    max-width: 888px !important;
    padding: 0 .8em 1em 1em !important;
}

/* Nové záhlaví pro názvy stránek. Např. Hlavní strana */
h1.firstHeading {
    background: url("http://wiki.metin2.cz/images/9/95/Title_background.png") no-repeat scroll right bottom transparent;
    display: table-cell;
    height: 65px;
    position: relative;
    vertical-align: middle;
    width: 880px;
    color: #fece58;
    text-indent: 50px;
    border-bottom: 0px;
    font-weight: none;
}

/* Nový vzhled pro nadpis 2. úrovně */
h2 {
    background: url("http://wiki.metin2.cz/images/7/72/M2_logo.png") no-repeat scroll left transparent;
    color: #7b1300;
    text-indent: 35px;
    border-bottom: 2px dashed #7b1300;
    font-weight: bold;
}

h2 a,
h3 a,
h4 a,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h2 a:visited,
h3 a:visited,
h4 a:visited {
    color: #7b1300;
}

/* Nový vzhled pro nadpis 3. úrovně */
h3 {
    background: url("http://wiki.metin2.cz/images/a/aa/M2_logo_2.png") no-repeat scroll left transparent;
    color: #7b1300;
    border-bottom: 2px dashed #7b1300;
    text-indent: 17px;
}

/* Nový vzhled pro nadpis 4. úrovně */
h4 {
    color: #7b1300;
    border-bottom: 2px dashed #7b1300;
}

/*.editsection a,
.editsection a:visited {
    color: #0667d2;
}

.mw-content-ltr .editsection {
    float: right;
    margin: 0 5px 0 0;
}*/

/* Nový vzhled pro sekci Kategorie v záhlaví stránek */
#catlinks,
.catlinks {
    color: rgb(241, 222, 142);
    border-radius: 5px;	
    border-width: 2px;	
    border-style: solid;	
    border-right: 1px solid rgb(110, 48, 11);	
    border-color: rgb(254, 206, 88) rgb(110, 48, 11) rgb(110, 48, 11);	
    background: -moz-linear-gradient(center top , rgb(35, 5, 0) 0px, rgb(44, 7, 0) 50%, rgb(69, 10, 0) 100%);
    background: -webkit-linear-gradient(top, #230500 0%, #2C0700 50%, #450A00 100%);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-color: transparent;
}

#catlinks a,
.catlinks a,
#catlinks a:visited,
.catlinks a:visited {
    color: rgb(254, 206, 88);
}

/* Změna Obsahu (__TOC__) */
#toc,
.toc,
.mw-warning {
    background: url("http://wiki.metin2.cz/images/9/91/Transparentn%C3%AD_pozad%C3%AD.png") repeat;
    border: 1px solid #000000;
    color: #FFFFFF;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    display: table;
}

/* Doplněk pro Obsah (__TOC__) */
#toc h2,
.toc h2 {
    background: none;
    color: #FFFFFF;
}

/* Nový vzhled pro tag <pre> (viz tato stránka) */
pre {
    border: 1px dashed rgb(0, 0, 0);
    color: black;
    background: url("http://wiki.metin2.cz/images/9/91/Transparentn%C3%AD_pozad%C3%AD.png") repeat;
    background-color: transparent !important;
}

/* Posunutí textů pod novým nadpisem */
#contentSub,
#contentSub2 {
    margin: 1em 0px 1.4em 1em;
}

/* Nový vzhled pro vodorovné rozdělení/čáru */
hr {
    color: #6e300b;
    background-color: #6e300b;
}

ul#filetoc {
    text-align: center;
    border: 1px solid #6e300b;
    background: url("http://wiki.metin2.cz/images/1/12/Header-bg.png") repeat 0em 0em;
}

#filetoc li a {
    color: rgb(254, 206, 88);
}

table.mw_metadata td,
table.mw_metadata th {
    border: 1px solid #6e300b;
    background: url("http://wiki.metin2.cz/images/9/91/Transparentn%C3%AD_pozad%C3%AD.png") repeat 0em 0em;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background: url("http://wiki.metin2.cz/images/1/12/Header-bg.png") repeat 0em 0em;
    border: 1px solid #6e300b;
    text-align: center;
    color: #f0d9a2;
}

table.wikitable > tr > td,
table.wikitable > * > tr > td {
    background-color: #f0d9a2;
    border: 1px solid #6e300b;
    padding: 0.2em;
}

img.thumbborder {
    border: 1px solid rgb(110, 48, 11);
}

fieldset {	
    border: 1px solid rgb(110, 48, 11);	
}
	
.mw-htmlform-submit {
    color: rgb(254,206,88);
    border-radius: 5px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(254,206,88) rgb(110,48,11) rgb(110,48,11);
    background: -moz-linear-gradient(center top ,rgb(35,5,0) 0px,rgb(44,7,0) 50%,rgb(69,10,0) 100%);
    background: -webkit-linear-gradient(top, #230500 0%, #2C0700 50%, #450A00 100%);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-color: transparent;
}
	
#preferences {	
    border-color: rgb(110, 48, 11);	
    background: url("http://wiki.metin2.cz/images/9/91/Transparentn%C3%AD_pozad%C3%AD.png") repeat;	
    background-color: transparent !important;	
}
	
.prefsection fieldset {	
    background: url("http://wiki.metin2.cz/images/9/91/Transparentn%C3%AD_pozad%C3%AD.png") repeat;	
    border: 1px solid rgb(0, 0, 0);	
    border-top-right-radius: 5px;	
    border-top-left-radius: 5px;	
    border-bottom-right-radius: 5px;	
    border-bottom-left-radius: 5px;	
}

.prefsection fieldset a.new {
    color: #ba0000;
}
	
td.htmlform-tip {	
    color: rgb(153, 0, 0);	
}
	
.prefsection legend {	
    color: rgb(153, 0, 0);	
}

#prefcontrol {
    padding: .2em;
}
	
#preftoc li a,	
#preftoc li a:active {	
    margin-left: 0.2em;	
    border-radius: 5px;	
    border-width: 2px;	
    border-style: solid;	
    border-right: 1px solid rgb(110, 48, 11);	
    border-color: rgb(254, 206, 88) rgb(110, 48, 11) rgb(110, 48, 11);	
    background: -moz-linear-gradient(center top , rgb(35, 5, 0) 0px, rgb(44, 7, 0) 50%, rgb(69, 10, 0) 100%);
    background: -webkit-linear-gradient(top, #230500 0%, #2C0700 50%, #450A00 100%);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-color: transparent;	
}

#preftoc a,
#preftoc a:active {
    display: inline-block;
    position: relative;
    color: rgb(254, 206, 88);
    padding: 0.25em;
    font-size: 0.9em;
}
	
#preftoc li,
#preftoc li.selected {
    background-color: transparent;
    border-width: 0px;	
}

#preftoc li:first-child {
    margin-left: 0.2em;	
}
	
#preftoc li a:hover,	
#preftoc li.selected a {	
    color: rgb(255, 255, 255);	
    text-decoration: none;	
    border-radius: 5px;	
    border-width: 2px;
    border-style: solid;	
    border-color: rgb(254, 206, 88) rgb(110, 48, 11) rgb(110, 48, 11);	
    background: linear-gradient(to bottom, rgb(75, 11, 0) 0px, rgb(57, 8, 0) 100%) repeat scroll 0% 0% transparent;	
}
	
#p-personal {
    background-image: url(http://gf1.geo.gfsrv.net/cdnfa/ac42d4c2f0669e88f3352cfe1b225b.png);
    background-repeat: repeat-x;
    background-color: transparent;
    height: 32px;
    vertical-align: middle;
    padding-top: 0px;
}

#p-personal ul {
    line-height: 28px;
}

#p-personal li a:hover {
    background-color: transparent;
}

#p-cactions {
    top: 1.4em;
}

#p-cactions li {	
    border-style: none;	
}

#p-cactions li a {	
    border-radius: 5px 5px 0px 0px;	
    border-width: 1px;	
    border-style: solid;	
    border-right: 1px solid rgb(110, 48, 11);	
    border-color: rgb(254, 206, 88) rgb(110, 48, 11) rgb(110, 48, 11);	
    background: -moz-linear-gradient(center top , rgb(35, 5, 0) 0px, rgb(44, 7, 0) 50%, rgb(69, 10, 0) 100%);
    background: -webkit-linear-gradient(top, #230500 0%, #2C0700 50%, #450A00 100%);
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-color: transparent;
    padding: 0.3em 0.8em 0em;	
}

#p-cactions li a:hover, #p-cactions li.selected a {
    color: rgb(255,255,255);
    border-radius: 5px 5px 0px 0px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(254,206,88) rgb(110,48,11) rgb(110,48,11) !important;
    background: linear-gradient(to bottom,rgb(75,11,0) 0px,rgb(57,8,0) 100%) repeat scroll 0% 0% transparent;
    padding: 0.3em 1em 0em !important;
}

#p-cactions .new a:hover {	
    color: rgb(255, 0, 0);	
}

li.gallerybox div.thumb,
div.thumbinner {
    background: url("http://wiki.metin2.cz/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;
}