Jump to content

Template:Omnipedia Entry/styles.css: Difference between revisions

From The Petit Planet Wiki
Created Template:Omnipedia Entry/styles.css
 
Added max-width for wrapper
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
border-radius: 10px;
border-radius: 10px;
margin: 1em 0;
margin: 1em 0;
overflow: auto;
max-width: max-content;
}
}


Line 15: Line 17:
max-height: 330px;
max-height: 330px;
padding: 0.75em 1em;
padding: 0.75em 1em;
}
.omnipedia-sname {
    margin-bottom: 0.25em;
}
}


.omnipedia-text .poem p {
.omnipedia-text .poem p {
margin: 0.5em 0 0 0;
margin: 0;
}
}

Latest revision as of 17:13, 3 May 2026

.omnipedia-wrapper {
	background: var(--background-color-1);
	border-radius: 10px;
	margin: 1em 0;
	overflow: auto;
	max-width: max-content;
}

.omnipedia-location {
	background: var(--background-color-2);
	padding: 0.75em 1em;
    border-radius: 10px 10px 0 0;
}

.omnipedia-text {
	overflow: auto;
	max-height: 330px;
	padding: 0.75em 1em;
}

.omnipedia-sname {
    margin-bottom: 0.25em;
}

.omnipedia-text .poem p {
	margin: 0;
}