MediaWiki:Common.css: Różnice pomiędzy wersjami

Z Life is Feudal Wiki
Skocz do: nawigacja, szukaj
Linia 74: Linia 74:
   
 
.header-tile {
 
.header-tile {
background: #30241e url('http://hydra-media.cursecdn.com/lifeisfeudal.gamepedia.com/2/2a/Header_tile.png') repeat-x 0em 0em;
+
background: #30241e url('https://lifeisfeudal.gamepedia.com/media/2/2a/Header_tile.png') repeat-x 0em 0em;
 
border: 1px solid #30241e;
 
border: 1px solid #30241e;
 
padding: 5px;
 
padding: 5px;

Wersja z 19:53, 27 lip 2018

/* CSS placed here will be applied to all skins */

/* INFOBOXES: game or book depended color style */
.infoboxtable {
    border: solid 3px rgba(0,0,0,.2);
    border-radius: 3px;
    border-collapse: separate;
    box-shadow: 0 0 3px 0 rgba(0,0,0,.2);
    background: rgba(0,0,0,.1);
    float:right; 
    font-size:89%; 
    color:white;
    margin-bottom:0.5em; 
    margin-left:1em; 
    padding:0.2em; 
    width:300px;
}

.infoboxtable td {
    vertical-align:top;
}

.infoboxname {
    font-size:110%; 
    font-weight:bold;
    padding:0.5em; 
}

.infoboxdetails, .infoboxdescription {
    padding:0em;
}

.infoboxname, .infoboxdetails, .infoboxdescription {
    background: rgba(0,0,0,.2);
}

.section-collapse {
    border-color: #d5d4d4;
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    cursor: pointer;
    display: inline-block;
    height: 7px;
    margin-right: 5px;
    position: relative;
    right: 0;
    top: 5px;
    transform: rotate(-45deg);
    vertical-align: middle;
    width: 7px;
}

.section-collapsed {
    display: none;
}

.collapsed-icon {
   margin-top: 1px;
   transform: rotate(135deg);
}

/* Headers */
.header-gradient {
    background: #fcfdfb; /* Old browsers */
    background: -moz-linear-gradient(top,  #fcfdfb 9%, #91827b 48%, #91827b 54%, #624a3d 92%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(9%,#fcfdfb), color-stop(48%,#91827b), color-stop(54%,#91827b), color-stop(92%,#624a3d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #fcfdfb 9%,#91827b 48%,#91827b 54%,#624a3d 92%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #fcfdfb 9%,#91827b 48%,#91827b 54%,#624a3d 92%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #fcfdfb 9%,#91827b 48%,#91827b 54%,#624a3d 92%); /* IE10+ */
    background: linear-gradient(to bottom,  #fcfdfb 9%,#91827b 48%,#91827b 54%,#624a3d 92%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfdfb', endColorstr='#624a3d',GradientType=0 ); /* IE6-9 */
}

.header-tile {
    background: #30241e url('https://lifeisfeudal.gamepedia.com/media/2/2a/Header_tile.png') repeat-x 0em 0em; 
    border: 1px solid #30241e;
    padding: 5px;
}

/********************
/* Main Page styles *
/********************/

table.main-page-layout {
    width: 100%;
    width: calc(100% + 2em);
    border-spacing: 1em;
    margin-left: -1em;
    margin-right: -1em;
}

table.main-page-layout > tr > td,
table.main-page-layout > * > tr > td {
    padding: .5em;
    vertical-align: top;
    border: solid 3px rgba(0,0,0,.2);
    border-radius: 3px;
    box-shadow: 0 0 3px 0 rgba(0,0,0,.2);
    background: rgba(0,0,0,.1);
}

.main-page-heading {
    font-size: 120%;
    border-bottom: 3px solid rgba(0,0,0,.2);
    margin-bottom: .5em;
}