MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus DiPlanung

Zeile 8: Zeile 8:
  
 
@media (max-width:600px) {
 
@media (max-width:600px) {
.teaser-table {
+
.teaser-wrapper-table {
 
display: block;
 
display: block;
 
width: 100%;
 
width: 100%;
Zeile 15: Zeile 15:
 
background: none;
 
background: none;
 
}
 
}
.teaser-table thead,
+
.teaser-wrapper-table thead,
.teaser-table tbody,
+
.teaser-wrapper-table tbody,
.teaser-table tr {
+
.teaser-wrapper-table tr {
 
display: contents;
 
display: contents;
 
}
 
}
.teaser-table th,
+
.teaser-wrapper-table th,
.teaser-table td {
+
.teaser-wrapper-table td {
 
display: block;
 
display: block;
 
width: 100% !important;
 
width: 100% !important;
 
box-sizing: border-box;
 
box-sizing: border-box;
 
}
 
}
.teaser-table tr:last-child th,
+
.teaser-wrapper-table tr:last-child th,
.teaser-table tr:last-child td {
+
.teaser-wrapper-table tr:last-child td {
 
margin-bottom: 1em;
 
margin-bottom: 1em;
 
}
 
}
.teaser-table tr:last-child:not(:first-child) th,
+
.teaser-wrapper-table tr:last-child:not(:first-child) th,
.teaser-table tr:last-child:not(:first-child) td {
+
.teaser-wrapper-table tr:last-child:not(:first-child) td {
 
border-top: none;
 
border-top: none;
 
}
 
}
 
}
 
}

Version vom 11. Februar 2026, 10:05 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6, #content dt, #p-logo-text a {
  font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
}
#p-logo-text a {font-variant: normal;}

/* Styles für Teaser-Tabellen Startseite */

@media (max-width:600px) {
	.teaser-wrapper-table {
		 display: block;
		 width: 100%;
		 padding: 0;
		 border: none;
		 background: none;
	}
	.teaser-wrapper-table thead,
	.teaser-wrapper-table tbody,
	.teaser-wrapper-table tr {
		 display: contents;
	}
	.teaser-wrapper-table th,
	.teaser-wrapper-table td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}
	.teaser-wrapper-table tr:last-child th,
	.teaser-wrapper-table tr:last-child td {
		margin-bottom: 1em;
	}
	.teaser-wrapper-table tr:last-child:not(:first-child) th,
	.teaser-wrapper-table tr:last-child:not(:first-child) td {
		border-top: none;
	}
}