Aktionen

MediaWiki

Common.css: Unterschied zwischen den Versionen

Aus Geodäsie Knowledge Hub

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 5: Zeile 5:


/* ============================= */
/* ============================= */
/* FBG Dokumentationsbox         */
/* FBG Dokumentationsbox rechts */
/* ============================= */
/* ============================= */


.fbg-docbox {
.fbg-docbox {
  width: 400px;
  float: right;
  margin: 0 0 1.5em 2em;
   background: #f8f9fb;
   background: #f8f9fb;
   border: 1px solid #e3e6ea;
   border: 1px solid #e3e6ea;
   border-radius: 16px;
   border-radius: 16px;
   padding: 20px 22px;
   padding: 20px 22px;
  margin: 1em 0 1.25em 0;
   box-sizing: border-box;
   box-sizing: border-box;
}
}


.fbg-docbox-title {
.fbg-docbox-title {
   font-size: 1.9em;
   font-size: 1.4em;
   font-weight: 700;
   font-weight: 700;
  line-height: 1.2;
   margin-bottom: 14px;
   margin-bottom: 14px;
  color: #202122;
}
}


.fbg-docbox-grid {
.fbg-docbox-grid {
   display: grid;
   display: grid;
   grid-template-columns: 180px 1fr;
   grid-template-columns: 140px 1fr;
   row-gap: 8px;
   row-gap: 6px;
   column-gap: 14px;
   column-gap: 10px;
}
}


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


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


@media (max-width: 768px) {
/* Mobil: untereinander */
@media (max-width: 900px) {
   .fbg-docbox {
   .fbg-docbox {
     padding: 16px 18px;
     float: none;
  }
    width: 100%;
 
     margin: 1em 0;
  .fbg-docbox-title {
     font-size: 1.6em;
   }
   }


   .fbg-docbox-grid {
   .fbg-docbox-grid {
     grid-template-columns: 1fr;
     grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .fbg-docbox-label {
    margin-top: 8px;
   }
   }
}
}

Aktuelle Version vom 7. März 2026, 22:53 Uhr

/* Tagline ausblenden */
h3#tagline {
  display: none;
}

/* ============================= */
/* FBG Dokumentationsbox rechts */
/* ============================= */

.fbg-docbox {
  width: 400px;
  float: right;
  margin: 0 0 1.5em 2em;
  background: #f8f9fb;
  border: 1px solid #e3e6ea;
  border-radius: 16px;
  padding: 20px 22px;
  box-sizing: border-box;
}

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

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

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

.fbg-docbox-value {
  word-break: break-word;
}

/* Mobil: untereinander */
@media (max-width: 900px) {
  .fbg-docbox {
    float: none;
    width: 100%;
    margin: 1em 0;
  }

  .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);
}