MediaWiki:Minerva.css: Difference between revisions
Appearance
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Reverted Mobile edit Mobile web edit |
||
Line 15: | Line 15: | ||
padding: 6px 8px; | padding: 6px 8px; | ||
vertical-align: top; | vertical-align: top; | ||
background-color: #F8F9FA; | background-color: #F8F9FA !important; | ||
font-size: 14.4px !important; | font-size: 14.4px !important; | ||
color: #202122 !important; | color: #202122 !important; | ||
} | } | ||
.infobox tr { | .infobox tr { | ||
border-bottom: 1px solid #DADDE3; | border-bottom: 1px solid #DADDE3; | ||
Line 29: | Line 28: | ||
} | } | ||
.infobox .section-header { | .infobox .section-header { | ||
background-color: #F8F9FA; | background-color: #F8F9FA !important; | ||
font-weight: bold; | font-weight: bold; | ||
text-align: left; | text-align: left; | ||
Line 37: | Line 35: | ||
} | } | ||
.infobox .highlight-ef4 { | |||
.infobox | background-color: #f99 !important; | ||
background-color: # | color: #ffffff !important; | ||
text-align: center; | |||
font-weight: bold; | |||
font-size: 14.4px !important; | |||
} | |||
.infobox .highlight-ef5 { | |||
background-color: #c9f !important; | |||
color: #ffffff !important; | |||
text-align: center; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 14.4px; | font-size: 14.4px !important; | ||
color: #202122; | } | ||
.infobox-title { | |||
background-color: #F8F9FA !important; | |||
font-weight: bold; | |||
text-align: center; | |||
font-size: 14.4px !important; | |||
color: #202122 !important; | |||
padding: 0.5em; | |||
border-bottom: 1px solid #DADDE3; | |||
} | |||
/* Only show mobile title row on narrow/mobile view */ | |||
@media screen and (max-width: 720px) { | |||
.infobox-mobile-title { | |||
display: table-row; | |||
} | |||
} | |||
@media screen and (min-width: 721px) { | |||
.infobox-mobile-title { | |||
display: none; | |||
} | |||
} | } |
Revision as of 22:08, 24 April 2025
.infobox {
background-color: #F8F9FA !important;
border: 1px solid #DADDE3 !important;
border-collapse: collapse;
width: 100%;
font-size: 14.4px !important;
line-height: 1.4;
color: #202122 !important;
margin: 0 auto 1em auto;
}
.infobox td,
.infobox th {
border: none;
padding: 6px 8px;
vertical-align: top;
background-color: #F8F9FA !important;
font-size: 14.4px !important;
color: #202122 !important;
}
.infobox tr {
border-bottom: 1px solid #DADDE3;
}
.infobox tr:last-child {
border-bottom: none;
}
.infobox .section-header {
background-color: #F8F9FA !important;
font-weight: bold;
text-align: left;
border-bottom: 1px solid #DADDE3;
}
.infobox .highlight-ef4 {
background-color: #f99 !important;
color: #ffffff !important;
text-align: center;
font-weight: bold;
font-size: 14.4px !important;
}
.infobox .highlight-ef5 {
background-color: #c9f !important;
color: #ffffff !important;
text-align: center;
font-weight: bold;
font-size: 14.4px !important;
}
.infobox-title {
background-color: #F8F9FA !important;
font-weight: bold;
text-align: center;
font-size: 14.4px !important;
color: #202122 !important;
padding: 0.5em;
border-bottom: 1px solid #DADDE3;
}
/* Only show mobile title row on narrow/mobile view */
@media screen and (max-width: 720px) {
.infobox-mobile-title {
display: table-row;
}
}
@media screen and (min-width: 721px) {
.infobox-mobile-title {
display: none;
}
}