Fen (talk | contribs)
changed header background color to work better with visited links
No edit summary
 
(90 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Light mode styles */
.crw-hero {
.header-box a.external {
  background: #004080;
    background-image: none;
  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: 32px;
  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;
}


.header-box {
.crw-hero-stat {
   background: #e3f2fd;
   display: table-cell;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.5em;
  color: #000;
   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: #ffffff;
  line-height: 1.1;
}
.crw-hero-stat-num a {
  color: #ffffff;
  text-decoration: none;
}
.crw-hero-stat-label {
  font-size: 12px;
  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;
  text-decoration: none !important;
  display: inline-block;
  cursor: pointer;
  line-height: 1.2;
}
}


.crw-button {
.crw-btn-primary {
  background: #ffffff;
  color: #004080 !important;
  border: 2px solid #ffffff;
}
 
.crw-btn-ghost {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.5);
}
 
.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: #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: #fff;
   color: #ffffff;
   padding: 0.4em 0.8em;
  font-size: 16px;
   border-radius: 4px;
  font-weight: bold;
   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;
   font-weight: bold;
  color: #111111;
  line-height: 1.3;
  display: block;
  margin-bottom: 8px;
}
.crw-article-title a {
  color: #111111;
   text-decoration: none;
   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;
   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 {
  gap: 8px !important;
  margin-bottom: 12px;
}
.cat-but {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #d0dce8 !important;
  background: #f0f5fb !important;
  color: #004080 !important;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none !important;
  line-height: 1.4;
  box-sizing: border-box;
}
.cat-but:hover {
  background: #004080 !important;
  color: #ffffff !important;
  border-color: #004080 !important;
}
}


.crw-button.secondary {
.cat-but-icon {
   background: #e0e0e0;
   font-size: 18px;
   color: #000;
   margin-right: 8px;
  vertical-align: middle;
  line-height: 1;
}
}


.content-grid {
.cat-but-label {
   display: grid;
   vertical-align: middle;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   font-size: 14px;
  gap: 1rem;
  margin-top: 1em;
   font-family: sans-serif;
  color: #000;
}
}


.content-section {
.crw-tool-item {
   background: #f9f9f9;
   display: block;
   border: 1px solid #ccc;
  padding: 12px 14px;
   border: 1px solid #d0dce8;
   border-radius: 6px;
   border-radius: 6px;
   padding: 1em;
   text-decoration: none !important;
  color: #222222 !important;
  background: #f7fafd;
  margin-bottom: 10px;
  overflow: hidden;
}
}


.content-section > div:first-child {
.crw-tool-item:hover {
   font-size: 1.5em;
  background: #e8f0fb;
  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;
   font-weight: bold;
   color: #2f4770;
   color: #004080;
   border-bottom: 2px solid #9bb9df;
   display: block;
   padding-bottom: 0.2em;
  margin-bottom: 2px;
   margin-top: 1em;
}
 
.crw-tool-desc {
  font-size: 12px;
  color: #555555;
  line-height: 1.4;
}
 
.crw-news-item {
   padding: 10px 0;
  border-bottom: 1px solid #e4ecf4;
  overflow: hidden;
}
 
.crw-news-item:last-child {
  border-bottom: none;
   padding-bottom: 0;
}
}


/* Forced dark mode */
.crw-news-dot {
@media screen {
  width: 8px;
   html.skin-theme-clientpref-night .header-box {
  height: 8px;
    background: #5d68bb;
  background: #004080;
    border-color: #444;
  border-radius: 50%;
    color: #d0d8ff;
  float: left;
  margin-top: 6px;
  margin-right: 10px;
}
 
.crw-news-text {
   font-size: 14px;
  color: #222222;
  line-height: 1.5;
  overflow: hidden;
}
 
.crw-news-text a {
  color: #004080;
  font-weight: bold;
  text-decoration: none;
}
 
.crw-news-text a:hover {
  text-decoration: underline;
}
 
.crw-cta-bar {
  background: #004080;
  border-radius: 8px;
  padding: 24px 32px;
  margin-bottom: 24px;
  overflow: hidden;
}
 
.crw-cta-text {
  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;
   }
   }


   html.skin-theme-clientpref-night .content-section {
   .crw-hero-stat-num {
     background: #2b2f3a;
     font-size: 22px;
    border-color: #444;
    color: #e0e0e0;
   }
   }


   html.skin-theme-clientpref-night .crw-button {
   .crw-how-strip-table,
     background: #517bc0;
  .crw-how-strip-table tr,
     color: #fff;
  .crw-how-strip-table td {
     display: block !important;
    width: 100% !important;
     padding: 0 0 8px 0 !important;
   }
   }


   html.skin-theme-clientpref-night .crw-button.secondary {
   .crw-main-grid,
     background: #333;
  .crw-main-grid tr,
     color: #ccc;
  .crw-main-grid td {
     display: block !important;
    width: 100% !important;
     padding: 0 !important;
   }
   }


   html.skin-theme-clientpref-night .content-section > div:first-child {
   .crw-article-grid {
     color: #8ba4d4;
     grid-template-columns: 1fr;
    border-color: #536d9d;
   }
   }
}


/* OS dark mode */
   .crw-article-card {
@media screen and (prefers-color-scheme: dark) {
     margin-bottom: 12px;
   html.skin-theme-clientpref-os .header-box {
     background: #5d68bb;
    border-color: #444;
    color: #d0d8ff;
   }
   }


   html.skin-theme-clientpref-os .content-section {
   .crw-cta-bar {
     background: #2b2f3a;
     padding: 20px 16px;
    border-color: #444;
    color: #e0e0e0;
   }
   }


   html.skin-theme-clientpref-os .crw-button {
   .crw-cta-text {
     background: #517bc0;
     display: block;
     color: #fff;
     max-width: 100%;
    margin-bottom: 16px;
   }
   }


   html.skin-theme-clientpref-os .crw-button.secondary {
   .crw-cta-actions {
     background: #333;
     display: block;
     color: #ccc;
    float: none;
     margin: 0;
   }
   }


   html.skin-theme-clientpref-os .content-section > div:first-child {
   .crw-cta-actions a {
     color: #8ba4d4;
     display: inline-block;
     border-color: #536d9d;
     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; }
}
}