|
|
(5 intermediate revisions by 3 users not shown) |
Line 101: |
Line 101: |
| | | |
| #cornerleft{ | | #cornerleft{ |
− | background: url('https://static.igem.org/mediawiki/2015/0/0e/Corner_left_good.png') no-repeat; | + | background: url('https://static.igem.org/mediawiki/2015/a/ad/Corner_actual_left_goods.png') no-repeat; |
| float:Left; | | float:Left; |
| width:400px; | | width:400px; |
Line 109: |
Line 109: |
| | | |
| #cornerright{ | | #cornerright{ |
− | background: url('https://static.igem.org/mediawiki/2015/a/a1/Corner_right_good.png') no-repeat; | + | background: url('https://static.igem.org/mediawiki/2015/4/44/Corner_left_good2.png') no-repeat; |
| float:right; | | float:right; |
| width:400px; | | width:400px; |
Line 156: |
Line 156: |
| display:block; | | display:block; |
| font-family: "Times New Roman", serif; | | font-family: "Times New Roman", serif; |
| + | } |
| + | |
| + | #UBCmenu a h4:hover{ |
| + | color:#804315; |
| + | } |
| + | |
| + | #UBCmenu ul li a:hover{ |
| + | color:#804315; |
| } | | } |
| | | |
Line 568: |
Line 576: |
| .CSSTableGenerator tr:first-child td:last-child{ | | .CSSTableGenerator tr:first-child td:last-child{ |
| border-width:0px 0px 1px 1px; | | border-width:0px 0px 1px 1px; |
− | }
| |
− |
| |
− | @import url(http://fonts.googleapis.com/css?family=Open+Sans);
| |
− |
| |
− | body {
| |
− | font-family: 'Open Sans', sans-serif;
| |
− | color: #666;
| |
− | }
| |
− |
| |
− | /* STRUCTURE */
| |
− |
| |
− | #pagewrap {
| |
− | padding: 5px;
| |
− | width: 960px;
| |
− | margin: 20px auto;
| |
− | }
| |
− | header {
| |
− | height: 100px;
| |
− | padding: 0 15px;
| |
− | }
| |
− | #content {
| |
− | width: 290px;
| |
− | float: left;
| |
− | padding: 5px 15px;
| |
− | }
| |
− |
| |
− | #middle {
| |
− | width: 294px; /* Account for margins + border values */
| |
− | float: left;
| |
− | padding: 5px 15px;
| |
− | margin: 0px 5px 5px 5px;
| |
− | }
| |
− |
| |
− | #sidebar {
| |
− | width: 270px;
| |
− | padding: 5px 15px;
| |
− | float: left;
| |
− | }
| |
− | footer {
| |
− | clear: both;
| |
− | padding: 0 15px;
| |
− | }
| |
− |
| |
− | /************************************************************************************
| |
− | MEDIA QUERIES
| |
− | *************************************************************************************/
| |
− | /* for 980px or less */
| |
− | @media screen and (max-width: 980px) {
| |
− |
| |
− | #pagewrap {
| |
− | width: 94%;
| |
− | }
| |
− | #content {
| |
− | width: 41%;
| |
− | padding: 1% 4%;
| |
− | }
| |
− | #middle {
| |
− | width: 41%;
| |
− | padding: 1% 4%;
| |
− | margin: 0px 0px 5px 5px;
| |
− | float: right;
| |
− | }
| |
− |
| |
− | #sidebar {
| |
− | clear: both;
| |
− | padding: 1% 4%;
| |
− | width: auto;
| |
− | float: none;
| |
− | }
| |
− |
| |
− | header, footer {
| |
− | padding: 1% 4%;
| |
− | }
| |
− | }
| |
− |
| |
− | /* for 700px or less */
| |
− | @media screen and (max-width: 600px) {
| |
− |
| |
− | #content {
| |
− | width: auto;
| |
− | float: none;
| |
− | }
| |
− |
| |
− | #middle {
| |
− | width: auto;
| |
− | float: none;
| |
− | margin-left: 0px;
| |
− | }
| |
− |
| |
− | #sidebar {
| |
− | width: auto;
| |
− | float: none;
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | /* for 480px or less */
| |
− | @media screen and (max-width: 480px) {
| |
− |
| |
− | header {
| |
− | height: auto;
| |
− | }
| |
− | h1 {
| |
− | font-size: 2em;
| |
− | }
| |
− | #sidebar {
| |
− | display: none;
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− |
| |
− | #content {
| |
− | background: #f8f8f8;
| |
− | }
| |
− | #sidebar {
| |
− | background: #f0efef;
| |
− | }
| |
− | header, #content, #middle, #sidebar {
| |
− | margin-bottom: 5px;
| |
− | }
| |
− |
| |
− | #pagewrap, header, #content, #middle, #sidebar, footer {
| |
− | border: solid 1px #ccc;
| |
| } | | } |
| | | |