No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
/* Light mode styles */
.header-box a.external {
.header-box a.external {
   background-image: none;
   background-image: none;
Line 12: Line 13:
   border: 1px solid #d7dde6;
   border: 1px solid #d7dde6;
   border-left: 4px solid #004080;
   border-left: 4px solid #004080;
   padding: 0.9em 1.1em;
   padding: 0.75em 1em;
   color: #111;
   color: #111;
   text-align: center;
   text-align: center;
  border-radius: 10px;
}
}


Line 21: Line 21:
   background: #004080;
   background: #004080;
   color: #fff;
   color: #fff;
   padding: 0.5em 0.95em;
   padding: 0.45em 0.9em;
   font-weight: 700;
  border-radius: 6px;
   font-weight: bold;
   text-decoration: none;
   text-decoration: none;
   display: inline-flex;
   display: inline-block;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  white-space: nowrap;
}
}


Line 59: Line 56:


.content-header {
.content-header {
   font-size: 1.4em;
   font-size: 1.5em;
   font-weight: 800;
   font-weight: bold;
   color: #0f2e4d;
   color: #0f2e4d;
   border-bottom: 2px solid rgba(0, 64, 128, 0.22);
   border-bottom: 2px solid rgba(0, 64, 128, 0.22);
   padding-bottom: 0.3em;
   padding-bottom: 0.25em;
   margin: 0 0 0.65em 0 !important;
   margin-bottom: 0.6em;
  margin-top: 0 !important;
}
}


Line 75: Line 73:
   min-width: 0;
   min-width: 0;
   color: #111;
   color: #111;
  border-radius: 12px;
}
}


Line 83: Line 80:


.content-section > div:first-child {
.content-section > div:first-child {
   font-size: 1.4em;
   font-size: 1.5em;
   font-weight: 800;
   font-weight: bold;
   color: #0f2e4d;
   color: #0f2e4d;
   border-bottom: 2px solid rgba(0, 64, 128, 0.22);
   border-bottom: 2px solid rgba(0, 64, 128, 0.22);
   padding-bottom: 0.3em;
   padding-bottom: 0.25em;
   margin-top: 0.15em;
   margin-top: 0.25em;
}
 
.content-section a {
  color: #004080;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 64, 128, 0.35);
}
 
.content-section a:hover,
.content-section a:focus {
  border-bottom-color: #004080;
}
 
.content-section ul,
.content-section ol {
  margin: 0.5em 0 0.2em 1.2em;
}
 
.content-section li {
  margin: 0.25em 0;
}
 
.content-section .mw-parser-output > p:first-child {
  margin-top: 0;
}
 
.content-section .mw-parser-output > p:last-child {
  margin-bottom: 0;
}
}


/* Forced dark mode */
@media screen {
@media screen {
   html.skin-theme-clientpref-night .header-box {
   html.skin-theme-clientpref-night .header-box {
Line 164: Line 134:
     color: #eaf2ff;
     color: #eaf2ff;
     border-bottom-color: rgba(0, 64, 128, 0.35);
     border-bottom-color: rgba(0, 64, 128, 0.35);
  }
  html.skin-theme-clientpref-night .content-section a {
    color: #eaf2ff;
    border-bottom-color: rgba(234, 242, 255, 0.35);
  }
  html.skin-theme-clientpref-night .content-section a:hover,
  html.skin-theme-clientpref-night .content-section a:focus {
    border-bottom-color: rgba(234, 242, 255, 0.65);
   }
   }


Line 182: Line 142:
}
}


/* OS dark mode */
@media screen and (prefers-color-scheme: dark) {
@media screen and (prefers-color-scheme: dark) {
   html.skin-theme-clientpref-os .header-box {
   html.skin-theme-clientpref-os .header-box {
Line 227: Line 188:
     color: #eaf2ff;
     color: #eaf2ff;
     border-bottom-color: rgba(0, 64, 128, 0.35);
     border-bottom-color: rgba(0, 64, 128, 0.35);
  }
  html.skin-theme-clientpref-os .content-section a {
    color: #eaf2ff;
    border-bottom-color: rgba(234, 242, 255, 0.35);
  }
  html.skin-theme-clientpref-os .content-section a:hover,
  html.skin-theme-clientpref-os .content-section a:focus {
    border-bottom-color: rgba(234, 242, 255, 0.65);
   }
   }
}
}


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


Line 249: Line 201:
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 0.55em;
   gap: 0.5em;
   padding: 0.7em 0.95em;
   padding: 0.65em 0.9em;
   border-radius: 10px;
   border-radius: 8px;
   background: #ffffff;
   background: #ffffff;
   border: 1px solid #d6dbe3;
   border: 1px solid #d6dbe3;
   color: #004080;
   color: #004080;
   font-weight: 800;
   font-weight: 700;
   text-decoration: none;
   text-decoration: none;
   box-sizing: border-box;
   box-sizing: border-box;
  line-height: 1.15;
}
}


Line 270: Line 221:
}
}


/* Hover */
.cat-but:hover {
.cat-but:hover {
   background: #f3f6fb;
   background: #f3f6fb;
Line 275: Line 227:
}
}


/* Dark mode */
html.skin-theme-clientpref-night .cat-but,
html.skin-theme-clientpref-night .cat-but,
html.skin-theme-clientpref-os .cat-but {
html.skin-theme-clientpref-os .cat-but {