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 12:09, 6 June 2025 by Admornstein (talk | contribs) (Undo revision 118 by Admornstein (talk))
body {
  background-color: #0e1117;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  margin: 0;
  padding: 0;
}

.home-header {
  text-align: center;
  padding: 60px 20px 30px;
}

.home-header h1 {
  font-size: 48px;
  color: #cceeff;
  margin: 0;
}

.home-header p {
  color: #aaaaaa;
  margin-top: 8px;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin: 20px auto;
}

.search-bar input {
  padding: 14px;
  border-radius: 30px;
  border: none;
  width: 400px;
  font-size: 16px;
  background-color: #1c2128;
  color: #ddd;
}

.event-banner {
  margin: 20px auto;
  background: linear-gradient(to right, #1c1e2b, #3a1f4f);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
}

.event-banner .text {
  flex-grow: 1;
}

.event-banner button {
  background: #3096e6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.tiles {
  max-width: 1100px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}



.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.featured-box {
  flex: 0 0 200px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #11161c;
  border: 1px solid #2b2f38;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 0 10px #00000055;
  text-align: center;
}


.divider-ornamental {
  text-align: center;
  margin: 10px auto;
  color: #c9a500;
}

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

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

.wiki-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

.wiki-links {
  background-color: #1c2128;
  border-radius: 8px;
  padding: 20px;
  min-width: 220px;
  flex: 0 0 auto;
}

.wiki-links ul {
  list-style: none;
  padding: 0;
}

.wiki-links li {
  padding: 4px 0;
  color: #aaa;
}

.wiki-video {
  flex: 0 0 auto;
}

.featured-box.with-bg {
  position: relative;
  flex: 0 0 200px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  text-align: center;
  color: white;
  padding: 20px 10px;
  box-shadow: 0 0 10px #00000088;
  overflow: hidden;
}

.featured-box.with-bg .overlay-title {
  font-weight: bold;
  font-size: 16px;
  border-bottom: 2px solid white;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.featured-box.with-bg:hover .overlay-title {
  color: #c9a500;
  border-color: #c9a500;
}

.featured-box.with-bg .overlay-desc {
  font-size: 14px;
  margin-top: 6px;
  color: #e0e0e0;
  text-shadow: 1px 1px 3px black;
}

/* Unique backgrounds per box */
.bg-maidens {
  background-image: url('https://cathedralofblades.com/wiki/images/c/cd/Sorrow.png');
}

.bg-dungeons {
  background-image: url('https://cathedralofblades.com/wiki/images/c/cd/Sorrow.png');
}

.bg-rhapsody {
  background-image: url('https://cathedralofblades.com/wiki/images/c/cd/Sorrow.png');
}

.bg-railways {
  background-image: url('https://cathedralofblades.com/wiki/images/c/cd/Sorrow.png');
}

.bg-abyss {
  background-image: url('https://cathedralofblades.com/wiki/images/c/cd/Sorrow.png');
}

.featured-box.with-bg .overlay-desc {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-box.with-bg:hover .overlay-desc {
  opacity: 1;
}