Jump to content

Main Page.css: Difference between revisions

From Consumer Rights Wiki
No edit summary
Tag: Manual revert
No edit summary
Line 288: Line 288:
.crw-hero-actions p{
.crw-hero-actions p{
   margin: 0;
   margin: 0;
}
.crw-site-notice{
  margin: 1em auto 1.25em auto;
  padding: 12px 14px;
  max-width: 1100px;
  border: 2px solid #004080;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  color: #202122;
  font-weight: 600;
  text-align: center;
  box-sizing: border-box;
}
.crw-site-notice:empty{
  display: none;
}
}

Revision as of 21:43, 27 January 2026

.header-box a.external {
  background-image: none;
}

.header-box p {
  font-size: inherit;
  margin: 0.25em 0;
}

.header-box {
  background: #f7f9fc;
  border: 1px solid #004080;
  border-left-width: 4px;
  padding: 0.75em 1em;
  color: #111;
  text-align: center;
}

.header-box a:link,
.header-box a:visited {
  color: #7fb6ff;
}

a:hover,
a:focus,
.header-box a:hover,
.header-box a:focus {
  color: #b9dcff;
}

.crw-button {
  background: #004080;
  color: #fff;
  padding: 0.45em 0.9em;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.crw-button:hover,
.crw-button:focus {
  background: #0b5aa5;
  outline: none;
}

.crw-button.secondary {
  background: #eef2f7;
  color: #111;
  border: 1px solid #d7dde6;
}

.crw-button.secondary:hover,
.crw-button.secondary:focus {
  background: #e6edf6;
  outline: none;
}

.content-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 1em;
  overflow: hidden;
  min-width: 0;
}

@media screen and (min-width: 720px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.content-grid > .content-section {
  grid-column: 1 / -1;
}

@media screen and (min-width: 720px) {
  .content-grid > .content-section:nth-child(1),
  .content-grid > .content-section:nth-child(2) {
    grid-column: auto;
  }
}

.content-section {
  background: #FDFDFD;
  border: 1px solid #004080;
  padding: 1.1em 1.25em;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
  color: #111;
  border-radius: 8px;
}

.content-header {
  background: #004080;
  color: #fff;
  font-size: 1.15em;
  font-weight: 800;
  padding: 0.65em 0.9em;
  margin: -1.1em -1.25em 0.9em -1.25em;
  border-radius: 7px 7px 0 0;
}

.content-section.wide {
  grid-column: 1 / -1;
}

.content-section > div:first-child {
  background: #004080;
  color: #fff;
  font-size: 1.15em;
  font-weight: 800;
  padding: 0.65em 0.9em;
  margin: -1.1em -1.25em 0.9em -1.25em;
  border-radius: 7px 7px 0 0;
  border-bottom: 0;
}

@media screen {
  html.skin-theme-clientpref-night .header-box {
    background: #121c32;
    border-color: #004080;
    border-left-color: #004080;
    color: #e5e7eb;
  }

  html.skin-theme-clientpref-night .content-section {
    background: #121c32;
    border-color: #004080;
    color: #e5e7eb;
  }

  html.skin-theme-clientpref-night .content-header {
    background: #004080;
    color: #fff;
  }

  html.skin-theme-clientpref-night .content-section > div:first-child {
    background: #004080;
    color: #fff;
  }

  html.skin-theme-clientpref-night .crw-button {
    background: #004080;
    color: #fff;
  }

  html.skin-theme-clientpref-night .crw-button:hover,
  html.skin-theme-clientpref-night .crw-button:focus {
    background: #0b5aa5;
    outline: none;
  }

  html.skin-theme-clientpref-night .crw-button.secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(229, 231, 235, 0.22);
  }

  html.skin-theme-clientpref-night .crw-button.secondary:hover,
  html.skin-theme-clientpref-night .crw-button.secondary:focus {
    background: rgba(229, 231, 235, 0.08);
    outline: none;
  }

  html.skin-theme-clientpref-os .content-header {
    background: #004080;
    color: #fff;
  }

  html.skin-theme-clientpref-os .content-section > div:first-child {
    background: #004080;
    color: #fff;
  }
}

@media screen and (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .header-box {
    background: #121c32;
    border-color: #004080;
    border-left-color: #004080;
    color: #e5e7eb;
  }

  html.skin-theme-clientpref-os .content-section {
    background: #121c32;
    border-color: #004080;
    color: #e5e7eb;
  }

  html.skin-theme-clientpref-os .content-header {
    background: #004080;
    color: #fff;
  }

  html.skin-theme-clientpref-os .content-section > div:first-child {
    background: #004080;
    color: #fff;
  }

  html.skin-theme-clientpref-os .crw-button {
    background: #004080;
    color: #fff;
  }

  html.skin-theme-clientpref-os .crw-button:hover,
  html.skin-theme-clientpref-os .crw-button:focus {
    background: #0b5aa5;
    outline: none;
  }

  html.skin-theme-clientpref-os .crw-button.secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid rgba(229, 231, 235, 0.22);
  }

  html.skin-theme-clientpref-os .crw-button.secondary:hover,
  html.skin-theme-clientpref-os .crw-button.secondary:focus {
    background: rgba(229, 231, 235, 0.08);
    outline: none;
  }
}

.cat-but-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11em, 1fr));
  gap: 0.5em;
}

.cat-but {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.65em 0.9em;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d6dbe3;
  color: #004080;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.cat-but-icon {
  font-size: 1.05em;
  line-height: 1;
}

.cat-but-label {
  line-height: 1.1;
}

.cat-but:hover {
  background: #f3f6fb;
  border-color: #004080;
}

html.skin-theme-clientpref-night .cat-but,
html.skin-theme-clientpref-os .cat-but {
  background: #0f1a2b;
  border-color: #24314a;
  color: #ffffff;
}

html.skin-theme-clientpref-night .cat-but:hover,
html.skin-theme-clientpref-os .cat-but:hover {
  background: #16223a;
  border-color: #3a5a9a;
}

.crw-hero-actions{
  margin-top: 1.25em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75em;
  background: transparent;
  padding: 0;
}

.crw-hero-actions > span{
  display: inline-flex;
}

.crw-hero-actions p{
  margin: 0;
}

.crw-site-notice{
  margin: 1em auto 1.25em auto;
  padding: 12px 14px;
  max-width: 1100px;
  border: 2px solid #004080;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  color: #202122;
  font-weight: 600;
  text-align: center;
  box-sizing: border-box;
}

.crw-site-notice:empty{
  display: none;
}