body { font-family: sans-serif; margin: 0; background-color: #333; color: #ddd; line-height: 1.6; } header { background-color: #222; padding: 1em; text-align: center; border-bottom: 2px solid #4A2E0A; } header h1 { margin: 0; color: #FFD700; } .header-separator { width: 100px; height: 2px; background-color: #FFD700; border: 0; border-radius: 1px; margin: 15px auto 10px auto; } nav { margin-top: 15px; } nav ul { list-style-type: none; padding: 0; margin: 0; text-align: center; } nav ul li { display: inline-block; margin: 0 2px; } nav ul li a { display: block; padding: 8px 15px; color: #ddd; text-decoration: none; font-weight: bold; border-radius: 5px; transition: background-color 0.3s, color 0.3s; } nav ul li a:hover { background-color: #555; color: #FFC500; text-decoration: none; } nav ul li.active a { background-color: #FFA500; color: #222; } a { color: #FFA500; text-decoration: none; } a:hover { text-decoration: underline; color: #FFC500; } .header-banner { width: 100%; height: 240px; background-image: url('%%css_banner_image_path%%?v=%%CACHE_BUSTER%%'); background-size: cover; background-position: center 45%; border-bottom: 2px solid #4A2E0A; } .container { max-width: 1000px; margin: 20px auto; padding: 20px; background-color: #444; border: 1px solid #555; border-radius: 8px; position: relative; } h2 { color: #FFD700; border-bottom: 1px solid #555; padding-bottom: 0.5em; } h2.world-detail-title { text-align: center; font-size: 1.8em; } h3 { color: #FFD700; margin-top: 1.5em; padding-bottom: 0.3em; border-bottom: 1px dotted #555;} /* Welt-Übersicht */ a.world-preview { display: block; border: 1px solid #555; margin-bottom: 20px; padding: 15px; background-color: #3a3a3a; border-radius: 5px; text-decoration: none; color: #ddd; } a.world-preview:hover { background-color: #4f4f4f; text-decoration: none; } .world-preview .world-preview-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #666; padding-bottom: 10px; margin-bottom: 10px;} .world-preview .world-preview-header h3 { border-bottom: none; margin: 0; padding: 0; font-size: 1.5em; color: #FFD700 !important; text-decoration: none !important; } .world-preview .world-preview-header h3:hover { text-decoration: none !important; } .world-preview .world-preview-header .online-status-badge { font-size: 0.9em; } .world-preview .world-preview-content { display: flex; align-items: flex-start; } .world-preview img { max-width: 180px; max-height: 135px; object-fit: cover; height: auto; margin-right: 15px; border: 1px solid #666; flex-shrink: 0; } .world-preview-text p { color: #ccc !important; margin-top: 0; text-decoration: none !important; } .world-preview-footer { font-size: 0.85em; color: #aaa; border-top: 1px solid #666; margin-top: 10px; padding-top: 10px; } .online-status-badge { font-size: 0.8em; padding: 3px 8px; border-radius: 10px; color: white !important; margin-left: 10px; } .online-status-badge.online { background-color: #3E8E41; } .online-status-badge.offline { background-color: #C0392B; } .online-status-badge.unknown { background-color: #808080; } /* Welt-Detailseite */ .page-nav-buttons { text-align: right; margin-top: 10px; margin-bottom: 15px; } .page-nav-buttons .button { background-color: #555; color: #FFA500; border: 1px solid #666; padding: 5px 10px; margin-left: 5px; margin-bottom: 5px; border-radius: 3px; text-decoration: none; font-size: 0.9em; display: inline-block; } .page-nav-buttons .button:hover { background-color: #666; color: #FFC500; } .map-view-container { width: 100%; height: 600px; border: 1px solid #666; margin-bottom: 5px; border-radius: 3px; } .map-sub-info { display: flex; justify-content: space-between; align-items: center; font-size: 0.9em; color: #aaa; margin-bottom: 20px; padding: 5px 0; } .map-sub-info .map-file-link { text-align: left; } .map-sub-info .map-last-update { text-align: right; } .info-box { background-color: #3a3a3a; border: 1px solid #555; padding: 15px; margin-bottom: 20px; border-left: 5px solid #FFD700; border-radius: 3px;} .info-box h3 { margin-top: 0; border-bottom: none; padding-bottom: 0.2em; } .admin-section h3 { margin-top: 2.5em !important; } .admin-grid { display: flex; flex-wrap: wrap; gap: 15px; } .admin-box { background-color: #303030; padding: 15px; border-radius: 5px; border: 1px solid #4a4a4a; flex-grow: 0; flex-shrink: 1; flex-basis: calc(50% - 8px); box-sizing: border-box; min-width: 280px; } .admin-contact-block { display: flex; align-items: center; } .admin-skin-icon { width: 48px; height: 48px; margin-right: 15px; border: 1px solid #666; border-radius: 3px; flex-shrink: 0;} .admin-text-details p { margin: 0.2em 0; } .admin-player-name { font-weight: bold; color: #FFD700; font-size: 1.1em; } .contact-links { margin-top: 10px; padding-top: 10px; border-top: 1px solid #555; display: flex; gap: 8px; flex-wrap: wrap; } .contact-button { background-color: #555; color: #ddd; border: 1px solid #666; padding: 3px 8px; font-size: 0.85em; border-radius: 3px; text-decoration: none; position: relative; } .contact-button:hover { background-color: #666; color: #FFA500; text-decoration: none; } .contact-links a[data-title]:hover::after { content: attr(data-title); position: absolute; background-color: #222; color: #fff; padding: 3px 7px; border-radius: 3px; font-size: 0.7rem; white-space: nowrap; z-index: 100; left: 50%; bottom: 125%; transform: translateX(-50%); border: 1px solid #555; } .server-details p { margin: 0.5em 0; display: flex; align-items: center;} .server-details strong { min-width: 120px; display: inline-block; flex-shrink: 0;} .status-text-colored.online { color: #7CFC00; font-weight: bold; } .status-text-colored.offline { color: #FF4500; font-weight: bold; } .info-separator { border: 0; height: 1px; background-color: #FFA500; margin: 15px 0; } .copy-button { background: #555; border: 1px solid #666; color: #FFA500; padding: 1px 5px; margin-left: 8px; cursor: pointer; border-radius: 3px; font-size: 0.8em; vertical-align: middle;} .copy-button:hover { background: #666; } .player-list-container { margin-top: 1em; } .player-list-grid { display: flex; flex-wrap: wrap; gap: 15px; box-sizing: border-box; } .player-box { background-color: #303030; border: 1px solid #555; border-radius: 5px; padding: 10px; width: calc((100% - 30px) / 3); box-sizing: border-box; display: flex; flex-direction: column; } .player-box.has-server-priv { border-left: 5px solid #FFD700; } .player-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .player-identity { display: flex; align-items: center; } .player-vitals { display: flex; gap: 10px; } .player-icon { width: 40px; height: 40px; margin-right: 10px; border: 1px solid #666; border-radius: 3px; flex-shrink: 0;} .player-name-status { display: flex; align-items: center; } .player-name { font-weight: bold; margin-left: 5px; color: #FFD700; } .privilege-separator { height: 1px; background-color: #555; border: 0; margin: 8px 0; } .player-attributes { font-size: 0.9em; line-height: 1.5; } .player-attributes .icon { margin-right: 8px; cursor: help; font-size: 1.2em; } .player-attributes .icon.privilege { opacity: 0.15; } .player-attributes .icon.privilege.active { opacity: 1; } .player-attributes .icon[data-title]:hover::after, .status-dot[data-title]:hover::after, .player-vitals .icon[data-title]:hover::after { content: attr(data-title); position: absolute; background-color: #222; color: #fff; padding: 3px 7px; border-radius: 3px; font-size: 0.85em; white-space: nowrap; z-index: 100; margin-left: 5px; transform: translateY(-28px); border: 1px solid #555; } footer { text-align: center; margin-top: 30px; padding: 20px; background-color: #222; color: #aaa; border-top: 2px solid #4A2E0A;} .scrollable-mod-list { max-height: 20em; overflow-y: auto; border: 1px solid #555; padding: 10px; background-color: #303030; margin-top: 0.5em; border-radius: 3px; } ul.mod-list, ul.mod-list ul { list-style-type: none; padding-left: 20px; } ul.mod-list > li { margin-bottom: 0.5em; } ul.mod-list > li > ul > li { font-size: 0.9em; } .status-dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; background-color: #bbb; cursor: help;} .status-dot.online { background-color: #7CFC00; } .status-dot.offline { background-color: #FF4500; } .status-dot.unknown { background-color: #FFA500; } .status-text { vertical-align: middle; } .status-text.status-loading { color: #ccc; font-style: italic; } .status-text.status-online { color: #7CFC00; font-weight: bold; } .status-text.status-offline { color: #FF4500; font-weight: bold; } .status-text.status-unknown { color: #FFA500; font-weight: bold; } .archive-controls { margin-bottom: 15px; } .archive-controls label { margin-right: 5px; } .archive-controls select { padding: 5px; background-color: #555; color: #ddd; border: 1px solid #666; border-radius: 3px;} .archive-image-container { margin-top: 10px; text-align: center; } .archive-image-container img { max-width: 100%; border: 1px solid #666; background-color: #222; } .archive-image-container p { color: #aaa; } /* Stile für responsive Navigation & Burger-Menü */ .responsive-nav { position: relative; margin-bottom: 15px; } .burger-menu { display: none; width: 40px; height: 40px; background-color: #555; border: 1px solid #666; border-radius: 5px; cursor: pointer; flex-direction: column; justify-content: space-around; align-items: center; padding: 8px; box-sizing: border-box; position: absolute; top: 0; right: 0; z-index: 101; } .burger-menu:hover { background-color: #666; } .burger-menu span { display: block; width: 100%; height: 3px; background-color: #FFA500; border-radius: 3px; } /* Stile für Live/Archiv Umschalter */ .section-header-flex { display: flex; justify-content: space-between; align-items: center; } .map-toggle-controls { display: flex; gap: 5px; } .map-toggle-button { background-color: #555; color: #ddd; border: 1px solid #666; padding: 3px 8px; font-size: 0.85em; border-radius: 3px; cursor: pointer; } .map-toggle-button:hover { background-color: #666; } .map-toggle-button.active { color: #FFA500; border-color: #FFA500; font-weight: bold; } /* Spielerliste Filter */ .filter-container { position: relative; } .filter-dropdown-btn { background-color: #555; color: #ddd; border: 1px solid #666; padding: 3px 8px; font-size: 0.85em; border-radius: 3px; cursor: pointer; } .filter-dropdown-btn:hover { background-color: #666; } .filter-dropdown { display: none; position: absolute; top: 100%; right: 0; background-color: #3a3a3a; border: 1px solid #666; border-radius: 5px; padding: 10px; z-index: 100; min-width: 220px; box-shadow: 0 4px 8px rgba(0,0,0,0.5); } .filter-dropdown.show { display: block; } .filter-option { display: flex; align-items: center; margin-bottom: 8px; cursor: pointer; font-size: 0.9em; font-weight: normal; color: #ddd; } .filter-option:last-child { margin-bottom: 0; } .filter-option input[type="checkbox"] { margin-right: 8px; } .filter-option .icon { font-size: 1.2em; width: 20px; text-align: center; margin-right: 8px; } .filter-option .status-dot { margin-left: 0; margin-right: 8px; } /* Stile für "Weiterlesen"-Funktion */ .collapsible-text { max-height: 250px; overflow: hidden; position: relative; transition: max-height 0.5s ease-in-out; } .collapsible-text.expanded { max-height: 10000px; } .collapsible-text::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, rgba(68, 68, 68, 0), rgba(68, 68, 68, 1) 100%); pointer-events: none; transition: opacity 0.3s; } .collapsible-text.expanded::after { opacity: 0; } .read-more-container { text-align: right; margin-top: 5px; } a.read-more-link { font-size: 0.9em; font-weight: bold; } /* Schließen-Button (X) */ .close-button-container { position: absolute; top: 15px; right: 15px; z-index: 10; } .close-button { display: inline-flex; justify-content: center; align-items: center; width: 30px; height: 30px; background-color: #555; color: #ddd; border: 1px solid #666; border-radius: 50%; text-decoration: none; font-size: 1em; line-height: 1; } .close-button:hover { background-color: #C0392B; color: white; text-decoration: none; } /* Stile für "Nach oben"-Button */ .scroll-to-top-btn { display: none; position: fixed; bottom: 20px; right: 20px; z-index: 999; background-color: #555; color: #FFA500; border: 1px solid #666; border-radius: 50%; width: 40px; height: 40px; text-align: center; font-size: 24px; line-height: 38px; cursor: pointer; transition: background-color 0.3s, opacity 0.3s; } .scroll-to-top-btn:hover { background-color: #666; text-decoration: none; } .scroll-to-top-btn.show { display: block; } /* Stile für OpenLayers Popups (Leaflet-Look-and-Feel) */ .ol-popup { position: absolute; background-color: #303030; box-shadow: 0 1px 4px rgba(0,0,0,0.4); padding: 1px; border-radius: 5px; bottom: 12px; left: -50px; min-width: 280px; border: 1px solid #555; color: #ddd; } .ol-popup:after, .ol-popup:before { top: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; } .ol-popup:after { border-top-color: #303030; border-width: 10px; left: 48px; margin-left: -10px; } .ol-popup:before { border-top-color: #555; border-width: 11px; left: 48px; margin-left: -11px; } .ol-popup-closer { text-decoration: none; position: absolute; top: 2px; right: 8px; color: #ddd; font-size: 1.5em; font-weight: bold; } .ol-popup-closer:hover { color: #fff; } .ol-popup-content { font-size: 13px; line-height: 1.5; padding: 10px; margin: 0; } .popup-player-box .player-header { display: flex; align-items: center; margin-bottom: 8px; } .popup-player-box .player-identity { display: flex; align-items: center; } .popup-player-box .player-icon { width: 40px; height: 40px; margin-right: 10px; border-radius: 3px; flex-shrink: 0;} .popup-player-box .player-name-status { display: flex; align-items: center; } .popup-player-box .player-name { font-weight: bold; font-size: 1.2em; color: #FFD700; margin-left: 5px; } .popup-player-box .privilege-separator { height: 1px; background-color: #555; border: 0; margin: 8px 0; } .popup-player-box .popup-player-vitals { display: flex; justify-content: space-around; gap: 10px; align-items: center; margin-top: 8px; } .popup-player-box .popup-player-vitals .vital { display: flex; align-items: center; gap: 5px; } .popup-player-box .popup-player-vitals .icon { font-size: 1.2em; } @media (max-width: 768px) { .responsive-nav { height: 50px; } .burger-menu { display: flex; } .page-nav-buttons { display: none; position: absolute; top: 45px; right: 0; width: 200px; background-color: #3a3a3a; border: 1px solid #666; border-radius: 5px; z-index: 100; padding: 5px; box-shadow: 0 4px 8px rgba(0,0,0,0.5); } .page-nav-buttons.menu-open { display: flex; flex-direction: column; align-items: stretch; } .page-nav-buttons .button { text-align: left; margin: 5px; width: auto; } .player-box { width: calc((100% - 15px) / 2); } .world-preview .world-preview-content { flex-direction: column; } .world-preview img { width: 100%; max-width: 100%; height: auto; margin-right: 0; margin-bottom: 15px; } .map-view-container { height: auto; aspect-ratio: 4 / 3; max-height: 70vh; } } @media (max-width: 480px) { .player-box { width: 100%; } .admin-box { flex-basis: 100%; } } /* KORREKTUR: Stile für OpenLayers Layer Switcher */ .layer-switcher.shown { background-color: #303030 !important; } .layer-switcher button { font-size: 1.2em !important; } .layer-switcher button:hover, .layer-switcher button:focus { background-color: #666 !important; } .layer-switcher .panel { background-color: #303030 !important; border: 1px solid #555 !important; color: #ddd !important; margin: 0; } .layer-switcher ul { padding-left: 1em; } .layer-switcher label { color: #ddd !important; } /* NEU: Styling für Checkboxen im Layer-Switcher */ .layer-switcher input[type=checkbox], .layer-switcher input[type=radio] { accent-color: #FFA500; vertical-align: middle; margin-right: 5px; } /* NEU: Vergrößerung der Standard-Karten-Buttons */ .ol-zoom .ol-zoom-in, .ol-zoom .ol-zoom-out, .ol-rotate .ol-rotate-reset, .ol-full-screen button { width: 25px !important; height: 25px !important; font-size: 1.5em; line-height: 1; padding: 0; }