Module:Progress box/styles.css: Difference between revisions
Appearance
Content deleted Content added
grumble grumble |
display with flex on the row |
||
Line 47: | Line 47: | ||
font-size: 110%; |
font-size: 110%; |
||
font-weight: bold; |
font-weight: bold; |
||
display: flex; |
|||
} |
} |
||
.maint-cat-progress-total-label { |
.maint-cat-progress-total-label { |
||
flex: 1; |
|||
} |
} |
||
.maint-cat-progress-total { |
.maint-cat-progress-total { |
||
float: right; |
|||
padding-right: 0.2em; |
padding-right: 0.2em; |
||
} |
} |
Revision as of 04:31, 1 March 2023
/* {{pp-template|small=yes}} */
.maint-cat-progress {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
padding: 0.4em;
font-size: 88%;
line-height: 1.5em;
margin: 0.5em 0;
}
.maint-cat-progress-header {
background: #ddf;
padding: 0.2em;
font-size: 125%;
font-weight: bold;
}
.maint-cat-progress-refresh {
text-align: center;
}
.maint-cat-progress-subtotals {
width: 100%;
}
.maint-cat-progress-subtotals caption {
font-weight: bold;
text-align: left;
}
.maint-cat-progress-subtotals .mw-collapsible-toggle {
float: right;
}
.maint-cat-progress-subtotals th,
.maint-cat-progress-subtotals td {
vertical-align: top;
}
.maint-cat-progress-subtotals tr td:nth-child(2) {
text-align: right;
}
.maint-cat-progress-total-row {
font-size: 110%;
font-weight: bold;
display: flex;
}
.maint-cat-progress-total-label {
flex: 1;
}
.maint-cat-progress-total {
padding-right: 0.2em;
}
@media (min-width: 720px) {
.maint-cat-progress {
width: 22em;
}
.maint-cat-progress-left {
/* @noflip */
float: left;
/* @noflip */
clear: left;
/* @noflip */
margin-right: 1em;
}
.maint-cat-progress-right {
/* @noflip */
margin-left: 1em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
}
.maint-cat-progress-center {
margin: 0.5em auto;
}
}