Jump to content

MediaWiki:Vector.css

From wikiNonStop
Revision as of 08:30, 20 September 2026 by Majestix (talk | contribs) (Created page with "→All CSS here will be loaded for users of the Vector skin: →Grundstyling des Tooltips (wichtig: relativ zum Eltern-Element): .wiki-tooltip { position: relative; display: inline-block; cursor: pointer; border-bottom: 1px dashed #666; →Kennzeichnung für Benutzer: } →Versteckt den Inhalt standardmäßig: .wiki-tooltip .tooltip-content { display: none; position: absolute; bottom: 120%; →Über dem Text anzeigen: left: 50%...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */

/* Grundstyling des Tooltips (wichtig: relativ zum Eltern-Element) */
.wiki-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-bottom: 1px dashed #666; /* Kennzeichnung für Benutzer */
}

/* Versteckt den Inhalt standardmäßig */
.wiki-tooltip .tooltip-content {
    display: none;
    position: absolute;
    bottom: 120%; /* Über dem Text anzeigen */
    left: 50%;
    transform: translateX(-50%);
    background-color: #202122;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    z-index: 1000;
    min-width: 150px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* DESKTOP-HOVER: Nur aktivieren, wenn eine Maus genutzt wird */
@media (pointer: fine) {
    .wiki-tooltip:hover .tooltip-content {
        display: block;
    }
}