MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 87: | Line 87: | ||
width:960px; | width:960px; | ||
overflow: hidden; | overflow: hidden; | ||
margin:0 | margin:0 auto; | ||
} | |||
.container a { | |||
float: left; | |||
margin: 20px; | |||
} | |||
.big { | |||
position: absolute; | |||
top: 260px; | |||
left: 20px; | |||
} | |||
.big { | |||
position: absolute; | |||
top: 900px; | |||
left: 20px; | |||
-webkit-transition: top 1s ease; | |||
-moz-transition: top 1s ease; | |||
-o-transition: top 1s ease; | |||
-ms-transition: top 1s ease; | |||
transition: top 1s ease; | |||
} | |||
.featured { | |||
top: 260px; | |||
left: 20px; | |||
z-index: -3; | |||
} | |||
a:hover .thumb { | |||
-webkit-box-shadow: 0px 0px 15px rgba(0,0,0,0.5); | |||
-moz-box-shadow: 0px 0px 15px rgba(0,0,0,0.5); | |||
box-shadow: 0px 0px 15px rgba(0,0,0,0.5); | |||
} | |||
a:hover .big { | |||
top: 260px; | |||
} | } | ||
Revision as of 09:25, 21 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;
overflow: auto;
}
#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;
z-index: 99999;
}
.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;
}
.container{
position: relative;
height:660px;
width:960px;
overflow: hidden;
margin:0 auto;
}
.container a {
float: left;
margin: 20px;
}
.big {
position: absolute;
top: 260px;
left: 20px;
}
.big {
position: absolute;
top: 900px;
left: 20px;
-webkit-transition: top 1s ease;
-moz-transition: top 1s ease;
-o-transition: top 1s ease;
-ms-transition: top 1s ease;
transition: top 1s ease;
}
.featured {
top: 260px;
left: 20px;
z-index: -3;
}
a:hover .thumb {
-webkit-box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
}
a:hover .big {
top: 260px;
}