Sacra.Wiki MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki:Common.css: Unterschied zwischen den Versionen

MediaWiki interface page
Zeile 71: Zeile 71:
.mw-content-ltr a {
.mw-content-ltr a {
text-decoration: underline dotted !important;
text-decoration: underline dotted !important;
color: var(--color-base);
color: var(--color-primary);
}
}



Version vom 9. Juni 2023, 10:48 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

.sidebar {
	width: 100%;
	margin-bottom: 20px;
	border: 5px solid var(--background-color-framed--active) !important;
}

.sidebar th:empty, .sidebar td:empty, .sidebar tr:empty, .sidebar:empty, .wikitable:empty, p:empty {
	width: 0px !important;
	height: 0px !important;
	display: none;
}

p br:first-child:nth-last-child(1) {
	display: none;
}

@media screen and (min-width: 992px) {
	.sidebar {
		position: relative;
		float: right;
		clear: right;
		max-width: 100%;
		width: 400px;
		margin: 0 0 20px 20px;
	}
}

.sidebar th {
	padding: 10px 20px 10px 20px !important;
	vertical-align: middle;
}

.sidebar tr:first-child th {
	border-radius-top-left: 8px; 
}
.sidebar tr:first-child td {
	border-radius-top-right: 8px; 
}
.sidebar tr:last-child th {
	border-radius-bottom-left: 8px; 
}
.sidebar tr:last-child td {
	border-radius-bottom-right: 8px; 
}

.functions-table td, .functions-table th {
    text-align: center;
}
.functions-table--title {
    padding: 10px 0 !important;
    background-color: lavender !important;
}

#searchbar {
	display: flex;
	flex-direction: row;
}

#searchbar input[type=text] {
	flex-grow: 1;
	margin-right: 8px;
	width: 100%;
}

#searchbar input[type=submit] {
	flex-shrink: 0;	
}

.mw-content-ltr a {
	text-decoration: underline dotted !important;
	color: var(--color-primary);
}

.mw-content-ltr a:hover {
	color: var(--color-base--emphasized);
}

h2 .mw-headline {
	font-size: 1.7rem;
}

h3 .mw-headline {
	font-size: 1.5rem;
}

@media screen and (min-width: 1400px) {
	.mw-header::before {
		background: none !important;
	}
}
Cookies helfen uns bei der Bereitstellung von Sacra.Wiki. Durch die Nutzung von Sacra.Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.