Aktionen

MediaWiki

MediaWiki:Common.css

Aus Geodäsie Knowledge Hub

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Tagline ausblenden */
h3#tagline {
  display: none;
}

/* ============================= */
/* FBG Dokumentationsbox – kompakt */
/* ============================= */

.fbg-docbox {
  background: #f8f9fb;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  padding: 18px 22px;
  margin: 1em 0 1.5em 0;
  max-width: 720px;     /* <<< begrenzt die Breite */
  box-sizing: border-box;
}

.fbg-docbox-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 12px;
}

.fbg-docbox-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 6px;
  column-gap: 12px;
}

.fbg-docbox-label {
  font-weight: 600;
  color: #202122;
}

.fbg-docbox-value {
  color: #202122;
}

@media (max-width: 768px) {
  .fbg-docbox {
    max-width: 100%;
  }

  .fbg-docbox-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* FBG Infobox                   */
/* ============================= */

.fbg-infobox {
  width: 320px;
  float: right;
  margin: 0 0 1em 1.5em;
  font-size: 95%;
}

.fbg-infobox td {
  padding: 6px 10px;
}

/* ============================= */
/* FBG Standard-Link-Button      */
/* ============================= */

.fbg-button-label {
  display: inline-block;
  min-width: 120px;
  padding: 7px 14px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #c8ccd1;
  border-radius: 10px;
  box-sizing: border-box;
  color: #e2001a; /* Fachbereichs-Rot */
  font-weight: 500;
  transition: background-color 0.15s ease-in-out;
}

a:hover .fbg-button-label {
  background: #eef0f2;
  color: #c00000;
}

/* ============================= */
/* Inhaltsverzeichnis rechts     */
/* ============================= */

#toc, .toc {
  float: right;
  margin: 0 0 1em 1.5em;
  width: 300px;
}

/* ============================= */
/* Page Forms – Eingabefeld      */
/* ============================= */

.fbg-create-form {
  display: inline-block;
}

.fbg-create-form form {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Textfeld */
.fbg-create-form input[type="text"] {
  height: 38px;
  box-sizing: border-box;
  padding: 6px 10px;
  border: 1px solid #c8ccd1;
  border-radius: 10px;
  background: #ffffff;
  min-width: 190px;
  color: #202122;
}

/* Submit-Button (auch OOUI berücksichtigen) */
.fbg-create-form input[type="submit"],
.fbg-create-form button,
.fbg-create-form .oo-ui-buttonElement-button {
  height: 38px !important;
  box-sizing: border-box !important;
  padding: 0 14px !important;
  border: 1px solid #c8ccd1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #e2001a !important;
  cursor: pointer;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
}

/* Hover */
.fbg-create-form input[type="submit"]:hover,
.fbg-create-form button:hover,
.fbg-create-form .oo-ui-buttonElement-button:hover {
  background: #eef0f2 !important;
}
/* ============================= */
/* FBG Card Grid                 */
/* ============================= */

.fbg-card-wrap {
  flex: 0 0 calc(50% - 9px);
  max-width: calc(50% - 9px);
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .fbg-card-wrap {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .fbg-create-form {
    display: none !important;
  }
}

.fbg-card {
  width: 100%;
  background: #f8f9fb;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  padding: 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease-in-out, transform 0.12s ease-in-out;
}

.fbg-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}