Upload style.css via GUI

This commit is contained in:
2026-01-09 19:45:51 +00:00
parent afcabb0f10
commit 43be3dd783

View File

@@ -4,7 +4,7 @@ Theme URI: https://git.viper.ipv64.net/M_Viper/Minecraft-Modern-Theme
Author: M_Viper Author: M_Viper
Description: Ein modernes Gaming-Theme mit konfigurierbarem Header-Slider. Description: Ein modernes Gaming-Theme mit konfigurierbarem Header-Slider.
Author URI: https://M-Viper.de Author URI: https://M-Viper.de
Version: 1.5 Version: 1.6
License: GNU General Public License v2 or later License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minecraft-modern-theme Text Domain: minecraft-modern-theme
@@ -1019,3 +1019,267 @@ body.home-title-hidden .site-main .entry-header,
body.home-title-hidden .site-main .page-header { body.home-title-hidden .site-main .page-header {
display: none !important; display: none !important;
} }
/* Announcement Bar - basics */
#mm-announcement {
width: 100%;
position: relative;
z-index: 9999;
box-sizing: border-box;
transition: all 220ms ease;
}
/* Inner container centers text and keeps close button to the right */
.mm-announcement-inner {
max-width: 1400px;
margin: 0 auto;
padding: 12px 20px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
/* Text center */
.mm-announcement-text {
text-align: center;
line-height: 1.2;
}
/* Close button on the right edge of the inner container */
.mm-announcement-close {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: inherit;
font-size: 22px;
cursor: pointer;
padding: 6px;
line-height: 1;
}
/* Responsive tweaks */
@media (max-width: 600px) {
.mm-announcement-inner {
padding: 10px 12px;
}
.mm-announcement-close {
right: 12px;
font-size: 20px;
}
.mm-announcement-text { font-size: 14px; }
}
/* ==========================================================================
TEAM / STAFF SHOWCASE STYLES (AKTUALISIERT)
========================================================================== */
/* --- WICHTIG: Container Breite definieren ---
Das sorgt dafür, dass die Cards breiter werden können. */
.container {
max-width: 1500px; /* Von 1200px auf 1500px erhöht für breitere Karten */
margin: 0 auto;
padding: 0 20px;
width: 100%;
}
/* --- 1. Container Der Hintergrund-Karton --- */
.team-archive-container {
background-color: var(--card-bg);
border-radius: 8px;
border: 1px solid var(--border-color);
padding: 50px;
margin-bottom: 30px;
margin-top: 40px;
}
.page-header {
text-align: center;
margin-bottom: 50px;
}
.page-header .page-title {
font-size: 2.5rem;
color: var(--primary-accent);
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 10px;
}
.page-header .page-description {
font-size: 1.2rem;
color: var(--text-muted);
}
/* --- 2. Grid Layout (FESTE 3 SPALTEN) --- */
.team-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px; /* Etwas weniger Abstand = Mehr Breite */
}
/* --- 3. Team Card Design (AKTUELL) --- */
.team-card {
background-color: transparent;
/* AKTUALISIERUNG: Border ist jetzt die Akzentfarbe (farbig) */
border: 1.5px solid var(--primary-accent);
border-radius: 12px;
overflow: visible; /* Avatar soll über den Rand ragen */
transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 0 0 40px 0;
margin-top: 50px;
height: 70%;
width: 100%;
justify-content: space-between;
}
/* Hover Effekt */
.team-card:hover {
transform: translateY(-10px);
/* Border wird beim Hover auch heller oder die Glow-Farbe je nach Wunsch */
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 212, 255, 0.4);
}
/* --- 4. Runder Avatar (AKTUELL) --- */
.team-image-wrapper {
margin-top: -50px;
width: 150px;
height: 150px;
border-radius: 50%;
border: 5px solid var(--card-bg); /* Innerer Hintergrund-Rand */
/* WICHTIG: Hier ist KEIN box-shadow mehr (Kein dauerhafter Glow) */
overflow: hidden;
background-color: #000;
z-index: 2;
flex-shrink: 0;
/* Transition für den Hover-Effekt hinzugefügt */
transition: transform 0.5s ease, box-shadow 0.3s ease;
}
.team-image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* --- NEU: Glow ONLY ON HOVER --- */
/* Wenn Maus auf die Karte fährt, bekommt der Avatar einen Glow */
.team-card:hover .team-image-wrapper {
/* Der Glow erscheint nur hier */
box-shadow: 0 0 0 6px var(--primary-accent);
}
/* Zusätzlich: Zoom-Effekt beim Hover (Optionale Verfeinerung) */
.team-card:hover .team-image-wrapper img {
transform: scale(1.05);
}
/* --- 5. Info Bereich --- */
.team-info {
padding: 15px 35px 0 35px;
width: 100%;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.team-name {
margin: 20px 0 8px 0;
font-size: 1.8rem;
color: var(--text-color);
font-weight: 700;
line-height: 1.2;
min-height: 1.2em;
}
/* --- 6. Mehrere Ränge (Wrapper) --- */
.team-ranks-wrapper {
margin-bottom: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
}
.team-rank {
display: inline-block;
background-color: rgba(0, 212, 255, 0.1);
color: var(--primary-accent);
padding: 6px 16px;
border-radius: 25px;
font-size: 0.85rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
border: 1px solid rgba(0, 212, 255, 0.3);
}
/* --- 7. Bio Text (Begrenzung & Styling) --- */
.team-bio {
font-size: 1rem;
color: var(--text-muted);
line-height: 1.6;
/* Füllt den restlichen Platz bis unten aus */
margin-top: auto;
/* Begrenzung auf max 4 Zeilen */
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
/* Fallback für alte Browser */
max-height: 6.4em;
}
/* --- 8. Responsive Design (Tablet & Mobile) --- */
/* Tablet (2 Spalten) */
@media (max-width: 1100px) {
.team-grid {
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
.team-name { font-size: 1.6rem; }
}
/* Mobile (1 Spalte) */
@media (max-width: 768px) {
.container {
padding: 0 15px;
max-width: 100%;
}
.team-grid {
grid-template-columns: 1fr;
gap: 25px;
}
.team-archive-container {
padding: 30px 20px;
}
.team-name {
font-size: 1.5rem;
}
.team-image-wrapper {
width: 120px;
height: 120px;
margin-top: -40px;
}
}