「模板:和曦條目/infobox/styles.css」:修訂間差異

Xiaoyu moon​(留言 | 貢獻)
無編輯摘要
Xiaoyu moon​(留言 | 貢獻)
無編輯摘要
第1行: 第1行:
.ib-country {
.ib-country {
     float: right;
     float: right !important;
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em !important;
     border-collapse: separate;
     border-collapse: separate !important;
     border-spacing: 0;
     border-spacing: 0 !important;
     line-height: 1.5em;
     line-height: 1.5em;
     width: 100%;
     width: 100% !important;
     max-width: 320px;
     max-width: 500px !important;
     background-color: #ffffff;
     background-color: #ffffff !important;
     border: 1px solid #d1d5db;
     border: 1px solid #d1d5db !important;
     border-radius: 8px;
     border-radius: 8px !important;
     overflow: hidden;
     overflow: hidden !important;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
     color: #1f2937;
     color: #1f2937 !important;
}
}


.ib-country td,
.ib-country td,
.ib-country th {
.ib-country th {
     border-top: 1px solid #f3f4f6;
     border-top: 1px solid #f3f4f6 !important;
     padding: 0.75em 1em;
     padding: 0.75em 1em !important;
}
}


.ib-country .infobox-above {
.ib-country .infobox-above {
     background-color: #f8fafc;
     background-color: #f8fafc !important;
     font-size: 1.4em;
     font-size: 1.4em;
     font-weight: 700;
     font-weight: 700;
     line-height: 1.3;
     line-height: 1.3 !important;
     padding: 1.2em 1em;
     padding: 1.2em 1em !important;
     color: #111827;
     color: #111827 !important;
     text-align: center;
     text-align: center !important;
}
}


.ib-country-names {
.ib-country-names {
     padding-top: 0.4em;
     padding-top: 0.4em !important;
     font-weight: 400;
     font-weight: 400;
     font-size: 0.85em;
     font-size: 0.85em;
     color: #6b7280;
     color: #6b7280 !important;
}
}


.ib-country-name-style {
.ib-country-name-style {
     display: inline;
     display: inline !important;
}
}


.ib-country .infobox-image {
.ib-country .infobox-image {
     padding: 1em;
     padding: 1em !important;
     background-color: #ffffff;
     background-color: #ffffff !important;
     text-align: center;
     text-align: center !important;
}
}


.ib-country .infobox-header {
.ib-country .infobox-header {
     background-color: #f1f5f9;
     background-color: #f1f5f9 !important;
     font-weight: 600;
     font-weight: 600;
     text-align: left;
     text-align: left !important;
     color: #475569;
     color: #475569 !important;
     text-transform: uppercase;
     text-transform: uppercase !important;
     font-size: 0.8em;
     font-size: 0.8em;
     letter-spacing: 0.05em;
     letter-spacing: 0.05em !important;
}
}


.ib-country .infobox-label {
.ib-country .infobox-label {
     font-weight: 600;
     font-weight: 600;
     color: #374151;
     color: #374151 !important;
     width: 40%;
     width: 40% !important;
     background-color: #fafafa;
     background-color: #fafafa !important;
}
}


第71行: 第71行:
.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 #e5e7eb;
     border-top: 1px solid #e5e7eb !important;
     padding: 0.6em 1em 0.3em 1em;
     padding: 0.6em 1em 0.3em 1em !important;
}
}


第78行: 第78行:
.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 !important;
     padding: 0.2em 1em;
     padding: 0.2em 1em !important;
}
}


第85行: 第85行:
.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 !important;
     border-bottom: 1px solid #e5e7eb;
     border-bottom: 1px solid #e5e7eb !important;
     padding: 0.2em 1em 0.8em 1em;
     padding: 0.2em 1em 0.8em 1em !important;
}
}


.ib-country-anthem {
.ib-country-anthem {
     border-top: 1px solid #e5e7eb;
     border-top: 1px solid #e5e7eb !important;
     padding: 0.8em 0;
     padding: 0.8em 0 !important;
     margin-top: 0.5em;
     margin-top: 0.5em !important;
     font-style: italic;
     font-style: italic;
     color: #4b5563;
     color: #4b5563 !important;
}
}


.ib-country-map-caption,
.ib-country-map-caption,
.ib-country-map-caption3 {
.ib-country-map-caption3 {
     position: relative;
     position: relative !important;
     top: 0.3em;
     top: 0.3em !important;
     font-size: 0.85em;
     font-size: 0.85em;
     color: #6b7280;
     color: #6b7280 !important;
}
}


第115行: 第115行:
.ib-country-sovereignty {
.ib-country-sovereignty {
     font-weight: normal;
     font-weight: normal;
     display: inline;
     display: inline !important;
}
}


.ib-country-fake-li {
.ib-country-fake-li {
     text-indent: -0.9em;
     text-indent: -0.9em !important;
     margin-left: 1.2em;
     margin-left: 1.2em !important;
     font-weight: normal;
     font-weight: normal;
}
}


.ib-country-fake-li2 {
.ib-country-fake-li2 {
     text-indent: 0.5em;
     text-indent: 0.5em !important;
     margin-left: 1em;
     margin-left: 1em !important;
     font-weight: normal;
     font-weight: normal;
}
}


.ib-country-website {
.ib-country-website {
     line-height: 1.4;
     line-height: 1.4 !important;
     font-family: ui-monospace, SFMono-Regular, monospace;
     font-family: ui-monospace, SFMono-Regular, monospace;
     font-size: 0.9em;
     font-size: 0.9em;
第137行: 第137行:


.ib-country-fn {
.ib-country-fn {
     text-align: left;
     text-align: left !important;
     margin: 0 auto;
     margin: 0 auto !important;
     font-size: 0.8em;
     font-size: 0.8em;
     color: #6b7280;
     color: #6b7280 !important;
     padding: 1em;
     padding: 1em !important;
}
}


.ib-country-fn-alpha {
.ib-country-fn-alpha {
     list-style-type: lower-alpha;
     list-style-type: lower-alpha !important;
     margin-left: 1.5em;
     margin-left: 1.5em !important;
}
}


.ib-country-fn-num {
.ib-country-fn-num {
     margin-left: 1.5em;
     margin-left: 1.5em !important;
}
}


.ib-country tr:hover {
.ib-country tr:hover {
     background-color: #f9fafb;
     background-color: #f9fafb !important;
}
}