Main Page.css: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
.header-box a.external { | .header-box a.external { | ||
background-image: none; | background-image: none; | ||
| Line 13: | Line 12: | ||
border: 1px solid #d7dde6; | border: 1px solid #d7dde6; | ||
border-left: 4px solid #004080; | border-left: 4px solid #004080; | ||
padding: 0. | padding: 0.9em 1.1em; | ||
color: #111; | color: #111; | ||
text-align: center; | text-align: center; | ||
border-radius: 10px; | |||
} | } | ||
| Line 21: | Line 21: | ||
background: #004080; | background: #004080; | ||
color: #fff; | color: #fff; | ||
padding: 0. | padding: 0.5em 0.95em; | ||
border-radius: | border-radius: 10px; | ||
font-weight: | font-weight: 700; | ||
text-decoration: none; | text-decoration: none; | ||
display: inline- | display: inline-flex; | ||
align-items: center; | |||
justify-content: center; | |||
line-height: 1.1; | |||
white-space: nowrap; | |||
} | } | ||
| Line 56: | Line 60: | ||
.content-header { | .content-header { | ||
font-size: 1. | font-size: 1.4em; | ||
font-weight: | font-weight: 800; | ||
color: #0f2e4d; | color: #0f2e4d; | ||
border-bottom: 2px solid rgba(0, 64, 128, 0.22); | border-bottom: 2px solid rgba(0, 64, 128, 0.22); | ||
padding-bottom: 0. | padding-bottom: 0.3em; | ||
margin | margin: 0 0 0.65em 0 !important; | ||
} | } | ||
| Line 73: | Line 76: | ||
min-width: 0; | min-width: 0; | ||
color: #111; | color: #111; | ||
border-radius: 12px; | |||
} | } | ||
| Line 80: | Line 84: | ||
.content-section > div:first-child { | .content-section > div:first-child { | ||
font-size: 1. | font-size: 1.4em; | ||
font-weight: | font-weight: 800; | ||
color: #0f2e4d; | color: #0f2e4d; | ||
border-bottom: 2px solid rgba(0, 64, 128, 0.22); | border-bottom: 2px solid rgba(0, 64, 128, 0.22); | ||
padding-bottom: 0.25em; | padding-bottom: 0.3em; | ||
margin-top: 0. | margin-top: 0.15em; | ||
} | |||
.content-section a { | |||
color: #004080; | |||
text-decoration: none; | |||
border-bottom: 1px solid rgba(0, 64, 128, 0.35); | |||
} | |||
.content-section a:hover, | |||
.content-section a:focus { | |||
border-bottom-color: #004080; | |||
} | |||
.content-section ul, | |||
.content-section ol { | |||
margin: 0.5em 0 0.2em 1.2em; | |||
} | |||
.content-section li { | |||
margin: 0.25em 0; | |||
} | |||
.content-section .mw-parser-output > p:first-child { | |||
margin-top: 0; | |||
} | |||
.content-section .mw-parser-output > p:last-child { | |||
margin-bottom: 0; | |||
} | } | ||
@media screen { | @media screen { | ||
html.skin-theme-clientpref-night .header-box { | html.skin-theme-clientpref-night .header-box { | ||
| Line 134: | Line 165: | ||
color: #eaf2ff; | color: #eaf2ff; | ||
border-bottom-color: rgba(0, 64, 128, 0.35); | border-bottom-color: rgba(0, 64, 128, 0.35); | ||
} | |||
html.skin-theme-clientpref-night .content-section a { | |||
color: #eaf2ff; | |||
border-bottom-color: rgba(234, 242, 255, 0.35); | |||
} | |||
html.skin-theme-clientpref-night .content-section a:hover, | |||
html.skin-theme-clientpref-night .content-section a:focus { | |||
border-bottom-color: rgba(234, 242, 255, 0.65); | |||
} | } | ||
| Line 142: | Line 183: | ||
} | } | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .header-box { | html.skin-theme-clientpref-os .header-box { | ||
| Line 188: | Line 228: | ||
color: #eaf2ff; | color: #eaf2ff; | ||
border-bottom-color: rgba(0, 64, 128, 0.35); | border-bottom-color: rgba(0, 64, 128, 0.35); | ||
} | |||
html.skin-theme-clientpref-os .content-section a { | |||
color: #eaf2ff; | |||
border-bottom-color: rgba(234, 242, 255, 0.35); | |||
} | |||
html.skin-theme-clientpref-os .content-section a:hover, | |||
html.skin-theme-clientpref-os .content-section a:focus { | |||
border-bottom-color: rgba(234, 242, 255, 0.65); | |||
} | } | ||
} | } | ||
.cat-but-grid { | .cat-but-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); | grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); | ||
gap: 0. | gap: 0.6em; | ||
} | } | ||
| Line 201: | Line 250: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: 0. | gap: 0.55em; | ||
padding: 0. | padding: 0.7em 0.95em; | ||
border-radius: | border-radius: 10px; | ||
background: #ffffff; | background: #ffffff; | ||
border: 1px solid #d6dbe3; | border: 1px solid #d6dbe3; | ||
color: #004080; | color: #004080; | ||
font-weight: | font-weight: 800; | ||
text-decoration: none; | text-decoration: none; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
line-height: 1.15; | |||
} | } | ||
| Line 221: | Line 271: | ||
} | } | ||
.cat-but:hover { | .cat-but:hover { | ||
background: #f3f6fb; | background: #f3f6fb; | ||
| Line 227: | Line 276: | ||
} | } | ||
html.skin-theme-clientpref-night .cat-but, | html.skin-theme-clientpref-night .cat-but, | ||
html.skin-theme-clientpref-os .cat-but { | html.skin-theme-clientpref-os .cat-but { | ||