Template:Infobox country/styles.css:修订间差异
跳转到导航
跳转到搜索
小 导入1个版本 |
无编辑摘要 标签:已被回退 |
||
| 第1行: | 第1行: | ||
/* {{pp-template|small=yes}} */ | /* {{pp-template|small=yes}} */ | ||
.ib-country { | .ib-country { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
line-height: 1.2em; | line-height: 1.2em; | ||
} | } | ||
/* TODO split definitions to appropriate class names when live from HTML element */ | /* TODO split definitions to appropriate class names when live from HTML element */ | ||
.ib-country td, | .ib-country td, | ||
.ib-country th { | .ib-country th { | ||
border-top: 1px solid #a2a9b1; | border-top: 1px solid #a2a9b1; | ||
padding: 0.4em 0.6em 0.4em 0.6em; | padding: 0.4em 0.6em 0.4em 0.6em; | ||
} | } | ||
.ib-country .mergedtoprow .infobox-header, | .ib-country .mergedtoprow .infobox-header, | ||
.ib-country .mergedtoprow .infobox-label, | .ib-country .mergedtoprow .infobox-label, | ||
.ib-country .mergedtoprow .infobox-data, | .ib-country .mergedtoprow .infobox-data, | ||
.ib-country .mergedtoprow .infobox-full-data, | .ib-country .mergedtoprow .infobox-full-data, | ||
.ib-country .mergedtoprow .infobox-below { | .ib-country .mergedtoprow .infobox-below { | ||
border-top: 1px solid #a2a9b1; | border-top: 1px solid #a2a9b1; | ||
padding: 0.4em 0.6em 0.2em 0.6em; | padding: 0.4em 0.6em 0.2em 0.6em; | ||
} | } | ||
.ib-country .mergedrow .infobox-label, | .ib-country .mergedrow .infobox-label, | ||
.ib-country .mergedrow .infobox-data, | .ib-country .mergedrow .infobox-data, | ||
.ib-country .mergedrow .infobox-full-data { | .ib-country .mergedrow .infobox-full-data { | ||
border: 0; | border: 0; | ||
padding: 0 0.6em 0.2em 0.6em; | padding: 0 0.6em 0.2em 0.6em; | ||
} | } | ||
.ib-country .mergedbottomrow .infobox-label, | .ib-country .mergedbottomrow .infobox-label, | ||
.ib-country .mergedbottomrow .infobox-data, | .ib-country .mergedbottomrow .infobox-data, | ||
.ib-country .mergedbottomrow .infobox-full-data { | .ib-country .mergedbottomrow .infobox-full-data { | ||
border-top: 0; | border-top: 0; | ||
border-bottom: 1px solid #a2a9b1; | border-bottom: 1px solid #a2a9b1; | ||
padding: 0 0.6em 0.4em 0.6em; | padding: 0 0.6em 0.4em 0.6em; | ||
} | } | ||
.ib-country .infobox-header { | .ib-country .infobox-header { | ||
text-align: left; | text-align: left; | ||
} | } | ||
.ib-country .infobox-above { | .ib-country .infobox-above { | ||
font-size: 125%; | font-size: 125%; | ||
line-height: 1.2; | line-height: 1.2; | ||
} | } | ||
.ib-country-names { | .ib-country-names { | ||
padding-top: 0.25em; | padding-top: 0.25em; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.ib-country-name-style { | .ib-country-name-style { | ||
display: inline; | display: inline; | ||
} | } | ||
.ib-country .infobox-image { | .ib-country .infobox-image { | ||
padding: 0.5em 0; | padding: 0.5em 0; | ||
} | } | ||
.ib-country-anthem { | .ib-country-anthem { | ||
border-top: 1px solid #a2a9b1; | border-top: 1px solid #a2a9b1; | ||
padding-top: 0.5em; | padding-top: 0.5em; | ||
margin-top: 0.5em; | margin-top: 0.5em; | ||
} | } | ||
.ib-country-map-caption { | .ib-country-map-caption { | ||
position: relative; | position: relative; | ||
top: 0.3em; | top: 0.3em; | ||
} | } | ||
.ib-country-largest, | .ib-country-largest, | ||
.ib-country-lang { | .ib-country-lang { | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.ib-country-ethnic, | .ib-country-ethnic, | ||
.ib-country-religion, | .ib-country-religion, | ||
.ib-country-sovereignty { | .ib-country-sovereignty { | ||
font-weight: normal; | font-weight: normal; | ||
display: inline; | display: inline; | ||
} | } | ||
.ib-country-fake-li { | .ib-country-fake-li { | ||
text-indent: -0.9em; | text-indent: -0.9em; | ||
margin-left: 1.2em; | margin-left: 1.2em; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.ib-country-fake-li2 { | .ib-country-fake-li2 { | ||
text-indent: 0.5em; | text-indent: 0.5em; | ||
margin-left: 1em; | margin-left: 1em; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.ib-country-website { | .ib-country-website { | ||
line-height: 11pt; | line-height: 11pt; | ||
} | } | ||
.ib-country-map-caption3 { | .ib-country-map-caption3 { | ||
position: relative; | position: relative; | ||
top: 0.3em; | top: 0.3em; | ||
} | } | ||
.ib-country-fn { | .ib-country-fn { | ||
text-align: left; | text-align: left; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
.ib-country-fn-alpha { | .ib-country-fn-alpha { | ||
list-style-type: lower-alpha; | list-style-type: lower-alpha; | ||
margin-left: 1em; | margin-left: 1em; | ||
} | |||
.ib-country-fn-num { | |||
margin-left: 1em; | |||
} | |||
/* 为 ib-country 添加边框及背景样式 */ | |||
.ib-country { | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
width: 22em; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
padding: 0.4em; | |||
border-collapse: collapse; /* 让边框合并 */ | |||
} | } | ||
. | /* 如果你的信息框也有 infobox 类,可以一起写 */ | ||
.infobox { | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
width: 22em; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
padding: 0.4em; | |||
border-collapse: collapse; | |||
} | } | ||
2025年6月28日 (六) 15:08的版本
/* {{pp-template|small=yes}} */
.ib-country {
border-collapse: collapse;
line-height: 1.2em;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.ib-country td,
.ib-country th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.ib-country .mergedtoprow .infobox-header,
.ib-country .mergedtoprow .infobox-label,
.ib-country .mergedtoprow .infobox-data,
.ib-country .mergedtoprow .infobox-full-data,
.ib-country .mergedtoprow .infobox-below {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.ib-country .mergedrow .infobox-label,
.ib-country .mergedrow .infobox-data,
.ib-country .mergedrow .infobox-full-data {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.ib-country .mergedbottomrow .infobox-label,
.ib-country .mergedbottomrow .infobox-data,
.ib-country .mergedbottomrow .infobox-full-data {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.ib-country .infobox-header {
text-align: left;
}
.ib-country .infobox-above {
font-size: 125%;
line-height: 1.2;
}
.ib-country-names {
padding-top: 0.25em;
font-weight: normal;
}
.ib-country-name-style {
display: inline;
}
.ib-country .infobox-image {
padding: 0.5em 0;
}
.ib-country-anthem {
border-top: 1px solid #a2a9b1;
padding-top: 0.5em;
margin-top: 0.5em;
}
.ib-country-map-caption {
position: relative;
top: 0.3em;
}
.ib-country-largest,
.ib-country-lang {
font-weight: normal;
}
.ib-country-ethnic,
.ib-country-religion,
.ib-country-sovereignty {
font-weight: normal;
display: inline;
}
.ib-country-fake-li {
text-indent: -0.9em;
margin-left: 1.2em;
font-weight: normal;
}
.ib-country-fake-li2 {
text-indent: 0.5em;
margin-left: 1em;
font-weight: normal;
}
.ib-country-website {
line-height: 11pt;
}
.ib-country-map-caption3 {
position: relative;
top: 0.3em;
}
.ib-country-fn {
text-align: left;
margin: 0 auto;
}
.ib-country-fn-alpha {
list-style-type: lower-alpha;
margin-left: 1em;
}
.ib-country-fn-num {
margin-left: 1em;
}
/* 为 ib-country 添加边框及背景样式 */
.ib-country {
border: 1px solid #aaa;
background-color: #f9f9f9;
width: 22em;
font-size: 88%;
line-height: 1.5em;
padding: 0.4em;
border-collapse: collapse; /* 让边框合并 */
}
/* 如果你的信息框也有 infobox 类,可以一起写 */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
width: 22em;
font-size: 88%;
line-height: 1.5em;
padding: 0.4em;
border-collapse: collapse;
}