Difference between revisions of "MediaWiki:Common.css"
No edit summary Tag: Reverted |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
html, body { | html, body { | ||
font-family: | font-family: Helvetica Neue, sans-serif; | ||
} | |||
#mp-topbanner { | |||
border-width: 6px 0 6px 0; | |||
border-style: solid; | |||
border-color: #006400; | |||
text-align:center; | |||
margin-bottom: 2em; | |||
padding: 2em; | |||
} | |||
.highlighted { | |||
display: inline; | |||
box-shadow: inset 0 -0.5em 0 #d2f5a4; | |||
} | } | ||
| Line 14: | Line 28: | ||
.mp-left-col { | .mp-left-col { | ||
background: | background: lightgoldenrodyellow; | ||
border-radius: | border-radius: 5px; | ||
} | |||
#mp-category-list { | |||
columns:3; text-align:center; list-style:none; | |||
} | |||
#mp-category-list li span { | |||
padding:0 1em; | |||
white-space: nowrap; | |||
} | } | ||
Latest revision as of 2025 nî 11 goe̍h 7 ji̍t, 17:35
/* CSS placed here will be applied to all skins */
html, body {
font-family: Helvetica Neue, sans-serif;
}
#mp-topbanner {
border-width: 6px 0 6px 0;
border-style: solid;
border-color: #006400;
text-align:center;
margin-bottom: 2em;
padding: 2em;
}
.highlighted {
display: inline;
box-shadow: inset 0 -0.5em 0 #d2f5a4;
}
.mp-card-title {
font-size: 150%;
font-weight: bold;
border-bottom: 0;
margin: 0 1em;
}
.mp-left-col {
background: lightgoldenrodyellow;
border-radius: 5px;
}
#mp-category-list {
columns:3; text-align:center; list-style:none;
}
#mp-category-list li span {
padding:0 1em;
white-space: nowrap;
}
@media all and ( min-width: 720px ) {
.mp-row {
display: flex;
}
.mp-left-col {
flex: 55%;
}
.mp-right-col {
flex: 45%;
}
}