Jak Wytresować Smoka Wiki
Jak Wytresować Smoka Wiki
mNie podano opisu zmian
Nie podano opisu zmian
Linia 5: Linia 5:
 
margin: 0 0 1em 1em;
 
margin: 0 0 1em 1em;
 
background: rgba(255, 255, 255, .5);
 
background: rgba(255, 255, 255, .5);
border: 1px solid white;
+
border: 1px solid #fff;
 
border-radius: 10px;
 
border-radius: 10px;
 
box-shadow: inset 0 0 15px #fff;
 
box-shadow: inset 0 0 15px #fff;
Linia 41: Linia 41:
 
/* Podpis obrazu */
 
/* Podpis obrazu */
 
.portable-infobox .pi-caption { line-height: normal; text-align: center }
 
.portable-infobox .pi-caption { line-height: normal; text-align: center }
  +
  +
/* Galerie obrazów */
  +
.portable-infobox .pi-image-collection-tabs { display: flex; flex-flow: row wrap }
  +
  +
.portable-infobox .pi-image-collection-tabs li { background: #900; border: 0; color: #fff; flex: 1; line-height: 1.5 }
  +
.portable-infobox .pi-image-collection-tabs li.current { background: #800 }
   
 
/* Wartości */
 
/* Wartości */

Wersja z 15:22, 16 paź 2017

/*** Kod odpowiadający za style przenośnych infoboksów na Jak Wytersować Smoka Wiki ***/
/* Infoboks */
.portable-infobox {
    width: 250px;
    margin: 0 0 1em 1em;
    background: rgba(255, 255, 255, .5);
    border: 1px solid #fff;
    border-radius: 10px;
    box-shadow: inset 0 0 15px #fff;
    font-size: 85%
}
.portable-infobox > .pi-item:first-child { border-radius: 10px 10px 0 0 }
.portable-infobox > .pi-item:last-child { border-radius: 0 0 10px 10px }

.portable-infobox .pi-border-color { border-color: #ccc }
.portable-infobox .pi-item-spacing { padding: 3px }

/* Tytuł */
.portable-infobox .pi-title {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #800;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: normal
}
.portable-infobox .pi-title br { content: "\A"; flex: 100% }
.portable-infobox .pi-title img { margin-right: 5px }

/* Nagłówek grupy */
.portable-infobox .pi-header {
    background: #800;
    color: #fff;
    font-weight: bold;
    line-height: initial;
    text-align: center
}

/* Podpis obrazu */
.portable-infobox .pi-caption { line-height: normal; text-align: center }

/* Galerie obrazów */
.portable-infobox .pi-image-collection-tabs { display: flex; flex-flow: row wrap }

.portable-infobox .pi-image-collection-tabs li { background: #900; border: 0; color: #fff; flex: 1; line-height: 1.5 }
.portable-infobox .pi-image-collection-tabs li.current { background: #800 }

/* Wartości */
.portable-infobox .pi-data { align-items: center }
.portable-infobox .pi-data-label { flex: 0 85px }
.portable-infobox .pi-data-value { flex: 1 }