|
|
1行目: |
1行目: |
| /* Infoboxes */
| |
| .portable-infobox,
| |
| .infobox {
| |
| border: 1px solid #a2a9b1;
| |
| /* color: black;*/
| |
| padding: 0.2em;
| |
| font-size: 88%;
| |
| line-height: 1.5em;
| |
| border-spacing: 3px;
| |
| }
| |
|
| |
|
| @media screen {
| |
| .portable-infobox,
| |
| .infobox {
| |
| /*background-color: #f8f9fa;*/
| |
| }
| |
| }
| |
|
| |
| @media (max-width: 640px) {
| |
| .portable-infobox,
| |
| .infobox {
| |
| width: 100%;
| |
| }
| |
|
| |
| .portable-infobox .nowrap,
| |
| .infobox .nowrap {
| |
| white-space: normal;
| |
| }
| |
| }
| |
|
| |
| @media (min-width: 640px) {
| |
| .portable-infobox,
| |
| .infobox {
| |
| /* @noflip */
| |
| margin: 0.5em 0 0.5em 1em;
| |
| /* @noflip */
| |
| float: right;
| |
| /* @noflip */
| |
| clear: right;
| |
| width: 22em;
| |
| }
| |
| }
| |
|
| |
| .infobox-header,.pi-header,
| |
| .infobox-label,.pi-label,
| |
| .infobox-data,.pi-data,
| |
| .infobox-above,.pi-above,
| |
| .infobox-full-data,.pi-full-data,
| |
| .infobox-below,.pi-below,
| |
| .infobox-subheader,.pi-subheader,
| |
| .infobox-image,.pi-image,
| |
| .infobox-navbar,.pi-navbar,
| |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox th,.portable-infobox th,
| |
| .infobox td,.portable-infobox td {
| |
| vertical-align: top;
| |
| }
| |
|
| |
| .infobox-label,.pi-label,
| |
| .infobox-data,.pi-data,
| |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox th,.pi-th,
| |
| .infobox td,.pi-td {
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
|
| |
| /* Remove .infobox when element selectors above are removed */
| |
| .infobox .infobox-above,.portable-infobox .pi-above,
| |
| .infobox .infobox-title,.portable-infobox .pi-title,
| |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox caption,.portable-infobox caption {
| |
| font-size: 125%;
| |
| font-weight: bold;
| |
| text-align: center;
| |
| }
| |
|
| |
| .infobox-title,.pi-title,
| |
| /* Remove element selector when every .infobox thing is using the standard module/templates */
| |
| .infobox caption,.portable-infobox caption {
| |
| padding: 0.2em;
| |
| }
| |
|
| |
| /* Remove .infobox when element selectors above are removed */
| |
| .infobox .infobox-header,.portable-infobox .pi-header,
| |
| .infobox .infobox-subheader,.portable-infobox .pi-subheader,
| |
| .infobox .infobox-image,.portable-infobox .pi-image,
| |
| .infobox .infobox-full-data,.portable-infobox .pi-full-data,
| |
| .infobox .infobox-below,.portable-infobox .pi-below {
| |
| text-align: center;
| |
| }
| |
|
| |
| /* Remove .infobox when element selectors above are removed */
| |
| .infobox .infobox-navbar,.portable-infobox .pi-navbar {
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |