「テンプレート:基礎情報 国」の版間の差分
編集の要約なし |
編集の要約なし |
||
| 1行目: | 1行目: | ||
/* {{pp-template}} */ | |||
dl#infoboxCountry { | |||
clear: right; | |||
float: right; | |||
width: 300px; | |||
margin-left: 0.5em; | |||
} | |||
dl#infoboxCountry dt.infoboxCountryNameJa { | |||
font-size: 1.36em; | |||
margin: 0 0 0.13em; | |||
text-align: center; | |||
} | |||
dl#infoboxCountry dt.infoboxCountryName { | |||
font-size: 1.13em; | |||
font-weight: normal; | |||
margin: 0 0 0.13em; | |||
text-align: center; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryDataA { | |||
margin: 0; | |||
padding: 0; | |||
border-color: #a2a9b1; | |||
border-width: 1px; | |||
border-style: solid solid none solid; | |||
} | |||
dl#infoboxCountry table.infoboxCountryPrevSucc { | |||
width: 298px; | |||
border-collapse: collapse; | |||
font-size: 0.95em; | |||
} | |||
dl#infoboxCountry table.infoboxCountryPrevSucc td { | |||
margin: 0; | |||
padding: 4px; | |||
text-align: center; | |||
} | |||
dl#infoboxCountry td.infoboxCountryPrev { | |||
text-align: left; | |||
width: 60px | |||
{ | } | ||
dl#infoboxCountry td.infoboxCountrySucc { | |||
text-align: right; | |||
width: 60px; | |||
} | |||
dl#infoboxCountry table.infoboxCountryInsignia { | |||
width: 298px; | |||
border-collapse: collapse; | |||
font-size: 0.95em; | |||
text-align: center; | |||
border-top: 1px solid #a2a9b1; | |||
} | |||
dl#infoboxCountry table.infoboxCountryInsignia th { | |||
padding: 4px; | |||
width: 50%; | |||
border: none; | |||
} | |||
dl#infoboxCountry table.infoboxCountryInsignia td { | |||
padding: 4px; | |||
font-size: 0.85em; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryAdd, | |||
dl#infoboxCountry dd.infoboxCountryMotto, | |||
dl#infoboxCountry dd.infoboxCountryAnthem, | |||
dl#infoboxCountry dd.infoboxCountryMap { | |||
text-align: center; | |||
width: 290px; | |||
margin: 0; | |||
padding: 4px; | |||
border-color: #a2a9b1; | |||
border-width: 1px; | |||
border-style: solid solid none solid; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryAdd, | |||
dl#infoboxCountry dd.infoboxCountryMotto, | |||
dl#infoboxCountry dd.infoboxCountryAnthem { | |||
font-size: 0.8em; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryMap { | |||
} | |||
dl#infoboxCountry dd.infoboxCountryDataB { | |||
margin: 0; | |||
padding: 0; | |||
border: 1px solid #a2a9b1; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryDataB table { | |||
width: 298px; | |||
border-collapse: collapse; | |||
border-color: #a2a9b1; | |||
font-size: 0.9em; | |||
line-height: 1.3; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryDataB tr { | |||
border-color: #a2a9b1; | |||
vertical-align: top; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryDataB th { | |||
padding: 4px; | |||
border-color: #a2a9b1; | |||
border-width: 1px; | |||
text-align: left; | |||
font-weight: normal; | |||
width: 50%; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryDataB td { | |||
padding: 4px; | |||
border-color: #a2a9b1; | |||
border-width: 1px; | |||
width: 50%; | |||
} | |||
dl#infoboxCountry td.infoboxCountrySome { | |||
padding: 0; | |||
} | |||
dl#infoboxCountry td.infoboxCountrySome dl, | |||
dl#infoboxCountry td.infoboxCountrySome dl dd { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
dl#infoboxCountry td.infoboxCountrySome dl dt { | |||
margin: 0; | |||
padding: 4px; | |||
font-weight: normal; | |||
border-top: 1px solid #a2a9b1; | |||
} | |||
dl#infoboxCountry td.infoboxCountrySome dl dt.infoboxCountryLeader { | |||
border-top: none; | |||
} | |||
dl#infoboxCountry td.infoboxCountrySome dl table { | |||
width: 100%; | |||
font-size: 100%; | |||
border-collapse: collapse; | |||
} | |||
dl#infoboxCountry td.infoboxCountrySome dl th { | |||
width: 50%; | |||
padding: 4px; | |||
text-indent: 0.75em; | |||
} | |||
dl#infoboxCountry td.infoboxCountrySome dl td { | |||
width: 50%; | |||
padding: 4px; | |||
border-color: #a2a9b1; | |||
border-width: 1px; | |||
border-style: solid none none solid; | |||
} | |||
dd#Infobox_before-after { | |||
width: 298px; | |||
margin: 0; | |||
padding: 0; | |||
border-color: #a2a9b1; | |||
border-width: 1px; | |||
border-style: none solid solid solid; | |||
} | |||
dd#Infobox_before-after table { | |||
border-collapse: collapse; | |||
width: 100%; | |||
background: transparent; | |||
} | |||
dd#Infobox_before-after th { | |||
width: 50%; | |||
padding: 0 4px; | |||
} | |||
dd#Infobox_before-after th.infoboxCountryPrev { | |||
border-right: 1px solid #ccc; | |||
} | |||
dd#Infobox_before-after th.infoboxCountrySucc { | |||
border-left: #ccc 1px solid; | |||
} | |||
dd#Infobox_before-after td.infoboxCountryPrev { | |||
width: 50%; | |||
padding: 2px 4px; | |||
font-size: 80%; | |||
text-align: left; | |||
vertical-align: top; | |||
border-color: #ccc; | |||
border-width: 1px; | |||
border-style: solid solid none none; | |||
} | |||
dd#Infobox_before-after td.infoboxCountrySucc { | |||
width: 50%; | |||
padding: 2px 4px; | |||
font-size: 80%; | |||
text-align: right; | |||
vertical-align: top; | |||
border-color: #ccc; | |||
border-width: 1px; | |||
border-style: solid none none solid; | |||
} | |||
dl#infoboxCountry dd.infoboxCountryNote { | |||
font-size: 0.75em; | |||
width: 290px; | |||
margin: 0; | |||
padding: 2px 4px; | |||
border-color: #a2a9b1; | |||
border-width: 1px; | |||
border-style: none solid solid; | |||
} | |||
@media all and (max-width: 720px) { | |||
dl#infoboxCountry { | |||
float: none !important; | |||
margin: 0 !important; | |||
width: 100% !important; | |||
} | |||
dl#infoboxCountry dd { | |||
width: auto !important; | |||
} | |||
dl#infoboxCountry, | |||
dl#infoboxCountry table { | |||
display:table; | |||
} | |||
} | |||
/* [[Category:テンプレートスタイル]] */ | |||
2025年10月27日 (月) 12:37時点における版
/* テンプレート:Pp-template */ dl#infoboxCountry {
clear: right; float: right; width: 300px; margin-left: 0.5em;
}
dl#infoboxCountry dt.infoboxCountryNameJa {
font-size: 1.36em; margin: 0 0 0.13em; text-align: center;
}
dl#infoboxCountry dt.infoboxCountryName {
font-size: 1.13em; font-weight: normal; margin: 0 0 0.13em; text-align: center;
}
dl#infoboxCountry dd.infoboxCountryDataA {
margin: 0; padding: 0; border-color: #a2a9b1; border-width: 1px; border-style: solid solid none solid;
}
dl#infoboxCountry table.infoboxCountryPrevSucc {
width: 298px; border-collapse: collapse; font-size: 0.95em;
}
dl#infoboxCountry table.infoboxCountryPrevSucc td {
margin: 0; padding: 4px; text-align: center;
}
dl#infoboxCountry td.infoboxCountryPrev {
text-align: left; width: 60px
}
dl#infoboxCountry td.infoboxCountrySucc {
text-align: right; width: 60px;
}
dl#infoboxCountry table.infoboxCountryInsignia {
width: 298px; border-collapse: collapse; font-size: 0.95em; text-align: center; border-top: 1px solid #a2a9b1;
} dl#infoboxCountry table.infoboxCountryInsignia th {
padding: 4px; width: 50%; border: none;
}
dl#infoboxCountry table.infoboxCountryInsignia td {
padding: 4px; font-size: 0.85em;
}
dl#infoboxCountry dd.infoboxCountryAdd, dl#infoboxCountry dd.infoboxCountryMotto, dl#infoboxCountry dd.infoboxCountryAnthem, dl#infoboxCountry dd.infoboxCountryMap {
text-align: center; width: 290px; margin: 0; padding: 4px; border-color: #a2a9b1; border-width: 1px; border-style: solid solid none solid;
}
dl#infoboxCountry dd.infoboxCountryAdd, dl#infoboxCountry dd.infoboxCountryMotto, dl#infoboxCountry dd.infoboxCountryAnthem {
font-size: 0.8em;
}
dl#infoboxCountry dd.infoboxCountryMap { }
dl#infoboxCountry dd.infoboxCountryDataB {
margin: 0; padding: 0; border: 1px solid #a2a9b1;
}
dl#infoboxCountry dd.infoboxCountryDataB table {
width: 298px; border-collapse: collapse; border-color: #a2a9b1; font-size: 0.9em; line-height: 1.3;
}
dl#infoboxCountry dd.infoboxCountryDataB tr {
border-color: #a2a9b1; vertical-align: top;
}
dl#infoboxCountry dd.infoboxCountryDataB th {
padding: 4px; border-color: #a2a9b1; border-width: 1px; text-align: left; font-weight: normal; width: 50%;
}
dl#infoboxCountry dd.infoboxCountryDataB td {
padding: 4px; border-color: #a2a9b1; border-width: 1px; width: 50%;
}
dl#infoboxCountry td.infoboxCountrySome {
padding: 0;
}
dl#infoboxCountry td.infoboxCountrySome dl, dl#infoboxCountry td.infoboxCountrySome dl dd {
margin: 0; padding: 0;
}
dl#infoboxCountry td.infoboxCountrySome dl dt {
margin: 0; padding: 4px; font-weight: normal; border-top: 1px solid #a2a9b1;
}
dl#infoboxCountry td.infoboxCountrySome dl dt.infoboxCountryLeader {
border-top: none;
}
dl#infoboxCountry td.infoboxCountrySome dl table {
width: 100%; font-size: 100%; border-collapse: collapse;
}
dl#infoboxCountry td.infoboxCountrySome dl th {
width: 50%; padding: 4px; text-indent: 0.75em;
}
dl#infoboxCountry td.infoboxCountrySome dl td {
width: 50%; padding: 4px; border-color: #a2a9b1; border-width: 1px; border-style: solid none none solid;
}
dd#Infobox_before-after {
width: 298px; margin: 0; padding: 0; border-color: #a2a9b1; border-width: 1px; border-style: none solid solid solid;
}
dd#Infobox_before-after table {
border-collapse: collapse; width: 100%; background: transparent;
}
dd#Infobox_before-after th {
width: 50%; padding: 0 4px;
}
dd#Infobox_before-after th.infoboxCountryPrev {
border-right: 1px solid #ccc;
}
dd#Infobox_before-after th.infoboxCountrySucc {
border-left: #ccc 1px solid;
}
dd#Infobox_before-after td.infoboxCountryPrev {
width: 50%; padding: 2px 4px; font-size: 80%; text-align: left; vertical-align: top; border-color: #ccc; border-width: 1px; border-style: solid solid none none;
}
dd#Infobox_before-after td.infoboxCountrySucc {
width: 50%; padding: 2px 4px; font-size: 80%; text-align: right; vertical-align: top; border-color: #ccc; border-width: 1px; border-style: solid none none solid;
}
dl#infoboxCountry dd.infoboxCountryNote {
font-size: 0.75em; width: 290px; margin: 0; padding: 2px 4px; border-color: #a2a9b1; border-width: 1px; border-style: none solid solid;
}
@media all and (max-width: 720px) { dl#infoboxCountry { float: none !important; margin: 0 !important; width: 100% !important; } dl#infoboxCountry dd { width: auto !important; } dl#infoboxCountry, dl#infoboxCountry table { display:table; } } /* */