More actions
Admornstein (talk | contribs) No edit summary |
Admornstein (talk | contribs) No edit summary |
||
| Line 269: | Line 269: | ||
.bg-abyss { | .bg-abyss { | ||
background-image: url('https://cathedralofblades.com/wiki/images/c/cd/Sorrow.png'); | 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; | |||
} | } | ||
Revision as of 11:55, 6 June 2025
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;
}
.tile-image-overlay {
position: relative;
text-align: center;
display: inline-block;
}
.tile-image-overlay .overlay-text {
position: absolute;
top: 8px;
left: 0;
right: 0;
color: white;
font-weight: bold;
text-shadow: 1px 1px 3px black;
z-index: 2;
pointer-events: none;
transition: color 0.2s ease;
}
.tile-image-overlay:hover .overlay-text {
color: #ffbe02;
}
.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;
}
.featured-box.with-bg {
position: relative;
background-size: cover;
background-position: center;
color: white;
overflow: hidden;
}
.featured-box.with-bg::before {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 1;
}
.featured-box.with-bg .overlay-title,
.featured-box.with-bg .overlay-desc {
position: relative;
z-index: 2;
text-align: center;
}
.featured-box.with-bg .overlay-title {
font-weight: bold;
font-size: 16px;
border-bottom: 2px solid white;
display: inline-block;
padding-bottom: 4px;
transition: border-color 0.2s ease, color 0.2s ease;
color: white;
margin-top: auto;
}
.featured-box.with-bg:hover .overlay-title {
border-color: #c9a500;
color: #c9a500;
}
.featured-box.with-bg .overlay-desc {
font-size: 14px;
color: #cdd7e5;
margin-top: 6px;
}
.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;
}