Vorlage:LandingFeatures/styles.css: Unterschied zwischen den Versionen
Aus Lost Dreams Of Tomorrow Wiki
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 43: | Zeile 43: | ||
.tab-arrow:hover { | .tab-arrow:hover { | ||
background-color: #222; | background-color: #222; | ||
border-color: # | border-color: #808000; | ||
} | } | ||
| Zeile 88: | Zeile 88: | ||
.tab-button.active { | .tab-button.active { | ||
background-color: #222; | background-color: #222; | ||
color: # | color: #808000; | ||
border-color: # | border-color: #808000; | ||
} | } | ||
Version vom 12. Januar 2026, 02:35 Uhr
/* Container */
.landing-container {
max-width: 1200px;
margin: 0 auto;
background-color: #0a0a0a;
padding: 1em;
border: none;
}
/* Tabs Container mit Pfeilen */
.landing-tabs-wrapper {
position: relative;
margin-bottom: 1em;
}
.landing-tabs {
display: flex;
gap: 0.5em;
overflow-x: hidden;
scroll-behavior: smooth;
padding: 0 2.5em;
}
.tab-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: #111;
border: 1px solid #333;
color: #ffd966;
width: 2em;
height: 2em;
display: none;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
transition: 0.2s;
font-size: 1.5em;
line-height: 1;
}
.tab-arrow:hover {
background-color: #222;
border-color: #808000;
}
.tab-arrow.disabled {
opacity: 0.3;
cursor: not-allowed;
}
.tab-arrow-left {
left: 0;
}
.tab-arrow-right {
right: 0;
}
.tab-arrow.visible {
display: flex;
}
.tab-button {
padding: 0.5em 1em;
background-color: #000;
color: #eee;
border: 1px solid #222;
cursor: pointer;
font-weight: bold;
transition: 0.2s;
white-space: nowrap;
flex-shrink: 0;
}
.tab-button img {
display: inline-block;
vertical-align: middle;
margin-right: 0.4em;
margin-bottom: 0;
}
.tab-button:hover {
background-color: #111;
}
.tab-button.active {
background-color: #222;
color: #808000;
border-color: #808000;
}
/* Grid */
.landing-grid-container {
display: block;
}
.landing-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
gap: 1em;
display: none;
}
.landing-grid.active {
display: grid;
}
/* Boxes - genau wie npc-box */
.landing-box {
display: block;
text-align: center;
}
.landing-image {
width: 64px;
height: 64px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 0.4em auto;
overflow: hidden;
}
.landing-image img {
max-width: 100%;
max-height: 100%;
image-rendering: pixelated;
image-rendering: crisp-edges;
border: none !important;
}
.landing-image .mw-file-description {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.landing-image:hover {
opacity: 0.7;
}
.landing-name {
font-size: 0.85em;
text-align: center;
line-height: 1.3;
color: #eee;
min-height: 2.6em;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
}
.landing-name a {
color: #eee;
text-decoration: none;
}
.landing-name a:hover {
color: #ffd966;
}