Team:Penn/css/columns

From 2012.igem.org

(Difference between revisions)
Line 15: Line 15:
   float: right;
   float: right;
}
}
 +
 +
.box {
 +
  height: 185px;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: 14px; font-color: white;
 +
}
 +
.box > div {
 +
  background: url(../images/box_top.png) 0 top repeat-x;padding:30px;padding-top:0px;overflow:hidden
 +
}
 +
.box h2 {
 +
  text-align: center;color:#fff;padding:15px 0 12px 10px; font-weight: bold;
 +
}
 +
.box h2 span {
 +
  color:#faf3ed; font-weight: bold;}
 +
.box figure {
 +
  padding-bottom:13px
 +
}
 +

Revision as of 08:57, 20 August 2012

  1. topcolumns {
 width:1000px; margin-top: 0px; padding-top: 0px;

}

  1. topcolumns .column {
 position:relative;

}

  1. topcolumns .left {
 float: left;
 width: 70%;

}

  1. topcolumns .right {
 float: right;

}

.box {

 height: 185px;background :url(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: 14px; font-color: white;

} .box > div {

 background: url(../images/box_top.png) 0 top repeat-x;padding:30px;padding-top:0px;overflow:hidden

} .box h2 {

 text-align: center;color:#fff;padding:15px 0 12px 10px; font-weight: bold;

} .box h2 span {

 color:#faf3ed; font-weight: bold;}

.box figure {

 padding-bottom:13px

}


  1. content {
 padding-bottom:40px; padding-top:20px;

}