Vorlage:Karte Pokédex/style.css: Unterschied zwischen den Versionen

Aus PokéWiki
Navigation Suche
(Die Seite wurde neu angelegt: „.pokedex { border-radius: 0.5em; text-align: center; width: 50%; margin:0 0 1em 0; } .pokedex .datenZeile { font-weight: bold; width: 20%; } .pokedex .…“)
 
K
Zeile 1: Zeile 1:
.pokedex {
+
.karte-pokedex {
 
border-radius: 0.5em;
 
border-radius: 0.5em;
 
text-align: center;
 
text-align: center;
Zeile 6: Zeile 6:
 
}
 
}
  
.pokedex .datenZeile {
+
.karte-pokedex tr:first-child td:first-child {
 +
border-top-left-radius: 0.5em;
 +
}
 +
 
 +
.karte-pokedex tr:first-child td:last-child {
 +
border-top-right-radius: 0.5em;
 +
}
 +
 
 +
.karte-pokedex tr:last-child td:first-child {
 +
border-bottom-left-radius: 0.5em;
 +
}
 +
 
 +
.karte-pokedex tr:last-child td:last-child {
 +
border-bottom-right-radius: 0.5em;
 +
}
 +
 
 +
.karte-pokedex .datenZeile {
 
font-weight: bold;
 
font-weight: bold;
 
width: 20%;
 
width: 20%;
 
}
 
}
  
.pokedex .speziesZeile {
+
.karte-pokedex .speziesZeile {
 
font-weight: bold;
 
font-weight: bold;
 
width: 40%;
 
width: 40%;
Zeile 17: Zeile 33:
  
  
/* @media only screen and (min-width: 499px) and (max-width: 720px) {
+
/* @media only screen and (min-width: 629px) and (max-width: 720px) {
   .pokedex {
+
.karte-pokedex {
 +
width: 308px;
 +
}
 +
}
 +
 
 +
@media only screen and (min-width: 499px) and (max-width: 629px) {
 +
   .karte-pokedex {
 
     width: 487px
 
     width: 487px
 
   }
 
   }
Zeile 24: Zeile 46:
  
 
@media only screen and (max-width: 498px) {
 
@media only screen and (max-width: 498px) {
   .pokedex {
+
   .karte-pokedex {
 
     width: 100%
 
     width: 100%
 
   }
 
   }

Version vom 25. Juli 2021, 01:31 Uhr

.karte-pokedex {
	border-radius: 0.5em;
	text-align: center;
	width: 50%;
	margin:0 0 1em 0;
}

.karte-pokedex tr:first-child td:first-child { 
	border-top-left-radius: 0.5em;
}

.karte-pokedex tr:first-child td:last-child { 
	border-top-right-radius: 0.5em;
}

.karte-pokedex tr:last-child td:first-child { 
	border-bottom-left-radius: 0.5em;
}

.karte-pokedex tr:last-child td:last-child { 
	border-bottom-right-radius: 0.5em;
}

.karte-pokedex .datenZeile {
	font-weight: bold;
	width: 20%;
}

.karte-pokedex .speziesZeile {
	font-weight: bold;
	width: 40%;
}


/* @media only screen and (min-width: 629px) and (max-width: 720px) {
	.karte-pokedex {
		width: 308px;
	}
}

@media only screen and (min-width: 499px) and (max-width: 629px) {
  .karte-pokedex {
    width: 487px
  }
}

@media only screen and (max-width: 498px) {
  .karte-pokedex {
    width: 100%
  }
} */

/* [[Kategorie:Vorlage:Non-Wikitext]] */