Jump to content

MediaWiki:Description.css: Difference between revisions

From The Petit Planet Wiki
ReisuDesign (talk | contribs)
Created page with "div.description-wrapper { border: 2px solid var(--background-color-3); overflow: hidden; border-radius: 25px; corner-shape: squircle; width: fit-content; background: var(--background-color-1); } div.description-content { font-size: 15px; text-align: left; overflow: auto; line-height: 1.35em; padding: 12px 12px 12px 12px; } div.description-source { font-size: 15px; overflow: auto; padding: 5px 12px; } hr.description-separ..."
 
ReisuDesign (talk | contribs)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* [[Template:Description]] styles */
div.description-wrapper {
div.description-wrapper {
     border: 2px solid var(--background-color-3);
     border: 2px solid var(--background-color-3);
     overflow: hidden;
     overflow: hidden;
     border-radius: 25px;
     border-radius: 15px;
corner-shape: squircle;
corner-shape: squircle;
width: fit-content;
     background:  var(--background-color-1);
     background:  var(--background-color-1);
    padding: 8px 12px;
margin-top: 10px;
margin-bottom: 5px
}
}
.description-wrapper2 {
display: contents;
}
div.description-content {
div.description-content {
     font-size: 15px;
     font-size: 15px;
Line 12: Line 20:
     overflow: auto;
     overflow: auto;
     line-height: 1.35em;
     line-height: 1.35em;
    padding: 12px 12px 12px 12px;
}
}
div.description-source {
div.description-source {
     font-size: 15px;
     font-size: 1em;
     overflow: auto;
     overflow: auto;
    padding: 5px 12px;
color: var(--background-color-10);
}
font-weight: 600;
hr.description-separator {
    width: 97.5%;
    margin: auto;
}
}
div.description-title {
div.description-title {
     font-size: 15px;
     font-size: 15px;
     text-align: left;
     text-align: left;
     overflow: auto;
     overflow: auto;
    padding: 10px 12px 6px;
font-family: "PetitPlanet", sans-serif;
color: var(--color-progressive);
}
}

Latest revision as of 11:47, 13 October 2026

/* [[Template:Description]] styles */
div.description-wrapper {
    border: 2px solid var(--background-color-3);
    overflow: hidden;
    border-radius: 15px;
	corner-shape: squircle;
    background:  var(--background-color-1);
    padding: 8px 12px;
	margin-top: 10px;
	margin-bottom: 5px
}

.description-wrapper2 {
	display: contents;
}

div.description-content {
    font-size: 15px;
    text-align: left;
    overflow: auto;
    line-height: 1.35em;
}

div.description-source {
    font-size: 1em;
    overflow: auto;
	color: var(--background-color-10);
	font-weight: 600;
}

div.description-title {
    font-size: 15px;
    text-align: left;
    overflow: auto;
	font-family: "PetitPlanet", sans-serif;
	color: var(--color-progressive);
}