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

Z WikiPasy.pl - Encyklopedia KS Cracovia
Przejdź do nawigacji Przejdź do wyszukiwania
Linia 1: Linia 1:
/* Umieszczony tutaj kod CSS wpłynie na wygląd skórki Wektor */
/* Umieszczony tutaj kod CSS wpłynie na wygląd skórki Wektor */


@media only screen and (max-width: 640px) {
.img-fluid {
  max-width: 100px;
  height: auto;
}
 
.main-page-scores {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
}
 
/* Media query dla ekranów o szerokości maksymalnie 768px (np. tablety) */
@media only screen and (max-width: 768px) {
   .img-fluid {
   .img-fluid {
     max-width: 50px;
     max-width: 80px;
     height: auto;
     height: auto;
   }
   }
Linia 9: Linia 21:
   .main-page-scores {
   .main-page-scores {
     display: grid;
     display: grid;
     grid-template-columns: repeat(1, minmax(0, 1fr));
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 0.5rem;
     gap: 0.5rem;
   }
   }
}
}


@media only screen and (min-width: 641px) {
/* Media query dla ekranów o szerokości maksymalnie 480px (np. smartfony) */
@media only screen and (max-width: 480px) {
   .img-fluid {
   .img-fluid {
     max-width: 100px;
     max-width: 40px;
     height: auto;
     height: auto;
   }
   }

Wersja z 22:40, 3 sie 2024

/* Umieszczony tutaj kod CSS wpłynie na wygląd skórki Wektor */

.img-fluid {
  max-width: 100px;
  height: auto;
}

.main-page-scores {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
}

/* Media query dla ekranów o szerokości maksymalnie 768px (np. tablety) */
@media only screen and (max-width: 768px) {
  .img-fluid {
    max-width: 80px;
    height: auto;
  }

  .main-page-scores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

/* Media query dla ekranów o szerokości maksymalnie 480px (np. smartfony) */
@media only screen and (max-width: 480px) {
  .img-fluid {
    max-width: 40px;
    height: auto;
  }

  .main-page-scores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
}