Difference between revisions of "MediaWiki:Vector.css"

From LinnDocs
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
}
 
}
  
/* set max width and fix the background */
+
.left-column {
    html,
+
  position: fixed;
    body {
+
  top: 0;
    position: relative;
+
  bottom: 0;
    margin-left: auto !important;
+
  overflow: scroll;
    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; }
 

Latest revision as of 07:16, 8 August 2023

/* CSS placed here will affect users of the Vector skin */
@media print {
    ol.references {display: none;}
}

.left-column {
  position: fixed;
  top: 0;
  bottom: 0;
  overflow: scroll;
}