ARBEIT MACHT FREI

Szablon:Cytat/styles.css: Różnice pomiędzy wersjami

Z 4 Strona Wiki
Przejdź do nawigacji Przejdź do wyszukiwania
Utworzono nową stronę ".template-cytat { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "image1 text image2"; margin: 0.3rem auto; padding: 0.3rem; align-items: stretch; gap: 0.5rem; word-break: break-word; overflow: hidden; } .template-cytat, .template-cytat * { box-sizing: border-box; } .template-cytat .content { display: flex; flex-direction: column; gap: 0.25rem; grid-area: text; } .template-cytat .line1 { font-size: 140%; line-hei…"
 
Nie podano opisu zmian
Linia 5: Linia 5:
margin: 0.3rem auto;  
margin: 0.3rem auto;  
padding: 0.3rem;
padding: 0.3rem;
align-items: stretch;  
align-items: center;  
gap: 0.5rem;
gap: 0.5rem;
word-break: break-word;
word-break: break-word;

Wersja z 11:25, 24 lip 2026

.template-cytat {
	display: grid; 
	grid-template-columns: auto 1fr auto; 
	grid-template-areas: "image1 text image2";
	margin: 0.3rem auto; 
	padding: 0.3rem;
	align-items: center; 
	gap: 0.5rem;
	word-break: break-word;
	overflow: hidden;
}

.template-cytat,
.template-cytat * {
	box-sizing: border-box;
}

.template-cytat .content {
	display: flex; 
	flex-direction: column; 
	gap: 0.25rem;
	grid-area: text;
}

.template-cytat .line1 {
	font-size: 140%; 
	line-height: 1.75rem;
	text-align: left; 
}

.template-cytat .line2 {
	line-height: 1.75rem;
	text-align: right; 
}
.template-cytat.page-issue {
	border-width: 1px; 
	border-style: solid; 
	border-left-width: 0.6rem;
	border-radius: 0.2rem;
}

.template-cytat.page-issue.ok {
	background: white;
	border-color: #b6f9ba; 
	border-left-color: #52d85b;
}

.template-cytat.page-issue.info {
	background: #EEF2FF; 
	border-color: #D6DAF0; 
	border-left-color: #5457e5;
}

.template-cytat.page-issue.warning {
	background: #fef6e7; 
	border-color: #eed6d2;
	border-left-color: #FF9D00;
}

.template-cytat.page-issue.critical {
	background: #fff0f0;
	border-color: #e23639;
}

@media screen and (max-width: 400px) {
	.template-cytat>span[typeof="mw:File"]:nth-of-type(2) {
		/* Dirty fix: Having two images on extremely small screens like this makes text wrap in an illegible manner. */
		display: none; 
	}
}