Jump to content

User:Fen/Portals/Protocols/styles.css: Difference between revisions

From Consumer Rights Wiki
Fen (talk | contribs)
dark theme
Tag: Reverted
Fen (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 119: Line 119:




@media screen {
  html.skin-theme-clientpref-night .protocols-portal-wrapper,
  html.skin-theme-clientpref-os .protocols-portal-wrapper {
    background: #12151a;
    color: #e3e6eb;
  }


/* Wrapper */
  html.skin-theme-clientpref-night .protocols-header,
.protocols-portal-wrapper {
   html.skin-theme-clientpref-os .protocols-header {
   font-family: "Segoe UI", "Roboto", sans-serif;
    background: linear-gradient(to right, #4d3a73, #1f3366);
  background: #f9fbfc;
    color: #f0f1f7;
  color: #1b1f23;
    box-shadow: 0 0 12px rgba(30, 25, 70, 0.4);
  padding: 2em;
   }
  max-width: 1200px;
   margin: auto;
}


/* Header */
  html.skin-theme-clientpref-night .protocols-card,
.protocols-header {
  html.skin-theme-clientpref-os .protocols-card {
  background: linear-gradient(to right, #6e50a3, #2b4b91);
    background: #1c1f28;
  color: #ffffff;
    border: 1px solid #2e3250;
  padding: 1.6em;
    border-left: 6px solid #5d4fb2;
  border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin-bottom: 2em;
  }
  box-shadow: 0 0 12px rgba(60, 50, 140, 0.25);
  html.skin-theme-clientpref-night .protocols-card:nth-child(even),
}
  html.skin-theme-clientpref-os .protocols-card:nth-child(even) {
.protocols-title {
    border-left-color: #3a4ea8;
  font-size: 2.2em;
  }
  font-weight: 800;
}
.protocols-subtitle {
  font-size: 1.1em;
  font-style: italic;
  margin-top: 0.3em;
  color: #eae7f8;
}


/* Grid */
  html.skin-theme-clientpref-night .protocols-card-title,
.protocols-grid {
  html.skin-theme-clientpref-os .protocols-card-title {
  display: grid;
    color: #b3a6ff;
   grid-template-columns: 1fr 1fr;
    border-bottom-color: #3a3d57;
   gap: 1.5em;
   }
}
  html.skin-theme-clientpref-night .protocols-card:nth-child(even) .protocols-card-title,
   html.skin-theme-clientpref-os .protocols-card:nth-child(even) .protocols-card-title {
    color: #9db4ff;
  }


/* Card */
  html.skin-theme-clientpref-night .protocols-card-body,
.protocols-card {
   html.skin-theme-clientpref-os .protocols-card-body {
  background: #ffffff;
    color: #d7d9e6;
  border: 1px solid #dde0f4;
  }
  border-left: 6px solid #5d3ab2; /* purple-blue border default */
  border-radius: 5px;
  padding: 1.3em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.protocols-card:nth-child(even) {
   border-left-color: #3249a8; /* alternate: deep blue */
}
.protocols-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.protocols-card.wide {
  grid-column: 1 / -1;
}


/* Titles */
  html.skin-theme-clientpref-night .protocols-card-body a[href*="Category:"],
.protocols-card-title {
   html.skin-theme-clientpref-os .protocols-card-body a[href*="Category:"] {
   font-size: 1.3em;
    background: #26283b;
  font-weight: bold;
    border: 1px solid #3f4270;
  color: #503aa8;
    color: #b3a6ff;
  margin-bottom: 0.4em;
  }
  border-bottom: 1px solid #e0e0e0;
  html.skin-theme-clientpref-night .protocols-card-body a[href*="Category:"]:hover,
  padding-bottom: 0.3em;
  html.skin-theme-clientpref-os .protocols-card-body a[href*="Category:"]:hover {
}
    background: #333654;
.protocols-card:nth-child(even) .protocols-card-title {
    color: #d3ccff;
  color: #2b3fa5;
  }
}


/* Body */
  html.skin-theme-clientpref-night a:link,
.protocols-card-body {
   html.skin-theme-clientpref-night a:visited,
  font-size: 0.96em;
  html.skin-theme-clientpref-os a:link,
  color: #333;
  html.skin-theme-clientpref-os a:visited {
   line-height: 1.6;
    color: #9db4ff;
}
   }
.protocols-card-body ul {
   html.skin-theme-clientpref-night a:hover,
  padding-left: 1.2em;
   html.skin-theme-clientpref-os a:hover {
}
    color: #c2d0ff;
.protocols-card-body li {
   }
  margin-bottom: 0.5em;
}
 
/* Centered */
.protocols-card-body.center {
  text-align: center;
}
 
/* Category tags */
.protocols-card-body a[href*="Category:"] {
  display: inline-block;
  background: #f2f0fb;
   border: 1px solid #d6d2f1;
   padding: 0.3em 0.7em;
  font-size: 0.9em;
  font-weight: 600;
  color: #4a36a2;
  border-radius: 6px;
   margin: 0.2em;
  text-decoration: none;
  transition: background 0.2s ease;
}
.protocols-card-body a[href*="Category:"]:hover {
  background: #e2dcf7;
  color: #33217c;
}
 
/* Links */
a:link,
a:visited {
  color: #354fcf;
   text-decoration: none;
}
a:hover {
  color: #503aa8;
  text-decoration: underline;
}
}

Latest revision as of 01:07, 14 August 2025

/* Wrapper */
.protocols-portal-wrapper {
  font-family: "Segoe UI", "Roboto", sans-serif;
  background: #f9fbfc;
  color: #1b1f23;
  padding: 2em;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.protocols-header {
  background: linear-gradient(to right, #6e50a3, #2b4b91);
  color: #ffffff;
  padding: 1.6em;
  border-radius: 6px;
  margin-bottom: 2em;
  box-shadow: 0 0 12px rgba(60, 50, 140, 0.25);
}
.protocols-title {
  font-size: 2.2em;
  font-weight: 800;
}
.protocols-subtitle {
  font-size: 1.1em;
  font-style: italic;
  margin-top: 0.3em;
  color: #eae7f8;
}

/* Grid */
.protocols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
}

/* Card */
.protocols-card {
  background: #ffffff;
  border: 1px solid #dde0f4;
  border-left: 6px solid #5d3ab2; /* purple-blue border default */
  border-radius: 5px;
  padding: 1.3em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.protocols-card:nth-child(even) {
  border-left-color: #3249a8; /* alternate: deep blue */
}
.protocols-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.protocols-card.wide {
  grid-column: 1 / -1;
}

/* Titles */
.protocols-card-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #503aa8;
  margin-bottom: 0.4em;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.3em;
}
.protocols-card:nth-child(even) .protocols-card-title {
  color: #2b3fa5;
}

/* Body */
.protocols-card-body {
  font-size: 0.96em;
  color: #333;
  line-height: 1.6;
}
.protocols-card-body ul {
  padding-left: 1.2em;
}
.protocols-card-body li {
  margin-bottom: 0.5em;
}

/* Centered */
.protocols-card-body.center {
  text-align: center;
}

/* Category tags */
.protocols-card-body a[href*="Category:"] {
  display: inline-block;
  background: #f2f0fb;
  border: 1px solid #d6d2f1;
  padding: 0.3em 0.7em;
  font-size: 0.9em;
  font-weight: 600;
  color: #4a36a2;
  border-radius: 6px;
  margin: 0.2em;
  text-decoration: none;
  transition: background 0.2s ease;
}
.protocols-card-body a[href*="Category:"]:hover {
  background: #e2dcf7;
  color: #33217c;
}

/* Links */
a:link,
a:visited {
  color: #354fcf;
  text-decoration: none;
}
a:hover {
  color: #503aa8;
  text-decoration: underline;
}


@media screen {
  html.skin-theme-clientpref-night .protocols-portal-wrapper,
  html.skin-theme-clientpref-os .protocols-portal-wrapper {
    background: #12151a;
    color: #e3e6eb;
  }

  html.skin-theme-clientpref-night .protocols-header,
  html.skin-theme-clientpref-os .protocols-header {
    background: linear-gradient(to right, #4d3a73, #1f3366);
    color: #f0f1f7;
    box-shadow: 0 0 12px rgba(30, 25, 70, 0.4);
  }

  html.skin-theme-clientpref-night .protocols-card,
  html.skin-theme-clientpref-os .protocols-card {
    background: #1c1f28;
    border: 1px solid #2e3250;
    border-left: 6px solid #5d4fb2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  }
  html.skin-theme-clientpref-night .protocols-card:nth-child(even),
  html.skin-theme-clientpref-os .protocols-card:nth-child(even) {
    border-left-color: #3a4ea8;
  }

  html.skin-theme-clientpref-night .protocols-card-title,
  html.skin-theme-clientpref-os .protocols-card-title {
    color: #b3a6ff;
    border-bottom-color: #3a3d57;
  }
  html.skin-theme-clientpref-night .protocols-card:nth-child(even) .protocols-card-title,
  html.skin-theme-clientpref-os .protocols-card:nth-child(even) .protocols-card-title {
    color: #9db4ff;
  }

  html.skin-theme-clientpref-night .protocols-card-body,
  html.skin-theme-clientpref-os .protocols-card-body {
    color: #d7d9e6;
  }

  html.skin-theme-clientpref-night .protocols-card-body a[href*="Category:"],
  html.skin-theme-clientpref-os .protocols-card-body a[href*="Category:"] {
    background: #26283b;
    border: 1px solid #3f4270;
    color: #b3a6ff;
  }
  html.skin-theme-clientpref-night .protocols-card-body a[href*="Category:"]:hover,
  html.skin-theme-clientpref-os .protocols-card-body a[href*="Category:"]:hover {
    background: #333654;
    color: #d3ccff;
  }

  html.skin-theme-clientpref-night a:link,
  html.skin-theme-clientpref-night a:visited,
  html.skin-theme-clientpref-os a:link,
  html.skin-theme-clientpref-os a:visited {
    color: #9db4ff;
  }
  html.skin-theme-clientpref-night a:hover,
  html.skin-theme-clientpref-os a:hover {
    color: #c2d0ff;
  }
}