Team:Heidelberg/css/boxes
From 2014.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
.box { | .box { | ||
border-left: 4px solid #C02A27; | border-left: 4px solid #C02A27; | ||
- | padding: | + | padding: 10px; |
background-color: white; | background-color: white; | ||
+ | } | ||
+ | |||
+ | .box h3 { | ||
+ | margin-bottom: 5px; | ||
+ | margin-top: 5px; | ||
} | } | ||
Line 14: | Line 19: | ||
- | .row { | + | .boxes-row { |
display:table-row; | display:table-row; | ||
} | } | ||
- | . | + | .boxes-table { |
display:table; | display:table; | ||
border-spacing: 10px; | border-spacing: 10px; | ||
margin-bottom: -10px; | margin-bottom: -10px; | ||
} | } |
Revision as of 22:06, 30 September 2014
- wrapper {
width: 100%;
}
.box {
border-left: 4px solid #C02A27; padding: 10px; background-color: white;
}
.box h3 {
margin-bottom: 5px; margin-top: 5px;
}
.cell {
display:table-cell;
}
.boxes-row {
display:table-row;
}
.boxes-table {
display:table; border-spacing: 10px; margin-bottom: -10px;
}