More actions
Admornstein (talk | contribs) Undo revision 637 by Admornstein (talk) Tag: Undo |
Admornstein (talk | contribs) No edit summary Tag: Reverted |
||
| Line 7: | Line 7: | ||
} | } | ||
body, html { | body, html { | ||
margin: 0; | margin: 0; | ||
| Line 16: | Line 15: | ||
} | } | ||
#mw-navigation, | #mw-navigation, | ||
#mw-panel, | #mw-panel, | ||
#p-navigation, | #p-navigation, | ||
#p-tb, | #p-tb, | ||
| Line 43: | Line 23: | ||
} | } | ||
#content, .mw-body, .mw-body-content, #mw-content-text, .mw-main-content { | #content, .mw-body, .mw-body-content, #mw-content-text, .mw-main-content { | ||
margin: 0; | margin: 0; | ||
| Line 51: | Line 30: | ||
} | } | ||
.tiles-row { | .tiles-row { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: center; | justify-content: center; | ||
gap: 2rem; | gap: 2rem; | ||
} | } | ||
.tile { | |||
. | |||
width: 250px; | width: 250px; | ||
height: 370px; | height: 370px; | ||
background-size: cover; | |||
background-size: | |||
background-position: center; | background-position: center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
position: relative; | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
| Line 77: | Line 50: | ||
padding: 10px; | padding: 10px; | ||
text-align: center; | text-align: center; | ||
color: #c9a500; | color: #c9a500; | ||
box-shadow: 0 0 10px #00000088; | box-shadow: 0 0 10px #00000088; | ||
border-radius: 12px; | |||
text-decoration: none; | |||
text- | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.tile::before { | |||
. | |||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
background: transparent; | background: transparent; | ||
transition: background 0.3s ease; | |||
z-index: 1; | z-index: 1; | ||
} | } | ||
. | .tile:hover::before { | ||
background: rgba(0, 0, 0, 0.4); | background: rgba(0, 0, 0, 0.4); | ||
} | } | ||
. | .tile .overlay-title, | ||
. | .tile .overlay-desc { | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
. | .tile .overlay-title { | ||
font-size: 20px; | font-size: 20px; | ||
font-family: 'AngerStyles'; | font-family: 'AngerStyles'; | ||
| Line 134: | Line 84: | ||
} | } | ||
. | .tile:hover .overlay-title { | ||
color: #c9a500; | color: #c9a500; | ||
border-color: #c9a500; | border-color: #c9a500; | ||
} | } | ||
. | .tile .overlay-desc { | ||
font-size: 14px; | font-size: 14px; | ||
margin-top: 9px; | margin-top: 9px; | ||
| Line 148: | Line 98: | ||
} | } | ||
. | .tile:hover .overlay-desc { | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
. | .tile .highlight { | ||
color: red; | |||
} | } | ||
.divider-ornamental { | .divider-ornamental { | ||
margin: 1px; | margin: 1px; | ||
| Line 228: | Line 122: | ||
} | } | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
.tiles-row { | .tiles-row { | ||
| Line 243: | Line 128: | ||
} | } | ||
. | .tile { | ||
width: 90%; | width: 90%; | ||
max-width: 400px; | max-width: 400px; | ||
Revision as of 14:02, 7 July 2025
@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;
}
}