Team:Heidelberg/css/boxes
From 2014.igem.org
(Difference between revisions)
Line 52: | Line 52: | ||
.boxes-table { | .boxes-table { | ||
display:table; | display:table; | ||
- | border-spacing: | + | border-spacing: 15px; |
- | margin-bottom: - | + | margin-bottom: -15px; |
width: 100%; | width: 100%; | ||
} | } |
Revision as of 11:33, 1 October 2014
- wrapper {
width: 100%;
}
.box {
border-left: 4px solid #C02A27; padding: 20px; padding-left: 16px; background-color: white;
}
.box:hover {
border: 4px solid #C02A27; padding: 16px;
}
.box h3 {
margin-bottom: 5px; margin-top: 5px; font-weight: bold;
}
.box h3 span {
color: #C02A27;
}
.cell {
display:table-cell;
}
.box:hover .small-igem-logo {
right: 16px;
}
.small-igem-logo {
position: absolute; display:block; top:0; bottom:0; margin: auto; right: 20px; width: 80px; opacity: 0.8;
}
.boxes-row {
display:table-row;
}
.boxes-table {
display:table; border-spacing: 15px; margin-bottom: -15px; width: 100%;
}