MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus ZUM-Unterrichten
| KKeine Bearbeitungszusammenfassung | KKeine Bearbeitungszusammenfassung | ||
| (170 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Farben.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Box.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Lernpfad.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Button.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Portalseite.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Fortsetzung.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Widget_Dialog.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:RQuiz.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:zum_mw-collapsible.css"); | |||
| @import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:zum_grid.css"); | |||
| /** | |||
|  * | |||
|  */ | |||
| .mediawiki audio { | |||
|  height:1.5em !important; | |||
|  display:inline-block; | |||
| } | |||
| /** | |||
|  * | |||
|  * | |||
|  */ | |||
| body.not-logged-in .hidden-not-logged-in { | |||
|   display:none; | |||
| } | |||
| body:not(.not-logged-in) .hidden-logged-in { | |||
|   display:none; | |||
| } | |||
| /** | |||
|  * use correct icon for `Englisch` classes | |||
|  * | |||
|  * CS | |||
|  * 2020-06-23 | |||
|  */ | |||
| .mediawiki #fu-menu li#f\ächer #n-Englisch a:before, | |||
| .mediawiki #fu-offcanvas li#f\ächer #n-Englisch a:before { | |||
|   content: '\e629'; | |||
| } | |||
| /** | |||
|  * use correct icon for `Latein` classes | |||
|  * | |||
|  * CS  | |||
|  * 2022-09-18  | |||
|  */ | |||
| .mediawiki #fu-menu li#f\ächer #n-Latein a:before, | |||
| .mediawiki #fu-offcanvas li#f\ächer #n-Latein a:before { | |||
|   content: '\e669'; | |||
| } | |||
| /** | |||
|  * Black color for `misc` classes | |||
|  * | |||
|  * CS | |||
|  * 2023-04-23 | |||
|  * | |||
|  */ | |||
| .mediawiki .subjects.misc a span,  | |||
| .mediawiki .subjects.misc a.new span { | |||
|   color: hsla(0, 0%, 0%, 0.8); | |||
| } | |||
| .mediawiki .misc .portal > span { | |||
|   background: hsla(0, 0%, 0%, 0.8); | |||
| } | |||
| /** | |||
|  * Sidebar Hilfen ausgeklappt für eingeloggte Nutzer | |||
|  * CS | |||
|  * 2023-02-19 | |||
|  */ | |||
| body:not(.not-logged-in) #p-Hilfen .mw-portlet-body { | |||
|   display: block !important; | |||
|   visibility: visible !important; | |||
|   height: auto !important; | |||
| } | |||
| /* hide the toogle */ | |||
| body:not(.not-logged-in) #p-Hilfen-label:after { | |||
|   display: none; | |||
| } | |||
| /** | |||
|  * remove interferring default styles from #siteNotice and #localNotice | |||
|  * uses .mediawiki selector to increase specifity | |||
|  */ | |||
| .mediawiki #siteNotice a { display:inline-block; } | |||
| .mediawiki #siteNotice, .mediawiki #localNotice { | |||
|  text-align:initial; | |||
| } | |||
| .mediawiki #siteNotice { | |||
|  margin: -1.5rem -1.5rem -1.5rem -1.5rem; | |||
| } | |||
| .mediawiki #localNotice { | |||
|  margin: initial; | |||
| } | |||
| /* Kennzeichnung externer Links, hinzugefügt [[Benutzer:m.scharwies]] 7. Apr. 2018 */ | /* Kennzeichnung externer Links, hinzugefügt [[Benutzer:m.scharwies]] 7. Apr. 2018 */ | ||
| Zeile 14: | Zeile 115: | ||
| } | } | ||
|   /******************* |   /******************* | ||
| Zeile 38: | Zeile 125: | ||
|    #mw-content-text .GeoGebraFrame ul { margin:0; } |    #mw-content-text .GeoGebraFrame ul { margin:0; } | ||
| / | |||
| /****************** | |||
|   * |   * | ||
|   *  |   * ZUM-Layout | ||
|   * |   * | ||
|   ******************/ | |||
| .zum-block { | |||
|   padding:0.5em; | |||
|   margin-top:0.5em; | |||
|   margin-bottom:0.5em; | |||
| } | |||
| /*********** | /*********** | ||
|  * | |||
|  * Mediawiki Indicators | |||
|  * - container floats on the right | |||
|  * - individual indicators are flex elements | |||
| . |  * | ||
|  ***********/ | |||
| .mw-indicators { | |||
|   float:right; | |||
|    display:flex; | |||
| . | } | ||
| . | .mw-indicators > .mw-indicator { | ||
|   flex: 1; | |||
| } | |||
| /* larger fa-lg style for Font Awesome*/ | |||
| .fa-lg2x | |||
| { | |||
|    font-size: 2em; | |||
|    line-height: 0.25em; | |||
|    vertical-align: -50%; | |||
| } | |||
| /*  | |||
| . | |||
| . | |||
Aktuelle Version vom 3. Mai 2024, 22:34 Uhr
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Farben.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Box.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Lernpfad.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Button.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Portalseite.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Vorlage_Fortsetzung.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:Widget_Dialog.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:RQuiz.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:zum_mw-collapsible.css");
@import url("/index.php?action=raw&ctype=text/css&title=MediaWiki:zum_grid.css");
/**
 *
 */
.mediawiki audio {
 height:1.5em !important;
 display:inline-block;
}
/**
 *
 *
 */
body.not-logged-in .hidden-not-logged-in {
  display:none;
}
body:not(.not-logged-in) .hidden-logged-in {
  display:none;
}
/**
 * use correct icon for `Englisch` classes
 *
 * CS
 * 2020-06-23
 */
.mediawiki #fu-menu li#f\ächer #n-Englisch a:before,
.mediawiki #fu-offcanvas li#f\ächer #n-Englisch a:before {
  content: '\e629';
}
/**
 * use correct icon for `Latein` classes
 *
 * CS 
 * 2022-09-18 
 */
.mediawiki #fu-menu li#f\ächer #n-Latein a:before,
.mediawiki #fu-offcanvas li#f\ächer #n-Latein a:before {
  content: '\e669';
}
/**
 * Black color for `misc` classes
 *
 * CS
 * 2023-04-23
 *
 */
.mediawiki .subjects.misc a span, 
.mediawiki .subjects.misc a.new span {
  color: hsla(0, 0%, 0%, 0.8);
}
.mediawiki .misc .portal > span {
  background: hsla(0, 0%, 0%, 0.8);
}
/**
 * Sidebar Hilfen ausgeklappt für eingeloggte Nutzer
 * CS
 * 2023-02-19
 */
 
body:not(.not-logged-in) #p-Hilfen .mw-portlet-body {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
}
/* hide the toogle */
body:not(.not-logged-in) #p-Hilfen-label:after {
  display: none;
}
/**
 * remove interferring default styles from #siteNotice and #localNotice
 * uses .mediawiki selector to increase specifity
 */
.mediawiki #siteNotice a { display:inline-block; }
.mediawiki #siteNotice, .mediawiki #localNotice {
 text-align:initial;
}
.mediawiki #siteNotice {
 margin: -1.5rem -1.5rem -1.5rem -1.5rem;
}
.mediawiki #localNotice {
 margin: initial;
}
/* Kennzeichnung externer Links, hinzugefügt [[Benutzer:m.scharwies]] 7. Apr. 2018 */
div#content a.external {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=) center right no-repeat;
    padding-right: 13px;
}
/* Floaten von Bildern, TOC, etc , hinzugefügt [[Benutzer:m.scharwies]] 7. Apr. 2018 */
div.float-right, table.float-right, ul.float-right, .float-right {
    clear: right;
    float: right;
    margin: 1em 0 1em 1em;
}
 
 /*******************
  * Fix Geogebra Styling
  *
  * Die Standardstyles greifen in das Geogebra Applet rein und sorgen für Darstellungsprobleme bei den Toolbars.
  *
  * Wir fügen .GeoGebraFrame in die Selektorkette um mit einer höheren Spezifizität drüber zukommen.
  */
  
  #mw-content-text .GeoGebraFrame ul { margin:0; }
/******************
 *
 * ZUM-Layout
 *
 ******************/
.zum-block {
  padding:0.5em;
  margin-top:0.5em;
  margin-bottom:0.5em;
}
/***********
 *
 * Mediawiki Indicators
 * - container floats on the right
 * - individual indicators are flex elements
 *
 ***********/
.mw-indicators {
  float:right;
  display:flex;
}
.mw-indicators > .mw-indicator {
  flex: 1;
}
/* larger fa-lg style for Font Awesome*/
.fa-lg2x
{
  font-size: 2em;
  line-height: 0.25em;
  vertical-align: -50%;
}
