跳至內容

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

出自微國家百科
Xiaoyu moon​(留言 | 貢獻)
無編輯摘要
Xiaoyu moon​(留言 | 貢獻)
無編輯摘要
第9行: 第9行:
     float: right !important;
     float: right !important;
     margin: 0 0 1em 1em !important;
     margin: 0 0 1em 1em !important;
     border-collapse: collapse !important;
     border-collapse: separate !important;  
     border-spacing: 0 !important;
     border-spacing: 0 !important;
     line-height: 1.5em;
     line-height: 1.5em;
     width: 24em !important;
    display: inline-table !important;
     max-width: 100% !important;
     width: auto !important;
     max-width: 400px !important;
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     border: 1px solid #d1d5db !important;
     border: 1px solid #d1d5db !important;
第30行: 第31行:
@media screen and (max-width: 640px) {
@media screen and (max-width: 640px) {
     .ib-country {
     .ib-country {
        display: table !important;
         float: none !important;
         float: none !important;
         margin: 1em auto !important;
         margin: 1em auto !important;

於 2026年6月24日 (三) 23:24 的修訂

.ib-country,
.ib-country table,
.ib-country td,
.ib-country th {
    background-color: #ffffff 
}

.ib-country {
    float: right !important;
    margin: 0 0 1em 1em !important;
    border-collapse: separate !important; 
    border-spacing: 0 !important;
    line-height: 1.5em;
    display: inline-table !important; 
    width: auto !important;
    max-width: 400px !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937 !important;
}

.ib-country table {
    width: 100% !important;
    max-width: 100% !important;
}

@media screen and (max-width: 640px) {
    .ib-country {
        display: table !important;
        float: none !important;
        margin: 1em auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
    }
}

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

.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 #e5e7eb !important;
    padding: 0.6em 1em 0.3em 1em !important;
}

.ib-country .mergedrow .infobox-label,
.ib-country .mergedrow .infobox-data,
.ib-country .mergedrow .infobox-full-data {
    border: 0 !important;
    padding: 0.2em 1em !important;
}

.ib-country .mergedbottomrow .infobox-label,
.ib-country .mergedbottomrow .infobox-data,
.ib-country .mergedbottomrow .infobox-full-data {
    border-top: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 0.2em 1em 0.8em 1em !important;
}

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

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

.ib-country-largest,
.ib-country-lang {
    font-weight: normal;
}

.ib-country-ethnic,
.ib-country-religion,
.ib-country-sovereignty {
    font-weight: normal;
    display: inline !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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