MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
@media screen and (min-width: 720px) { | @media screen and (min-width: 720px) { | ||
.projectbox { | .projectbox { | ||
max-width: | max-width: 40rem; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
Line 33: | Line 33: | ||
} | } | ||
.projectbox- | .projectbox-Romhack { --infobox-color: forestgreen; } | ||
.projectbox-Tool { --infobox-color: darkslateblue; } | |||
} | |||
.projectbox-Tool { | |||
} |
Revision as of 20:26, 11 August 2024
.infobox-title {
text-align: center;
flex: 1;
padding: 0.5rem 0;
}
.infobox-table th {
padding-right: 1rem;
}
.infobox-table {
margin: 0.5rem;
}
/* Project boxes (Template:Project) */
.projectbox {
border: 5px solid var(--infobox-color);
border-radius: 5px;
}
@media screen and (min-width: 720px) {
.projectbox {
max-width: 40rem;
margin: 0 auto;
}
}
.projectbox .infobox-header {
background: var(--infobox-color);
color: white;
font-weight: bold;
display: flex;
}
.projectbox-Romhack { --infobox-color: forestgreen; }
.projectbox-Tool { --infobox-color: darkslateblue; }