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:02, 7 July 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, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
}

#mw-navigation,
#mw-panel,
#p-navigation,
#p-tb,
.p-views {
  display: none !important;
}

#content, .mw-body, .mw-body-content, #mw-content-text, .mw-main-content {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
}

.tiles-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.tile {
  width: 250px;
  height: 370px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  text-align: center;
  color: #c9a500;
  box-shadow: 0 0 10px #00000088;
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.3s ease;
  z-index: 1;
}

.tile:hover::before {
  background: rgba(0, 0, 0, 0.4);
}

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

.tile .overlay-title {
  font-size: 20px;
  font-family: 'AngerStyles';
  border-bottom: 2px solid white;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tile:hover .overlay-title {
  color: #c9a500;
  border-color: #c9a500;
}

.tile .overlay-desc {
  font-size: 14px;
  margin-top: 9px;
  color: #e0e0e0;
  text-shadow: 1px 1px 3px black;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile:hover .overlay-desc {
  opacity: 1;
}

.tile .highlight {
  color: red;
}

.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;
}

@media screen and (max-width: 768px) {
  .tiles-row {
    flex-direction: column;
    align-items: center;
  }

  .tile {
    width: 90%;
    max-width: 400px;
    height: auto;
  }
}