Przejdź do zawartości

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

m
css dla strony głównej
m (liga)
m (css dla strony głównej)
Linia 1: Linia 1:
/* CSS placed here will affect users of the mobile site */
/* CSS placed here will affect users of the mobile site */
/* Strona główna */
#mainpage {
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 10px;
}
#mainpageheader {
    text-align: center;
}
#mainpage .block {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border: 1px solid black;
    margin-bottom: 10px;
}
#mainpage .block.centertext p {
    text-align: center;
}
#mainpage .block.cat img {
    width: 100%;
    height: auto;
}
#mainpage .block>*:first-child {
    margin-top: 0px;
    padding-top: 0px;
}
#mainpage .block.randomimage .thumb {
    margin: 0.5em 0;
}
#mainpage .block.randomimage .thumbinner {
    width: auto !important;
    max-width: 15vw;
}
#mainpage .block.randomimage .thumbinner .thumbcaption {
    display: none;
}
#mainpage .block.randomimage .thumbinner .thumbimage {
    max-width: 100%;
    height: auto;
    background-color: transparent;
    border: none;
}
@media only screen and (max-width: 750px) {
  #mainpage {
    grid-template-columns: 100%;
  }
  #mainpageheader {
    grid-column-start: span 1;
    text-align: center;
  }
}


/* spoilery */
/* spoilery */