模块:Infobox/styles.css:修订间差异
来自RIA | Wiki
更多操作
尝试适配Citizen |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
.infobox { | .infobox { | ||
border: 1px solid rgb(162, 169, 177); | |||
border-spacing: 3px; | |||
width: 100%; | width: 100%; | ||
padding: 0.2rem; | |||
padding: 0. | |||
font-size: 0.875em; | font-size: 0.875em; | ||
line-height: 1. | line-height: 1.5; | ||
} | |||
.infobox-header, | .infobox-header, | ||
| 第32行: | 第20行: | ||
} | } | ||
.infobox-above, | .infobox-label, .infobox-data { | ||
.infobox-title { | text-align: left; | ||
} | |||
.infobox-header, .infobox-subheader, .infobox-image, .infobox-full-data, .infobox-below { | |||
text-align: center; | |||
} | |||
.infobox-above, .infobox-title { | |||
text-align: center; | text-align: center; | ||
font-size: 1.25em; | font-size: 1.25em; | ||
| 第41行: | 第36行: | ||
.infobox-title { | .infobox-title { | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
| 第60行: | 第42行: | ||
} | } | ||
.infobox .navbar { | |||
. | |||
font-size: 1em; | font-size: 1em; | ||
} | } | ||
@media (min-width: 720px) { | |||
.infobox { | |||
margin: 0.5em 1em 0.5em 0; | |||
width: 22rem; | |||
float: right; | |||
clear: right; | |||
} | |||
} | |||
@media screen { | |||
.infobox { | |||
background-color: rgb(248, 249, 250); | |||
} | |||
html.skin-theme-clientpref-night .infobox { | |||
background-color: rgb(32, 33, 34); | |||
border-color: rgb(84, 89, 93); | |||
} | |||
} | } | ||
body.skin-minerva .infobox | body.skin-minerva .infobox { | ||
position: relative; | |||
display: flex; | display: flex; | ||
flex: 1 1 100%; | |||
flex-flow: column nowrap; | flex-flow: column nowrap; | ||
margin-bottom: 2rem; | |||
} | } | ||
body.skin-minerva .infobox | body.skin-minerva .infobox caption { | ||
padding: 10px 10px 0; | padding: 10px 10px 0; | ||
text-align: center; | text-align: center; | ||
} | } | ||
body.skin-minerva .infobox | body.skin-minerva .infobox th, | ||
body.skin-minerva .infobox td { | |||
body.skin-minerva .infobox | |||
border: none; | border: none; | ||
border-bottom: 1px solid | border-bottom: 1px solid rgb(162, 169, 177); | ||
padding: 7px 10px; | padding: 7px 10px; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
body.skin-minerva .infobox tr | body.skin-minerva .infobox tbody > tr > td, | ||
body.skin-minerva .infobox tr | body.skin-minerva .infobox tbody > tr > th { | ||
flex: 1 0; | |||
} | } | ||
body.skin-minerva .infobox td:only-child, | |||
body.skin-minerva .infobox th:only-child { | |||
width: 100%; | |||
} | |||
body.skin- | body.skin-minerva .infobox tr:last-child th, | ||
body.skin-minerva .infobox tr:last-child td { | |||
border: none; | border: none; | ||
} | } | ||
body.skin- | body.skin-minerva .infobox > tbody, body.skin-minerva .infobox > caption { | ||
body.skin- | display: flex; | ||
flex-flow: column nowrap; | |||
} | } | ||
body.skin-minerva .infobox > tbody > tr { | |||
display: flex; | |||
body.skin- | flex-flow: row nowrap; | ||
min-width: 100%; | |||
} | } | ||
@media screen { | |||
body.skin- | html.skin-theme-clientpref-night body.skin-minerva .infobox th, | ||
html.skin-theme-clientpref-night body.skin-minerva .infobox td { | |||
border-bottom-color: rgb(84, 89, 93); | |||
} | } | ||
} | } | ||
2024年10月27日 (日) 21:25的版本
.infobox {
border: 1px solid rgb(162, 169, 177);
border-spacing: 3px;
width: 100%;
padding: 0.2rem;
font-size: 0.875em;
line-height: 1.5;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar {
vertical-align: top;
}
.infobox-label, .infobox-data {
text-align: left;
}
.infobox-header, .infobox-subheader, .infobox-image, .infobox-full-data, .infobox-below {
text-align: center;
}
.infobox-above, .infobox-title {
text-align: center;
font-size: 1.25em;
font-weight: bold;
}
.infobox-title {
padding: 0.2em;
}
.infobox-navbar {
text-align: right;
}
.infobox .navbar {
font-size: 1em;
}
@media (min-width: 720px) {
.infobox {
margin: 0.5em 1em 0.5em 0;
width: 22rem;
float: right;
clear: right;
}
}
@media screen {
.infobox {
background-color: rgb(248, 249, 250);
}
html.skin-theme-clientpref-night .infobox {
background-color: rgb(32, 33, 34);
border-color: rgb(84, 89, 93);
}
}
body.skin-minerva .infobox {
position: relative;
display: flex;
flex: 1 1 100%;
flex-flow: column nowrap;
margin-bottom: 2rem;
}
body.skin-minerva .infobox caption {
padding: 10px 10px 0;
text-align: center;
}
body.skin-minerva .infobox th,
body.skin-minerva .infobox td {
border: none;
border-bottom: 1px solid rgb(162, 169, 177);
padding: 7px 10px;
vertical-align: top;
}
body.skin-minerva .infobox tbody > tr > td,
body.skin-minerva .infobox tbody > tr > th {
flex: 1 0;
}
body.skin-minerva .infobox td:only-child,
body.skin-minerva .infobox th:only-child {
width: 100%;
}
body.skin-minerva .infobox tr:last-child th,
body.skin-minerva .infobox tr:last-child td {
border: none;
}
body.skin-minerva .infobox > tbody, body.skin-minerva .infobox > caption {
display: flex;
flex-flow: column nowrap;
}
body.skin-minerva .infobox > tbody > tr {
display: flex;
flex-flow: row nowrap;
min-width: 100%;
}
@media screen {
html.skin-theme-clientpref-night body.skin-minerva .infobox th,
html.skin-theme-clientpref-night body.skin-minerva .infobox td {
border-bottom-color: rgb(84, 89, 93);
}
}