Manual:Database layout/viewbox/styles.css
Appearance
.mwmanual-dbview-box {
width: 500px;
overflow: hidden;
position: relative;
border-radius: 3px;
border: 1px solid #aaa;
background: #F6F9ED;
}
.mwmanual-dbview-box-left {
float: left;
text-align: left;
margin: 0 10px 20px 0;
}
.mwmanual-dbview-box-right {
float: right;
text-align: right;
margin: 0 0 20px 10px;
}
.mwmanual-dbview-box-image {
position: absolute;
top: 0;
z-index: 1;
}
.mwmanual-dbview-box-left .mwmanual-dbview-box-image {
right: 50%;
margin-right: -250px;
}
.mwmanual-dbview-box-right .mwmanual-dbview-box-image {
left: 50%;
margin-left: -250px;
}
.mwmanual-dbview-box img {
opacity: 0.5;
}
.mwmanual-dbview-box:hover img {
opacity: 0.8;
}
.mwmanual-dbview-link {
background: rgb(198, 212, 235);
background: hsla(217, 48%, 85%, 0.8);
border: 1px solid #0645AD;
border-radius: 4px;
padding: 10px 5px;
text-align: center;
font-weight: bold;
z-index: 5;
position: relative;
font-size: 24px;
margin: 120px 20px 10px 20px;
}
.mwmanual-dbview-link a {
color: #0645AD;
}
.mwmanual-dbview-box:hover .mwmanual-dbview-link {
background: hsla(215, 46%, 95%, 0.8);
}
.mwmanual-dbview-link:hover {
background: hsla(215, 46%, 95%, 0.9);
}