Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MainPage/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
@font-face {
/* === SECTION HEADINGS === */
  font-family: 'AngerStyles';
.luna-heading {
  src: url('https://wiki.cathedralofblades.com/resources/AngerStyles.woff2') format('woff2'),
      url('https://wiki.cathedralofblades.com/resources/AngerStyles.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
 
/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
 
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}
 
/* Clickable container using data-href */
.big-box[data-href],
.small-box[data-href] {
  position: relative;
  cursor: pointer;
}
 
.big-box[data-href]::after,
.small-box[data-href]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
}
 
/* Remove MediaWiki navigation and sidebars */
#mw-page-base,
#mw-head-base,
#mw-navigation,
#mw-panel,
#mw-sidebar,
#p-navigation,
#p-tb,
.p-views {
  display: none !important;
}
 
/* Expand content container */
#content, .mw-body, .mw-body-content, #mw-content-text, .mw-main-content {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
}
 
/* Layout container */
.tiles-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}
 
/* BIG BOXES */
.big-box {
  width: 250px;
  height: 380px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  color: #c9a500;
  box-shadow: 0 0 10px #00000088;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
}
 
/* SMALL BOXES */
.small-box {
  width: 250px;
  height: 80px;
  position: relative;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  border-radius: 4px;
  color: #c9a500;
  box-shadow: 0 0 10px #00000088;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 10px;
  text-align: left;
  overflow: hidden;
  flex-shrink: 0;
}
 
/* Hover overlay */
.big-box::before,
.small-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  transition: background 0.3s ease;
}
 
.big-box:hover::before,
.small-box:hover::before {
  background: rgba(0, 0, 0, 0.4);
}
 
.big-box .overlay-title,
.small-box .overlay-title,
.big-box .overlay-desc,
.small-box .overlay-desc {
  position: relative;
  z-index: 2;
}
 
.big-box .overlay-title {
  font-size: 24px;
  font-family: 'AngerStyles';
  border-bottom: 2px solid #c9a500;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
 
.big-box:hover .overlay-title {
  color: #c9a500;
  border-color: #c9a500;
}
 
.big-box .overlay-desc {
  font-size: 14px;
  margin-top: 9px;
  color: #e0e0e0;
  text-shadow: 1px 1px 3px black;
  opacity: 0;
  transition: opacity 0.3s ease;
}
 
.big-box:hover .overlay-desc {
  opacity: 1;
}
 
.small-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
 
.small-box .overlay-title {
  font-size: 20px;
  font-family: 'AngerStyles';
  border-bottom: 1px solid #c9a500;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
 
.small-box .overlay-desc {
  font-size: 13px;
  margin-top: 6px;
  color: #ddd;
  text-shadow: 1px 1px 3px black;
  opacity: 0;
  transition: opacity 0.3s ease;
}
 
.small-box:hover .overlay-desc {
  opacity: 1;
}
 
/* Background classes (clean, no duplicates) */
.bg-button    { background-image: url('https://cathedralofblades.com/wiki/images/e/e0/Menubutton.png'); }
.bg-bhealing  { background-image: url('https://cathedralofblades.com/wiki/images/4/49/Healing.jpg'); }
.bg-bstatus    { background-image: url('https://cathedralofblades.com/wiki/images/7/72/Status.jpg'); }
.bg-bcostume  { background-image: url('https://cathedralofblades.com/wiki/images/5/53/Costume.jpg'); }
.bg-banomaly  { background-image: url('https://cathedralofblades.com/wiki/images/7/72/Event.jpg'); }
.bg-benchant  { background-image: url('https://cathedralofblades.com/wiki/images/7/73/Enchant.jpg'); }
.bg-bcards    { background-image: url('https://cathedralofblades.com/wiki/images/7/70/Cards.jpg'); }
.bg-bcharacters{ background-image: url('https://cathedralofblades.com/wiki/images/4/43/Characters.jpg'); }
.bg-classes    { background-image: url('https://cathedralofblades.com/wiki/images/7/7e/Classes.jpg'); }
.bg-bossrelic  { background-image: url('https://cathedralofblades.com/wiki/images/5/58/Bossrelic.jpg'); }
.bg-combat    { background-image: url('https://cathedralofblades.com/wiki/images/d/d7/Combat.jpg'); }
.bg-elements  { background-image: url('https://cathedralofblades.com/wiki/images/7/7d/Elements.jpg'); }
.bg-stigmata  { background-image: url('https://cathedralofblades.com/wiki/images/b/b3/Stigmata.jpg'); }
.bg-tools      { background-image: url('https://cathedralofblades.com/wiki/images/c/c8/Tool.jpg'); }
.bg-world      { background-image: url('https://cathedralofblades.com/wiki/images/5/5c/Worldmap.jpg'); }
.bg-weapons    { background-image: url('https://cathedralofblades.com/wiki/images/9/9c/Weapons.jpg'); }
.bg-signets    { background-image: url('https://cathedralofblades.com/wiki/images/6/61/Signets.jpg'); }
.bg-quests    { background-image: url('https://cathedralofblades.com/wiki/images/9/98/Damarossa.jpg'); }
.bg-maidens    { background-image: url('https://cathedralofblades.com/wiki/images/6/61/Sorrow.jpg'); }
.bg-dungeons  { background-image: url('https://cathedralofblades.com/wiki/images/d/db/Obscuradungeon.jpg'); }
.bg-rhapsody  { background-image: url('https://cathedralofblades.com/wiki/images/4/4a/Rhapsody.jpg'); }
.bg-railways  { background-image: url('https://cathedralofblades.com/wiki/images/1/12/Railways.jpg'); }
.bg-abyss      { background-image: url('https://cathedralofblades.com/wiki/images/c/c0/Abyss.jpg'); }
.bg-bobscura  { background-image: url('https://cathedralofblades.com/wiki/images/a/a1/Obsdungeon.jpg'); }
.bg-bpatch    { background-image: url('https://cathedralofblades.com/wiki/images/f/f5/Patch.jpg'); }
.bg-bprogress  { background-image: url('https://cathedralofblades.com/wiki/images/f/f4/Progression.jpg'); }
.bg-bpvpinfo  { background-image: url('https://cathedralofblades.com/wiki/images/5/52/Pvpinfo.jpg'); }
.bg-bunique    { background-image: url('https://cathedralofblades.com/wiki/images/4/4c/Unique.jpg'); }
.bg-bveteran  { background-image: url('https://cathedralofblades.com/wiki/images/6/62/Veteran.jpg'); }
.bg-bexplore  { background-image: url('https://cathedralofblades.com/wiki/images/8/8f/Exploration.jpg'); }
.bg-bchallenges{ background-image: url('https://cathedralofblades.com/wiki/images/1/19/Challenges.jpg'); }
.bg-bserver    { background-image: url('https://cathedralofblades.com/wiki/images/f/ff/Serverprogress.jpg'); }
.bg-bmenu      { background-image: url('https://cathedralofblades.com/wiki/images/5/59/Menuinterface.jpg'); }
 
/* Divider */
.divider-ornamental {
  margin: 1px;
}
.divider-ornamental .symbol {
  font-size: 28px;
  text-shadow: 1px 1px 3px black;
}
.divider-line-only {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #c9a500, #886b00, #c9a500);
  border-radius: 1px;
}
 
/* Theme-aware adjustments */
body.skin-citizen[data-theme='light'] .divider-ornamental,
body.skin-citizen[data-theme='dark'] .divider-ornamental,
body.skin-citizen:not([data-theme]) .divider-ornamental {
  color: inherit;
  background: none;
}
 
/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .tiles-row {
    flex-direction: column;
    align-items: center;
  }
  .small-column {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .small-box,
  .big-box {
    width: 90%;
    max-width: 400px;
    height: auto;
  }
}
 
@media screen and (max-width: 600px) {
  .responsive-img,
  img[alt="season.jpg"],
  img[alt="extlinks.jpg"] {
    width: 25% !important;
    height: auto !important;
  }
}
 
/* Elegant standalone title (no box) */
.luna-title {
   font-family:'AngerStyles', serif;
   font-family:'AngerStyles', serif;
   font-size:46px;
   font-size:32px;
   line-height:1.1;
   line-height:1.2;
  color:#e0e0e0;
   text-align:left;
   text-align:center;
   margin:40px 0 8px;
   margin:28px 0 28px;
   position:relative;
   position:relative;
   text-shadow:0 0 10px #000000cc;
   text-shadow:0 0 10px #000;
}
}


/* Gold gradient underline with glow */
/* Color Variants */
.luna-title::after {
.luna-heading.gold    { color:#ffd666; }
.luna-heading.crimson { color:#cc4444; }
.luna-heading.purple  { color:#b266ff; }
.luna-heading.cyan    { color:#33ccee; }
.luna-heading.green  { color:#66cc66; }
.luna-heading.orange  { color:#ff9933; }
 
/* Glowing underline (inherits currentColor) */
.luna-heading::after {
   content:"";
   content:"";
   position:absolute;
   position:absolute;
   left:0; right:0; bottom:-10px;
   left:0;
  bottom:-8px;
  width:100%;
   height:2px;
   height:2px;
   background:linear-gradient(90deg,rgba(0,0,0,0) 0%, #c9a500 12%, #ffd666 50%, #c9a500 88%, rgba(0,0,0,0) 100%);
   background:linear-gradient(
  box-shadow:0 0 10px #c9a50055;
    90deg,
}
    rgba(0,0,0,0) 0%,
 
    currentColor 20%,
/* Small central diamond ornament on the underline */
    #ffffffaa 50%,
.luna-title::before {
    currentColor 80%,
  content:"";
    rgba(0,0,0,0) 100%
  position:absolute;
   );
  left:50%; transform:translateX(-50%) rotate(45deg);
   box-shadow:0 0 8px currentColor;
  bottom:-14px;
  width:10px; height:10px;
  background:#ffd666;
  box-shadow:0 0 8px #c9a500aa, inset 0 0 2px #c9a500;
  border-radius:2px;
}
 
/* Buttons styled like ornaments under the title */
.luna-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  background: none;
  border: none;
  padding: 0;
}
 
.luna-button {
  display: inline-block;
  position: relative;
  font-family:'AngerStyles', serif;
  font-size:20px;
  width: 250px;
  padding:5px 5px;
  color:#f5f5f5;
  background:transparent;
  border:1px solid #c9a500;
  border-radius:6px;
  text-align: center;
  text-decoration:none;
  transition:all 0.25s ease;
  text-shadow:0 0 6px #000;
}
 
.luna-button:hover {
   background:rgba(40,40,40,0.95);
  color:#ffd666;
   box-shadow:0 0 8px #c9a500aa, inset 0 0 4px #000;
}
}


/* Light blue variant button */
/* === SECTION BODY === */
.luna-buttonx {
.luna-section {
   display: inline-block;
   margin:16px 0 32px;
  position: relative;
   padding:18px 24px;
  font-family:'AngerStyles', serif;
   border-left:3px solid currentColor;
  font-size:20px;
  width: 200px;
   padding:5px 5px;
  color:#e0f7ff;
  background:transparent;
   border:1px solid #66ccff;
   border-radius:6px;
   border-radius:6px;
  text-align: center;
   background:rgba(20,20,20,0.7);
  text-decoration:none;
  line-height:1.55;
  transition:all 0.25s ease;
   color:#f0f0f0;
  text-shadow:0 0 6px #000;
   box-shadow:0 0 12px #000 inset;
}
 
.luna-buttonx:hover {
   background:rgba(30,50,70,0.9);
   color:#aee9ff;
   box-shadow:0 0 8px #66ccffaa, inset 0 0 4px #000;
}
 
/* subtle underline accent on hover */
.luna-button::after,
.luna-buttonx::after {
  content:"";
  position:absolute;
  left:10%; right:10%;
  bottom:6px;
  height:1px;
  background:linear-gradient(90deg,transparent 0%,#ffd666 50%,transparent 100%);
  opacity:0;
  transition:opacity 0.3s ease;
}
.luna-button:hover::after,
.luna-buttonx:hover::after {
  opacity:1;
}
 
/* External link icon override */
a.external .luna-button::after,
a.external .luna-buttonx::after {
  content: none !important;
}
a.external .luna-button,
a.external .luna-buttonx {
  background: transparent !important;
  padding-right: inherit !important;
}
}


/* Discord button (light purple) */
/* Background accents per color */
.luna-button-discord {
.luna-section.gold    { border-color:#ffd666; background:rgba(35,30,10,0.65); }
  display: inline-block;
.luna-section.crimson { border-color:#cc4444; background:rgba(35,20,20,0.65); }
  position: relative;
.luna-section.purple  { border-color:#b266ff; background:rgba(30,20,40,0.65); }
  font-family:'AngerStyles', serif;
.luna-section.cyan    { border-color:#33ccee; background:rgba(15,30,35,0.65); }
  font-size:20px;
.luna-section.green   { border-color:#66cc66; background:rgba(20,35,20,0.65); }
  width: 200px;
.luna-section.orange  { border-color:#ff9933; background:rgba(40,25,10,0.65); }
  padding:5px 5px;
  color:#f5e6ff;
  background:transparent;
  border:1px solid #a066ff;
  border-radius:6px;
  text-align:center;
  text-decoration:none;
  transition:all 0.25s ease;
  text-shadow:0 0 6px #000;
}
.luna-button-discord:hover {
  background:rgba(40,30,60,0.9);
   color:#d6b8ff;
  box-shadow:0 0 8px #a066ffaa, inset 0 0 4px #000;
}
.luna-button-discord::after {
  content:"";
  position:absolute;
  left:10%; right:10%;
  bottom:6px;
  height:1px;
  background:linear-gradient(90deg,transparent 0%,#a066ff 50%,transparent 100%);
  opacity:0;
  transition:opacity 0.3s ease;
}
.luna-button-discord:hover::after { opacity:1; }


/* YouTube button (red) */
/* === LISTS === */
.luna-button-youtube {
.luna-section ul {
   display: inline-block;
   margin:8px 0 8px 20px;
  position: relative;
  font-family:'AngerStyles', serif;
  font-size:20px;
  width: 200px;
  padding:5px 5px;
  color:#ffe6e6;
  background:transparent;
  border:1px solid #cc3333;
  border-radius:6px;
  text-align:center;
  text-decoration:none;
  transition:all 0.25s ease;
  text-shadow:0 0 6px #000;
}
}
.luna-button-youtube:hover {
.luna-section li {
   background:rgba(60,20,20,0.9);
   margin:4px 0;
  color:#ffaaaa;
   padding-left:4px;
   box-shadow:0 0 8px #cc3333aa, inset 0 0 4px #000;
}
.luna-button-youtube::after {
  content:"";
  position:absolute;
  left:10%; right:10%;
  bottom:6px;
  height:1px;
  background:linear-gradient(90deg,transparent 0%,#cc3333 50%,transparent 100%);
  opacity:0;
  transition:opacity 0.3s ease;
}
}
.luna-button-youtube:hover::after { opacity:1; }


/* Patreon button (green) */
/* === DIAMOND BULLETS === */
.luna-button-patreon {
.luna-section li::marker {
  display: inline-block;
   content:"";
  position: relative;
   color:currentColor;
  font-family:'AngerStyles', serif;
  font-size:20px;
  width: 200px;
  padding:5px 5px;
  color:#e6ffe6;
  background:transparent;
  border:1px solid #33aa55;
  border-radius:6px;
  text-align:center;
  text-decoration:none;
  transition:all 0.25s ease;
  text-shadow:0 0 6px #000;
}
.luna-button-patreon:hover {
  background:rgba(20,50,30,0.9);
  color:#aaffcc;
  box-shadow:0 0 8px #33aa55aa, inset 0 0 4px #000;
}
.luna-button-patreon::after {
   content:"";
   position:absolute;
  left:10%; right:10%;
  bottom:6px;
  height:1px;
  background:linear-gradient(90deg,transparent 0%,#33aa55 50%,transparent 100%);
  opacity:0;
  transition:opacity 0.3s ease;
}
.luna-button-patreon:hover::after { opacity:1; }
/* Remove arrows only inside the custom button bar */
.luna-buttons a.external {
  background: none !important;
  padding-right: 0 !important;
}
.luna-buttons a.external::after {
  content: none !important;
}
}

Revision as of 08:20, 24 September 2025

/* === SECTION HEADINGS === */
.luna-heading {
  font-family:'AngerStyles', serif;
  font-size:32px;
  line-height:1.2;
  text-align:left;
  margin:40px 0 8px;
  position:relative;
  text-shadow:0 0 10px #000;
}

/* Color Variants */
.luna-heading.gold    { color:#ffd666; }
.luna-heading.crimson { color:#cc4444; }
.luna-heading.purple  { color:#b266ff; }
.luna-heading.cyan    { color:#33ccee; }
.luna-heading.green   { color:#66cc66; }
.luna-heading.orange  { color:#ff9933; }

/* Glowing underline (inherits currentColor) */
.luna-heading::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    currentColor 20%,
    #ffffffaa 50%,
    currentColor 80%,
    rgba(0,0,0,0) 100%
  );
  box-shadow:0 0 8px currentColor;
}

/* === SECTION BODY === */
.luna-section {
  margin:16px 0 32px;
  padding:18px 24px;
  border-left:3px solid currentColor;
  border-radius:6px;
  background:rgba(20,20,20,0.7);
  line-height:1.55;
  color:#f0f0f0;
  box-shadow:0 0 12px #000 inset;
}

/* Background accents per color */
.luna-section.gold    { border-color:#ffd666; background:rgba(35,30,10,0.65); }
.luna-section.crimson { border-color:#cc4444; background:rgba(35,20,20,0.65); }
.luna-section.purple  { border-color:#b266ff; background:rgba(30,20,40,0.65); }
.luna-section.cyan    { border-color:#33ccee; background:rgba(15,30,35,0.65); }
.luna-section.green   { border-color:#66cc66; background:rgba(20,35,20,0.65); }
.luna-section.orange  { border-color:#ff9933; background:rgba(40,25,10,0.65); }

/* === LISTS === */
.luna-section ul {
  margin:8px 0 8px 20px;
}
.luna-section li {
  margin:4px 0;
  padding-left:4px;
}

/* === DIAMOND BULLETS === */
.luna-section li::marker {
  content:"◆ ";
  color:currentColor;
}