MediaWiki: Vector.css: Różnice pomiędzy wersjami

Z Elproma Wiki Knowledge Base
Skocz do: nawigacja, szukaj
Linia 2: Linia 2:




/* upper blue line */
    /* set max width and fix the background */
#mw-head-base {
    html,
margin-left: 60 !important;
    body {
margin-right: 60 !important;
    position: relative;
  max-width: 2000px !important;
    margin-left: auto !important;
}
    margin-right: auto !important;
/* lower blue line + footer content */
    max-width: 1280px;
#footer {
        background-position: top left;
margin-left: 60 !important;
        background-repeat: repeat-x;
margin-right: 60 !important;
    background-size: 100% 5em;
  max-width: 2000px !important;
        background-image: url(/skins/Vector/images/page-fade.png);
}
        background-color: #f6f6f6;
/* main content */
        background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#f6f6f6));
#content {
        background-image: -webkit-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
margin-left: 50px !important;
        background-image: -moz-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
margin-right: 50px !important;
        background-image: linear-gradient(#ffffff 50%,#f6f6f6 100%);
  max-width: 2000px;
    }
}
   
    /* 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; }





Wersja z 09:37, 5 kwi 2022

/* Umieszczony tutaj kod CSS zostanie załadowany przez użytkowników korzystających ze skórki Wektor */


    /* 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; }


.mw-sidebar-action {
    display: none;
}

#column-content { margin-left: -15em; }
#column-content #content { margin-left: 15em; }
#p-logo a, #p-logo a:hover { width: 15em; }
#p-cactions { left: 14.5em; }
.portlet { width: 14em; }
#column-content { margin-left: -0em; }
#content.mw-body { margin-left: 0em; }