Team:Penn/css/columns
From 2012.igem.org
(Difference between revisions)
(14 intermediate revisions not shown) | |||
Line 17: | Line 17: | ||
.box { | .box { | ||
- | height: | + | height: 500px;background :url(https://static.igem.org/mediawiki/2012/0/0e/Box_bg.png) repeat;color:#faf3ed;box-shadow:0 0 5px rgba(0, 0, 0, .4);-moz-box-shadow:0 0 5px rgba(0, 0, 0, .4);-webkit-box-shadow:0 0 5px rgba(0, 0, 0, .4); font-size: 12px; font-color: white; |
} | } | ||
.box > div { | .box > div { | ||
Line 23: | Line 23: | ||
} | } | ||
.box h2 { | .box h2 { | ||
- | text-align: center;color:#fff;padding: | + | font-size:14px; text-align: center;color:#fff;padding:5px 0 5px 10px; font-weight: bold; /*15 0 12 10 */ |
} | } | ||
.box h2 span { | .box h2 span { | ||
- | color:# | + | color:#01256e; font-weight: bold;} |
.box figure { | .box figure { | ||
padding-bottom:13px | padding-bottom:13px | ||
Line 43: | Line 43: | ||
#right { | #right { | ||
width: 200px; | width: 200px; | ||
- | height: | + | height: 250px; |
padding-left: 10px; | padding-left: 10px; | ||
padding-right:10px; | padding-right:10px; | ||
Line 50: | Line 50: | ||
} | } | ||
#right1 { | #right1 { | ||
- | |||
text-align:center; | text-align:center; | ||
width: 200px; | width: 200px; | ||
- | height: | + | height: 200px; |
+ | |||
padding-left: 10px; | padding-left: 10px; | ||
padding-right:10px; | padding-right:10px; | ||
margin-left: 55px; | margin-left: 55px; | ||
margin-right: 10px; | margin-right: 10px; | ||
- | + | ||
} | } | ||
Line 68: | Line 68: | ||
#rightcol { | #rightcol { | ||
- | float: | + | float:right; |
width:200px; | width:200px; | ||
background:#c9c; | background:#c9c; | ||
+ | |||
+ | .colacross { | ||
+ | width: 960px; margin-top:10px; | ||
+ | } | ||
+ | |||
+ | |||
+ | .leftcolumn { | ||
+ | width: 450px; | ||
+ | float: left; | ||
+ | position:relative; | ||
+ | text-align: center; | ||
+ | margin-left: 10px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | .rightcolumn { | ||
+ | width:450px; | ||
+ | float: right; | ||
+ | position:relative; | ||
+ | text-align: center; | ||
+ | margin-right: 0px; | ||
+ | |||
+ | } |
Latest revision as of 05:32, 15 September 2012
- topcolumns {
width:1000px; margin-top: 0px; padding-top: 0px;
}
- topcolumns .column {
position:relative;
}
- topcolumns .left {
float: left; width: 70%;
}
- topcolumns .right {
float: right;
}
.box {
height: 500px;background :url() repeat;color:#faf3ed;box-shadow:0 0 5px rgba(0, 0, 0, .4);-moz-box-shadow:0 0 5px rgba(0, 0, 0, .4);-webkit-box-shadow:0 0 5px rgba(0, 0, 0, .4); font-size: 12px; font-color: white;
} .box > div {
background: url() 0 top repeat-x;padding:30px;padding-top:0px;overflow:hidden
} .box h2 {
font-size:14px; text-align: center;color:#fff;padding:5px 0 5px 10px; font-weight: bold; /*15 0 12 10 */
} .box h2 span {
color:#01256e; font-weight: bold;}
.box figure {
padding-bottom:13px
}
- content {
padding-bottom:40px; padding-top:20px;
}
.button1 {
display:inline-block;font-size:20px;color:#fff;line-height:34px;padding:0 15px; background-image: url(); letter-spacing:-1px; margin-bottom: 11px;
}
- right {
width: 200px; height: 250px; padding-left: 10px; padding-right:10px; margin-left: 65px; margin-right: 10px;
}
- right1 {
text-align:center; width: 200px; height: 200px;
padding-left: 10px; padding-right:10px; margin-left: 55px; margin-right: 10px;
}
- leftcol {
float: left; width:800px; background:#9c9p
}
- rightcol {
float:right; width:200px; background:#c9c;
.colacross {
width: 960px; margin-top:10px;
}
.leftcolumn {
width: 450px; float: left; position:relative; text-align: center; margin-left: 10px;
}
.rightcolumn {
width:450px; float: right; position:relative; text-align: center; margin-right: 0px;
}