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

Template page
Revision as of 14:22, 26 June 2025 by Admornstein (talk | contribs)
@font-face {
  font-family: 'AngerStyles';
  src: url('https://cathedralofblades.com/wiki/resources/AngerStyles.woff2') format('woff2'),
       url('https://cathedralofblades.com/wiki/resources/AngerStyles.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #0e1117;
  font-family: 'AngerStyles', sans-serif;
  color: white;
  margin: 0;
  padding: 0;
}

/* Layout container */
.tiles-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: nowrap;
  margin-bottom: 40px;
}

/* BIG BOXES */
.big-box {
  width: 250px;
  height: 500px;
  position: relative;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  color: white;
  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;
}

.big-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.big-box .overlay-title,
.big-box .overlay-desc {
  position: relative;
  z-index: 2;
}

.big-box .overlay-title {
  font-size: 20px;
  font-family: 'AngerStyles', serif;
  border-bottom: 2px solid white;
  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 BOX COLUMN */
.small-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* SMALL BOXES */
.small-box {
  width: 400px;
  height: 100px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  color: white;
  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;
}

.small-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.small-box .overlay-title,
.small-box .overlay-desc {
  position: relative;
  z-index: 2;
}

.small-box .overlay-title {
  font-size: 18px;
  font-family: 'AngerStyles', serif;
  border-bottom: 1px solid white;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.small-box:hover .overlay-title {
  color: #ffbe02;
  border-color: #ffbe02;
}

.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 */
.bg-classes    { background-image: url('https://cathedralofblades.com/wiki/images/7/7e/Classes.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'); }

/* Divider */
.divider-ornamental {
  text-align: center;
  margin: 40px auto;
  color: #c9a500;
}

.divider-ornamental .symbol {
  font-size: 28px;
  text-shadow: 1px 1px 3px black;
}

.divider-line-only {
  height: 2px;
  width: 80%;
  margin: 50px auto;
  background: linear-gradient(to right, #c9a500, #886b00, #c9a500);
  border-radius: 3px;
}