MediaWiki:Vector.css: Difference between revisions

From CUSL
Jump to navigation Jump to search
HeYing (talk | contribs)
No edit summary
HeYing (talk | contribs)
No edit summary
Line 54: Line 54:
}
}
#navigation li {
#navigation li {
     display: inline;
     display: block;
    float: left;
}
}


#navigation li+li {
#navigation li+li {
     padding-left: 30px;
     margin-left: 30px;
}
 
.people-sub {
    display: none;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 0 10px;
}
.people-sub a {
    display: block;
    margin-top: 10px;
}
.people-sub a:last-of-type {
    margin-bottom: 10px;
}
.people:hover .people-sub {
    display: block;
    position: absolute;
}
}

Revision as of 13:58, 17 July 2015

/* CSS placed here will affect users of the Vector skin */
body {
background-color: #fff;
}

#mw-page-base {
background-image: none;
}

#firstHeading, #contentSub { 
    display:none;
}
.fullwidthimage {
    max-width:100% !important;
    height:auto;
}

.slideshow div {
       max-width: 100% !important;        
}
#cusl-header {
    background: #f9f9f9; 
    margin: 1.2em 0 6px 0;
    font-size: 120%; 
    width: 100%;
    text-align: center;
    background-image: url('http://www.cusl.res.ku.edu/images/f/fe/Jhwk.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}

#cusl-header-border {
    border: 1px solid #ddd;
    padding: 1em 0; 
}

#cusl-header-title {
    color: #000;
    font-size: 160%; 
    font-weight: bold;
}

#navigation {
    list-style-type: none;
    margin: 20px 0 0 0;
    padding-left: 0;
    text-align: left;

}
#navigation a {
    color:#000;
 
}
#navigation li {
    display: block;
    float: left;
}

#navigation li+li {
    margin-left: 30px;
}

.people-sub {
    display: none;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 0 10px;
}
.people-sub a {
    display: block;
    margin-top: 10px;
}
.people-sub a:last-of-type {
    margin-bottom: 10px;
}
.people:hover .people-sub {
    display: block;
    position: absolute;
}