MediaWiki:Common.css: Unterschied zwischen den Versionen
|  (Die Seite wurde neu angelegt: „→Das folgende CSS wird für alle Benutzeroberflächen geladen.:  a {   color: #003f87; }“) | |||
| (17 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
| − | a { | + | .mw-body a:link { color: #003f87; } /* normal unvisited links */ | 
| − | + | .mw-body a:link:visited { color: #005196; } /* visited links */ | |
| + | .mw-body a:link:active { color: #005196; } /* active links */ | ||
| + | .mw-body a:link.new { color: #FF0000; } /* new links */ | ||
| + | .mw-body a:link.interwiki { color: #005196; } /* interwiki links */ | ||
| + | .mw-body a:link.external { color: #005196; } /* external links */ | ||
| + | .mw-body a:link.external:visited { color: #005196; } /* external links */ | ||
| + | .mw-body a:link.stub { color: #005196; } /* hovered links */ | ||
| + | |||
| + | .mw-body a:link {color: #005196} | ||
| + | .mw-body a:visited {color: #005196} | ||
| + | .mw-body a.new:visited { color: #FF0000; } | ||
| + | .mw-body a:hover {color: #005196} | ||
| + | .mw-body a:active {color: #005196} | ||
| + | |||
| + | .listTable { | ||
| + |   width: 100%; | ||
| + |    border: solid 1px #ccc; | ||
| + |   border-collapse: collapse; | ||
| + | |||
| } | } | ||
| + | .listTable tr:nth-child(2n+1) { | ||
| + |   background-color: #dedede; | ||
| + | } | ||
| + | .listTable td { | ||
| + |   padding: 5px; | ||
| + |   margin: 0; | ||
| + |   border: solid 1px #ccc; | ||
| + | } | ||
| + | |||
| + | .santoTable tr td:first-child { | ||
| + |   vertical-align:top; | ||
| + |   max-width: 50%; | ||
| + | } | ||
| + | .santoTable tr td:nth-child(2) i { | ||
| + |   float: right; | ||
| + |   color: #aaa; | ||
| + | } | ||
| + | .santoTable tr td:nth-child(2) p:first-child { | ||
| + |   margin-top: 0; | ||
| + | } | ||
| + | |||
| + | body .content table.templateTable { | ||
| + |    display: table !important; | ||
| + | } | ||
| + | |||
| + | /* Änderungen vorgeschlagen von Pfingsts */ | ||
| + | |||
| + | |||
| + |     /* left & right floating images max width */ | ||
| + |     .thumb.tright, | ||
| + |     .thumb.tleft { | ||
| + |         max-width: 40%; | ||
| + |     } | ||
| + |     .thumb.tnone, /* centered image */ | ||
| + |     .thumbinner, | ||
| + |     .thumbinner > a, | ||
| + |     .thumbinner img { | ||
| + |         max-width: 100%; | ||
| + |     } | ||
| + |     /* Since img has a height attribute */ | ||
| + |     .thumbinner img { | ||
| + |         height: auto; | ||
| + |     } | ||
| + |     /* Wrap lines on pre */ | ||
| + |         #mw-content-text > pre { | ||
| + |         overflow-x: auto; | ||
| + |     } | ||
| + |     /* Move down content, so the menu does not overlap in small widths */ | ||
| + |     @media only screen and (max-width: 730px) { | ||
| + |         #content { | ||
| + |             padding-top: 48px !important; | ||
| + |         } | ||
| + |     } | ||
| + | |||
| + |    .embedvideo, .embedvideo > iframe { | ||
| + |        max-width: 100%; | ||
| + |    } | ||
Aktuelle Version vom 4. April 2019, 09:13 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
.mw-body a:link { color: #003f87; } /* normal unvisited links */
.mw-body a:link:visited { color: #005196; } /* visited links */
.mw-body a:link:active { color: #005196; } /* active links */
.mw-body a:link.new { color: #FF0000; } /* new links */
.mw-body a:link.interwiki { color: #005196; } /* interwiki links */
.mw-body a:link.external { color: #005196; } /* external links */
.mw-body a:link.external:visited { color: #005196; } /* external links */
.mw-body a:link.stub { color: #005196; } /* hovered links */
 
.mw-body a:link {color: #005196}
.mw-body a:visited {color: #005196}
.mw-body a.new:visited { color: #FF0000; }
.mw-body a:hover {color: #005196}
.mw-body a:active {color: #005196}
.listTable {
  width: 100%;
  border: solid 1px #ccc;
  border-collapse: collapse;
}
.listTable tr:nth-child(2n+1) {
  background-color: #dedede;
}
.listTable td {
  padding: 5px;
  margin: 0;
  border: solid 1px #ccc;
}
.santoTable tr td:first-child {
  vertical-align:top;
  max-width: 50%;
}
.santoTable tr td:nth-child(2) i {
  float: right;
  color: #aaa;
}
.santoTable tr td:nth-child(2) p:first-child {
  margin-top: 0;
}
body .content table.templateTable {
   display: table !important;
}
/* Änderungen vorgeschlagen von Pfingsts */
    /* left & right floating images max width */
    .thumb.tright,
    .thumb.tleft {
        max-width: 40%;
    }
    .thumb.tnone, /* centered image */
    .thumbinner,
    .thumbinner > a,
    .thumbinner img {
        max-width: 100%;
    }
    /* Since img has a height attribute */
    .thumbinner img {
        height: auto;
    }
    /* Wrap lines on pre */
        #mw-content-text > pre {
        overflow-x: auto;
    }
    /* Move down content, so the menu does not overlap in small widths */
    @media only screen and (max-width: 730px) {
        #content {
            padding-top: 48px !important;
        }
    }
   .embedvideo, .embedvideo > iframe {
       max-width: 100%;
   }