Main Page.css: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 250: | Line 250: | ||
background: #16223a; | background: #16223a; | ||
border-color: #3a5a9a; | border-color: #3a5a9a; | ||
} | |||
/* Testing */ | |||
.header-inner { | |||
max-width: 860px; | |||
margin: 0 auto; | |||
text-align: center; | |||
} | |||
.header-title { | |||
font-size: 2em; | |||
font-weight: 800; | |||
} | |||
.header-tagline { | |||
font-size: 1.35em; | |||
font-style: italic; | |||
margin: 0.4em 0 0.9em; | |||
} | |||
.header-stats { | |||
font-size: 1.2em; | |||
margin: 0.25em 0 0.75em; | |||
} | |||
.header-actions { | |||
margin: 0.75em auto 0; | |||
max-width: 780px; | |||
display: grid; | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | |||
gap: 0.5em; | |||
align-items: stretch; | |||
} | |||
.header-actions a { | |||
display: block; | |||
text-decoration: none; | |||
} | |||
.header-actions .crw-button { | |||
width: 100%; | |||
box-sizing: border-box; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
text-align: center; | |||
line-height: 1.15; | |||
white-space: normal; | |||
word-break: break-word; | |||
overflow-wrap: anywhere; | |||
padding: 0.55em 0.9em; | |||
} | |||
@media screen and (max-width: 900px) { | |||
.header-actions { | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
} | |||
} | |||
@media screen and (max-width: 520px) { | |||
.header-actions { | |||
grid-template-columns: 1fr; | |||
} | |||
.header-tagline { | |||
font-size: 1.2em; | |||
} | |||
.header-stats { | |||
font-size: 1.05em; | |||
} | |||
} | |||
html.skin-theme-clientpref-night .header-tagline, | |||
html.skin-theme-clientpref-night .header-stats, | |||
html.skin-theme-clientpref-os .header-tagline, | |||
html.skin-theme-clientpref-os .header-stats { | |||
color: inherit; | |||
} | } | ||