MediaWiki:Vector.css: Unterschied zwischen den Versionen

Aus Datenschutz
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „→‎Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen.: →‎working ...: #content{ margin-left:auto !important; mar…“)
 
Zeile 1: Zeile 1:
/* Das folgende CSS wird für Benutzer der Vector-Benutzeroberfläche geladen. */
+
  /* set max width and fix the background */
 
+
    html,
/* working ... */
+
    body {
#content{
+
    position: relative;
        margin-left:auto !important;
+
    margin-left: auto !important;
        margin-right:auto;
+
    margin-right: auto !important;
max-width: 950px;
+
    max-width: 1280px;
}
+
        background-position: top left;
 
+
        background-repeat: repeat-x;
#footer {
+
    background-size: 100% 5em;
margin-left: auto !important;
+
        background-image: url(/skins/Vector/images/page-fade.png);
margin-right: auto;
+
        background-color: #f6f6f6;
max-width: 950px;
+
        background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#f6f6f6));
}
+
        background-image: -webkit-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
 
+
        background-image: -moz-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
/* testing */
+
        background-image: linear-gradient(#ffffff 50%,#f6f6f6 100%);
#mw-navigation {
+
    }
        margin-left: auto !important;
+
   
margin-right: auto;
+
    /* set blue right border */
max-width: 1140px;
+
    .mw-body { border-right: 1px solid #A7D7F9; }
        top: 0;
+
   
}
+
    /** fix the position of:
 +
    personal user menu
 +
    search bar
 +
    the pop-up indicator of language selector
 +
    search suggestions
 +
    **/
 +
    #p-personal { right: 3pt; }
 +
    #p-search { margin-right: 3pt; }
 +
    .imeselector { position: fixed; }
 +
    .suggestions { right: 3pt !important; }

Version vom 14. Juli 2020, 14:30 Uhr

   /* set max width and fix the background */
    html,
    body {
    	position: relative;
    	margin-left: auto !important;
    	margin-right: auto !important;
    	max-width: 1280px;
        background-position: top left;
        background-repeat: repeat-x;
    	background-size: 100% 5em;
        background-image: url(/skins/Vector/images/page-fade.png);
        background-color: #f6f6f6;
        background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#f6f6f6));
        background-image: -webkit-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
        background-image: -moz-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
        background-image: linear-gradient(#ffffff 50%,#f6f6f6 100%);
    }
    
    /* set blue right border */
    .mw-body { border-right: 1px solid #A7D7F9; }
    
    /** fix the position of:
    			personal user menu
    			search bar
    			the pop-up indicator of language selector
    			search suggestions 
    **/
    #p-personal { right: 3pt; }
    #p-search { margin-right: 3pt; }
    .imeselector { position: fixed; }
    .suggestions { right: 3pt !important; }