Main Page.css: Difference between revisions
No edit summary |
No edit summary |
||
| (51 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
. | .crw-hero { | ||
background: #004080; | |||
border-radius: 8px; | |||
padding: 48px 40px; | |||
color: #ffffff; | |||
text-align: center; | |||
margin-bottom: 24px; | |||
} | |||
.crw-hero-eyebrow { | |||
font-size: 13px; | |||
font-weight: bold; | |||
letter-spacing: 0.1em; | |||
text-transform: uppercase; | |||
color: #fff; | |||
margin-bottom: 16px; | |||
display: block; | |||
} | } | ||
. | .crw-hero-title { | ||
font-size: | font-size: 32px; | ||
margin: | font-weight: bold; | ||
line-height: 1.2; | |||
margin-bottom: 14px; | |||
color: #ffffff; | |||
} | } | ||
. | .crw-hero-title a { | ||
color: #ffffff; | |||
text-decoration: none; | |||
} | |||
.crw-hero-sub { | |||
font-size: 17px; | |||
color: #cce0ff; | |||
margin: 0 auto 24px; | |||
max-width: 640px; | |||
line-height: 1.6; | |||
display: block; | |||
} | |||
.crw-hero-stats { | |||
display: table; | |||
width: auto; | |||
margin: 0 auto 28px; | |||
} | |||
.crw-hero-stat { | |||
display: table-cell; | |||
text-align: center; | text-align: center; | ||
padding: 0 28px; | |||
} | } | ||
. | .crw-hero-stat:last-child { | ||
border-right: none; | |||
} | } | ||
.crw-hero-stat-num { | |||
display: block; | |||
font-size: 28px; | |||
. | font-weight: bold; | ||
color: # | color: #ffffff; | ||
line-height: 1.1; | |||
} | |||
.crw-hero-stat-num a { | |||
color: #ffffff; | |||
text-decoration: none; | |||
} | } | ||
.crw- | .crw-hero-stat-label { | ||
font-size: 12px; | |||
color: #fff; | color: #fff; | ||
text-transform: uppercase; | |||
letter-spacing: 0.08em; | |||
margin-top: 4px; | |||
display: block; | |||
} | |||
.crw-hero-actions { | |||
margin-top: 8px; | |||
} | |||
.crw-hero-actions a { | |||
display: inline-block; | |||
margin: 4px 6px; | |||
} | |||
.crw-btn { | |||
font-size: 14px; | |||
font-weight: bold; | |||
padding: 10px 20px; | |||
border-radius: 6px; | border-radius: 6px; | ||
text-decoration: none !important; | |||
text-decoration: none; | |||
display: inline-block; | display: inline-block; | ||
cursor: pointer; | |||
line-height: 1.2; | |||
} | } | ||
.crw- | .crw-btn-primary { | ||
background: #ffffff; | |||
background: # | color: #004080 !important; | ||
border: 2px solid #ffffff; | |||
} | } | ||
.crw- | .crw-btn-ghost { | ||
background: | background: transparent; | ||
color: # | color: #ffffff !important; | ||
border: | border: 2px solid rgba(255,255,255,0.5); | ||
} | } | ||
.crw- | .crw-notice { | ||
background: #fff8e6; | |||
border: 1px solid #f0c040; | |||
border-left: 5px solid #f0a500; | |||
border-radius: 6px; | |||
padding: 12px 16px; | |||
font-size: 14px; | |||
color: #5a3b00; | |||
font-weight: bold; | |||
margin-bottom: 24px; | |||
} | } | ||
. | .crw-how-strip { | ||
margin-bottom: 24px; | |||
font-size: 0; | |||
text-align: left; | |||
} | } | ||
.crw-how-card { | |||
display: block; | |||
width: 100%; | |||
background: #ffffff; | |||
border: 1px solid #d0dce8; | |||
border-top: 3px solid #004080; | |||
border-radius: 6px; | |||
padding: 18px 16px; | |||
text-decoration: none !important; | |||
color: #222222 !important; | |||
box-sizing: border-box; | |||
font-size: 14px; | |||
} | } | ||
. | .crw-how-card:hover { | ||
border-top-color: #004080; | |||
box-shadow: 0 2px 8px rgba(0,64,128,0.12); | |||
} | } | ||
.crw-how-icon { | |||
font-size: 22px; | |||
line-height: 1; | |||
display: block; | |||
margin-bottom: 10px; | |||
} | } | ||
. | .crw-how-title { | ||
font-size: 14px; | |||
font-weight: bold; | |||
color: #004080; | |||
display: block; | |||
margin-bottom: 6px; | |||
line-height: 1.3; | |||
} | } | ||
. | .crw-how-desc { | ||
font-size: 13px; | |||
color: # | color: #555555; | ||
line-height: 1.5; | |||
display: block; | |||
} | } | ||
. | .crw-panel { | ||
background: #ffffff; | |||
border: 1px solid #d0dce8; | |||
border-radius: 6px; | |||
overflow: hidden; | |||
margin-bottom: 20px; | |||
} | } | ||
. | .crw-panel-head { | ||
background: #004080; | background: #004080; | ||
color: # | color: #ffffff; | ||
font-size: | font-size: 16px; | ||
font-weight: | font-weight: bold; | ||
padding: | padding: 12px 16px; | ||
letter-spacing: 0.02em; | |||
} | } | ||
.crw-panel-body { | |||
padding: 16px; | |||
background: #fafafa; | |||
} | |||
.crw-article-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 12px; | |||
} | |||
.crw-article-row { | |||
display: contents; | |||
} | |||
.crw-article-card { | |||
display: flex; | |||
flex-direction: column; | |||
} | border-radius: 6px; | ||
overflow: hidden; | |||
text-decoration: none !important; | |||
color: #222222 !important; | |||
background: #ffffff; | |||
box-shadow: 0 1px 4px rgba(0,0,0,0.10); | |||
transition: box-shadow 0.18s, transform 0.18s; | |||
} | |||
.crw-article-card:hover { | |||
box-shadow: 0 4px 16px rgba(0,0,0,0.16); | |||
transform: translateY(-2px); | |||
} | |||
.crw-article-img { | |||
height: 180px; | |||
background: #fafafa; | |||
overflow: hidden; | |||
} | display: block; | ||
flex-shrink: 0; | |||
} | |||
.crw-article-img img { | |||
width: 100%; | |||
height: 180px; | |||
object-fit: cover; | |||
} | display: block; | ||
} | |||
.crw-article-info { | |||
padding: 14px 16px 18px; | |||
display: flex; | |||
flex-direction: column; | |||
flex: 1; | |||
text-align: left; | |||
} | |||
.crw-article-tag { | |||
display: inline-block; | |||
background: none; | |||
} | color: #888888; | ||
font-size: 12px; | |||
font-weight: normal; | |||
padding: 0; | |||
border-radius: 0; | |||
margin-bottom: 5px; | |||
letter-spacing: 0; | |||
text-transform: none; | |||
} | |||
.crw-article-title { | |||
font-size: 18px; | |||
font-weight: bold; | |||
color: #111111; | |||
line-height: 1.3; | |||
display: block; | |||
margin-bottom: 8px; | |||
} | } | ||
.crw-article-title a { | |||
color: #111111; | |||
text-decoration: none; | |||
} | |||
.crw-article-title a:hover { | |||
text-decoration: underline; | |||
} | |||
.crw-article-desc { | |||
font-size: 14px; | |||
color: #555555; | |||
} | line-height: 1.6; | ||
display: block; | |||
} | |||
.crw-cat-grid { | |||
overflow: hidden; | |||
} | |||
.crw-cat-item { | |||
display: inline-block; | |||
padding: 6px 12px; | |||
} | border: 1px solid #c0d4e8; | ||
border-radius: 4px; | |||
background: #f0f5fb; | |||
text-decoration: none !important; | |||
color: #004080 !important; | |||
font-size: 13px; | |||
font-weight: bold; | |||
margin: 0 6px 8px 0; | |||
line-height: 1.3; | |||
} | |||
.crw-cat-item:hover { | |||
background: #004080; | |||
color: #ffffff !important; | |||
border-color: #004080; | |||
} | } | ||
.cat-but-grid { | .cat-but-grid { | ||
gap: 8px !important; | |||
margin-bottom: 12px; | |||
} | } | ||
.cat-but { | .cat-but { | ||
display: | display: block; | ||
padding: 10px 14px; | |||
border-radius: 6px; | |||
padding: | border: 1px solid #d0dce8 !important; | ||
border-radius: | background: #f0f5fb !important; | ||
color: #004080 !important; | |||
font-size: 14px; | |||
color: #004080; | font-weight: bold; | ||
font-weight: | text-decoration: none !important; | ||
text-decoration: none; | line-height: 1.4; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | |||
.cat-but:hover { | |||
background: #004080 !important; | |||
color: #ffffff !important; | |||
border-color: #004080 !important; | |||
} | } | ||
.cat-but-icon { | .cat-but-icon { | ||
font-size: | font-size: 18px; | ||
margin-right: 8px; | |||
vertical-align: middle; | |||
line-height: 1; | line-height: 1; | ||
} | } | ||
.cat-but-label { | .cat-but-label { | ||
vertical-align: middle; | |||
font-size: 14px; | |||
} | |||
.crw-tool-item { | |||
display: block; | |||
padding: 12px 14px; | |||
border: 1px solid #d0dce8; | |||
border-radius: 6px; | |||
text-decoration: none !important; | |||
color: #222222 !important; | |||
background: #f7fafd; | |||
margin-bottom: 10px; | |||
overflow: hidden; | |||
} | } | ||
. | .crw-tool-item:hover { | ||
background: # | background: #e8f0fb; | ||
border-color: #004080; | border-color: #004080; | ||
} | } | ||
.crw-tool-icon { | |||
font-size: 18px; | |||
float: left; | |||
margin-right: 12px; | |||
line-height: 1.4; | |||
} | |||
.crw-tool-name { | |||
font-size: 14px; | |||
font-weight: bold; | |||
color: #004080; | |||
display: block; | |||
margin-bottom: 2px; | |||
} | } | ||
.crw-tool-desc { | |||
font-size: 12px; | |||
color: #555555; | |||
line-height: 1.4; | |||
} | } | ||
.crw- | .crw-news-item { | ||
padding: 10px 0; | |||
border-bottom: 1px solid #e4ecf4; | |||
overflow: hidden; | |||
} | } | ||
.crw- | .crw-news-item:last-child { | ||
border-bottom: none; | |||
padding-bottom: 0; | |||
} | } | ||
.crw- | .crw-news-dot { | ||
margin: | width: 8px; | ||
height: 8px; | |||
background: #004080; | |||
border-radius: 50%; | |||
float: left; | |||
margin-top: 6px; | |||
margin-right: 10px; | |||
} | } | ||
.crw- | .crw-news-text { | ||
font-size: 14px; | |||
color: #222222; | |||
line-height: 1.5; | |||
overflow: hidden; | |||
color: # | |||
} | } | ||
.crw- | .crw-news-text a { | ||
color: #004080; | color: #004080; | ||
font-weight: bold; | |||
text-decoration: none; | |||
} | |||
.crw-news-text a:hover { | |||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.crw- | .crw-cta-bar { | ||
background: #004080; | |||
border-radius: 8px; | |||
padding: 24px 32px; | |||
margin-bottom: 24px; | |||
overflow: hidden; | |||
} | } | ||
.crw- | .crw-cta-text { | ||
display: none; | display: inline-block; | ||
vertical-align: middle; | |||
max-width: 62%; | |||
} | |||
.crw-cta-title { | |||
font-size: 20px; | |||
font-weight: bold; | |||
color: #ffffff; | |||
display: block; | |||
margin-bottom: 6px; | |||
line-height: 1.2; | |||
} | |||
.crw-cta-sub { | |||
font-size: 14px; | |||
color: #b9dcff; | |||
display: block; | |||
line-height: 1.5; | |||
} | |||
.crw-cta-actions { | |||
display: inline-block; | |||
vertical-align: middle; | |||
float: right; | |||
margin-top: 4px; | |||
} | |||
.crw-cta-actions a { | |||
display: inline-block; | |||
margin-left: 10px; | |||
} | |||
@media screen and (max-width: 900px) { | |||
.crw-article-grid { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
} | |||
@media screen and (max-width: 720px) { | |||
.crw-hero { | |||
padding: 32px 20px; | |||
} | |||
.crw-hero-title { | |||
font-size: 24px; | |||
} | |||
.crw-hero-sub { | |||
font-size: 15px; | |||
} | |||
.crw-hero-stat { | |||
padding: 0 14px; | |||
} | |||
.crw-hero-stat-num { | |||
font-size: 22px; | |||
} | |||
.crw-how-strip-table, | |||
.crw-how-strip-table tr, | |||
.crw-how-strip-table td { | |||
display: block !important; | |||
width: 100% !important; | |||
padding: 0 0 8px 0 !important; | |||
} | |||
.crw-main-grid, | |||
.crw-main-grid tr, | |||
.crw-main-grid td { | |||
display: block !important; | |||
width: 100% !important; | |||
padding: 0 !important; | |||
} | |||
.crw-article-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.crw-article-card { | |||
margin-bottom: 12px; | |||
} | |||
.crw-cta-bar { | |||
padding: 20px 16px; | |||
} | |||
.crw-cta-text { | |||
display: block; | |||
max-width: 100%; | |||
margin-bottom: 16px; | |||
} | |||
.crw-cta-actions { | |||
display: block; | |||
float: none; | |||
margin: 0; | |||
} | |||
.crw-cta-actions a { | |||
display: inline-block; | |||
margin: 4px 6px 4px 0; | |||
} | |||
} | |||
.crw-article-info { | |||
text-align: center; | |||
} | |||
@media screen { | |||
html.skin-theme-clientpref-night .crw-hero { background: #002050; } | |||
html.skin-theme-clientpref-night .crw-hero-sub { color: #88aacc; } | |||
html.skin-theme-clientpref-night .crw-hero-stat-num { color: #b9dcff; } | |||
html.skin-theme-clientpref-night .crw-panel { background: #0d1f35; border-color: #1e3a5f; } | |||
html.skin-theme-clientpref-night .crw-panel-head { background: #002a5a; } | |||
html.skin-theme-clientpref-night .crw-panel-body { background: #0a1828; color: #d0e0f0; } | |||
html.skin-theme-clientpref-night .crw-how-card { background: #0d1f35; border-color: #1e3a5f; border-top-color: #004080; color: #d0e0f0 !important; } | |||
html.skin-theme-clientpref-night .crw-how-title { color: #88bbee; } | |||
html.skin-theme-clientpref-night .crw-how-desc { color: #7a9ab8; } | |||
html.skin-theme-clientpref-night .crw-article-card { background: #0d1f35; border-color: #1e3a5f; color: #d0e0f0 !important; } | |||
html.skin-theme-clientpref-night .crw-article-img { background: #0a1828; } | |||
html.skin-theme-clientpref-night .crw-article-title { color: #000; } | |||
html.skin-theme-clientpref-night .crw-article-title a { color: #000; } | |||
html.skin-theme-clientpref-night .crw-article-desc { color: #8aabcc; } | |||
html.skin-theme-clientpref-night .crw-article-tag { color: #6a8aaa; } | |||
html.skin-theme-clientpref-night .crw-cat-item { background: #0a1828; border-color: #1e3a5f; color: #88bbee !important; } | |||
html.skin-theme-clientpref-night .crw-tool-item { background: #0a1828; border-color: #1e3a5f; color: #d0e0f0 !important; } | |||
html.skin-theme-clientpref-night .crw-tool-name { color: #88bbee; } | |||
html.skin-theme-clientpref-night .crw-tool-desc { color: #7a9ab8; } | |||
html.skin-theme-clientpref-night .crw-news-text { color: #d0e0f0; } | |||
html.skin-theme-clientpref-night .crw-news-text a { color: #88bbee; } | |||
html.skin-theme-clientpref-night .crw-news-item { border-bottom-color: #1e3a5f; } | |||
html.skin-theme-clientpref-night .crw-notice { background: #1a1000; color: #ffd580; border-color: #a06000; border-left-color: #f0a500; } | |||
html.skin-theme-clientpref-night .crw-cta-bar { background: #002050; } | |||
html.skin-theme-clientpref-night .crw-btn-primary { background: #b9dcff; color: #002050 !important; border-color: #b9dcff; } | |||
html.skin-theme-clientpref-night .cat-but { background: #0d1f35 !important; border-color: #1e3a5f !important; color: #88bbee !important; } | |||
html.skin-theme-clientpref-night .cat-but:hover { background: #004080 !important; color: #ffffff !important; border-color: #004080 !important; } | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .crw-hero { background: #002050; } | |||
html.skin-theme-clientpref-os .crw-hero-sub { color: #88aacc; } | |||
html.skin-theme-clientpref-os .crw-hero-stat-num { color: #b9dcff; } | |||
html.skin-theme-clientpref-os .crw-panel { background: #0d1f35; border-color: #1e3a5f; } | |||
html.skin-theme-clientpref-os .crw-panel-head { background: #002a5a; } | |||
html.skin-theme-clientpref-os .crw-panel-body { background: #0a1828; color: #d0e0f0; } | |||
html.skin-theme-clientpref-os .crw-how-card { background: #0d1f35; border-color: #1e3a5f; border-top-color: #004080; color: #d0e0f0 !important; } | |||
html.skin-theme-clientpref-os .crw-how-title { color: #88bbee; } | |||
html.skin-theme-clientpref-os .crw-how-desc { color: #7a9ab8; } | |||
html.skin-theme-clientpref-os .crw-article-card { background: #0d1f35; border-color: #1e3a5f; color: #d0e0f0 !important; } | |||
html.skin-theme-clientpref-os .crw-article-img { background: #0a1828; } | |||
html.skin-theme-clientpref-os .crw-article-title { color: #e0e0e0; } | |||
html.skin-theme-clientpref-os .crw-article-title a { color: #000!important; } | |||
html.skin-theme-clientpref-os .crw-article-desc { color: #8aabcc; } | |||
html.skin-theme-clientpref-os .crw-article-tag { color: #6a8aaa; } | |||
html.skin-theme-clientpref-os .crw-cat-item { background: #0a1828; border-color: #1e3a5f; color: #88bbee !important; } | |||
html.skin-theme-clientpref-os .crw-tool-item { background: #0a1828; border-color: #1e3a5f; color: #d0e0f0 !important; } | |||
html.skin-theme-clientpref-os .crw-tool-name { color: #88bbee; } | |||
html.skin-theme-clientpref-os .crw-tool-desc { color: #7a9ab8; } | |||
html.skin-theme-clientpref-os .crw-news-text { color: #d0e0f0; } | |||
html.skin-theme-clientpref-os .crw-news-text a { color: #88bbee; } | |||
html.skin-theme-clientpref-os .crw-news-item { border-bottom-color: #1e3a5f; } | |||
html.skin-theme-clientpref-os .crw-notice { background: #1a1000; color: #ffd580; border-color: #a06000; border-left-color: #f0a500; } | |||
html.skin-theme-clientpref-os .crw-cta-bar { background: #002050; } | |||
html.skin-theme-clientpref-os .crw-btn-primary { background: #b9dcff; color: #002050 !important; border-color: #b9dcff; } | |||
html.skin-theme-clientpref-os .cat-but { background: #0d1f35 !important; border-color: #1e3a5f !important; color: #88bbee !important; } | |||
html.skin-theme-clientpref-os .cat-but:hover { background: #004080 !important; color: #ffffff !important; border-color: #004080 !important; } | |||
} | } | ||