Line 293: | Line 293: | ||
/*font-family: Verdana, Arial, Helvetica, sans-serif;*/ | /*font-family: Verdana, Arial, Helvetica, sans-serif;*/ | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | /*Image section at the top of the page*/ | ||
+ | .imagearea { | ||
+ | width:100%; | ||
+ | text-align:center; | ||
+ | height:300px; | ||
+ | background-color:white; | ||
+ | margin: -1px auto 15px auto; | ||
+ | } | ||
+ | |||
+ | /*When text is used in the imagearea*/ | ||
+ | .imagearea h1 { | ||
+ | font-size:110px; | ||
+ | text-align:center; | ||
+ | color:white; | ||
+ | } | ||
+ | |||
+ | /*Specifications for image at top of page*/ | ||
+ | .mainimage { | ||
+ | height:300px; | ||
+ | } | ||
+ | |||
+ | /*Page title*/ | ||
+ | .pagetitle { | ||
+ | margin:0 0 20px 50px; | ||
+ | width:1170px; | ||
+ | height:30px; | ||
+ | } | ||
+ | |||
+ | /*Box for content on page*/ | ||
+ | .content { | ||
+ | width:1100px; | ||
+ | min-height:100px; | ||
+ | margin:25px auto 25px 50px; | ||
+ | padding-bottom: 35px; | ||
+ | display:inline-block; | ||
+ | |||
+ | } | ||
+ | |||
+ | /*Paragraph styling*/ | ||
+ | .p { | ||
+ | font-family:Sspr; | ||
+ | font-size:17px; | ||
+ | } | ||
+ | |||
+ | /*Paragraph title styling*/ | ||
+ | .ptitle { | ||
+ | font-family:Lato, sans-serif; | ||
+ | font-size:24px; | ||
+ | font-weight:700; | ||
+ | text-align:left; | ||
+ | |||
+ | } | ||
+ | |||
+ | .stitle { | ||
+ | font-family:Aleo; | ||
+ | font-size:18px; | ||
+ | font-weight:700; | ||
+ | |||
+ | } | ||
+ | |||
+ | .f { | ||
+ | font-family:Lato, sans-serif; | ||
+ | font-size:15px; | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | /*Reference box formatting*/ | ||
+ | .references { | ||
+ | position:relative; | ||
+ | color:#235c81; | ||
+ | } | ||
+ | |||
+ | .refbox { | ||
+ | position:absolute; | ||
+ | bottom:26px; | ||
+ | left:50%; | ||
+ | margin-left:-117px; | ||
+ | width:260px; | ||
+ | padding:10px 15px 10px 15px; | ||
+ | background-color:#235c81; | ||
+ | color:white; | ||
+ | visibility:hidden; | ||
+ | font-size:12px; | ||
+ | } | ||
+ | |||
+ | .references:hover .refbox { | ||
+ | visibility:visible; | ||
+ | } | ||
+ | |||
+ | .references:hover { | ||
+ | text-decoration:underline; | ||
+ | } | ||
+ | |||
+ | /*Bottom arrow on refbox*/ | ||
+ | .references .refbox::after { | ||
+ | content:" "; | ||
+ | position:absolute; | ||
+ | top:100%; | ||
+ | left:112px; | ||
+ | border-width:5px; | ||
+ | border-style:solid; | ||
+ | border-color:#99d6ff transparent transparent transparent; | ||
+ | } | ||
+ | |||
+ | /*Image formatting*/ | ||
+ | .floatright { | ||
+ | float:right; | ||
+ | background-color:#cce5ff; | ||
+ | padding:15px; | ||
+ | margin-left:10px; | ||
+ | margin-top:3px; | ||
+ | margin-bottom:5px; | ||
+ | } | ||
+ | |||
+ | .floatleft { | ||
+ | float:left; | ||
+ | background-color:#cce5ff; | ||
+ | padding:15px; | ||
+ | margin-right:10px; | ||
+ | margin-top:3px; | ||
+ | margin-bottom:5px; | ||
+ | } | ||
+ | |||
+ | .capright { | ||
+ | float:right; | ||
+ | padding:15px 15px 4px 15px; | ||
+ | text-align:center; | ||
+ | font-family:Lato, sans-serif; | ||
+ | font-size:15px; | ||
+ | margin-top:3px; | ||
+ | margin-left:10px; | ||
+ | margin-bottom:2px; | ||
+ | line-height:23px; | ||
+ | } | ||
+ | |||
+ | .capleft { | ||
+ | float:left; | ||
+ | padding:15px 15px 4px 15px; | ||
+ | background-color:#cce5ff; | ||
+ | text-align:center; | ||
+ | font-family:Lato, sans-serif; | ||
+ | font-size:15px; | ||
+ | margin-top:3px; | ||
+ | margin-right:10px; | ||
+ | margin-bottom:2px; | ||
+ | line-height:23px; | ||
+ | } | ||
+ | |||
+ | /*Footer*/ | ||
+ | .footerspace { | ||
+ | position:fixed; | ||
+ | background-color:#235c81; | ||
+ | left:50%; | ||
+ | margin-left:-600px; | ||
+ | width:1200px; | ||
+ | height:35px; | ||
+ | bottom:-1px; | ||
+ | z-index:50; | ||
+ | } | ||
+ | |||
+ | .footerright { | ||
+ | float:right; | ||
+ | margin-right:10px; | ||
+ | } | ||
+ | |||
+ | .footerleft { | ||
+ | float:left; | ||
+ | margin-left:10px; | ||
+ | } | ||
+ | |||
+ | .footerleft, .footerright { | ||
+ | margin-top:7px; | ||
+ | text-decoration:none; | ||
+ | font-family:Lato, sans-serif; | ||
+ | font-size:17px; | ||
+ | color:white; | ||
+ | } | ||
+ | |||
+ | .footerleft:hover, .footerright:hover { | ||
+ | text-decoration:underline; | ||
+ | } | ||
+ | |||
+ | .footerleft:link, .footerright:link, .footerleft:visited, .footerright:visited { | ||
+ | color:white; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*Anders' attempt at making clickable links over the p&p infographic*/ | ||
+ | |||
+ | div.abs1{position: absolute; | ||
+ | top: 75px; | ||
+ | right: 875px; | ||
+ | width: 120px; | ||
+ | height: 140px; | ||
+ | } | ||
+ | |||
+ | div.abs2{position: absolute; | ||
+ | top: 10px; | ||
+ | right: 530px; | ||
+ | width: 150px; | ||
+ | height: 100px; | ||
+ | border: none; | ||
+ | z-index:10; | ||
+ | } | ||
+ | |||
+ | div.abs3{position: absolute; | ||
+ | top: 95px; | ||
+ | right: 235px; | ||
+ | width: 120px; | ||
+ | height: 175px; | ||
+ | } | ||
+ | |||
+ | div.abs4{position: absolute; | ||
+ | top: 340px; | ||
+ | right: 195px; | ||
+ | width: 150px; | ||
+ | height: 100px; | ||
+ | } | ||
+ | |||
+ | div.abs5{position: absolute; | ||
+ | top: 548px; | ||
+ | right: 200px; | ||
+ | width: 155px; | ||
+ | height: 135px; | ||
+ | } | ||
+ | |||
+ | div.abs6{position: absolute; | ||
+ | top: 585px; | ||
+ | right: 850px; | ||
+ | width: 100px; | ||
+ | height: 145px; | ||
+ | } | ||
+ | |||
+ | div.abs7{position: absolute; | ||
+ | top: 670px; | ||
+ | right: 420px; | ||
+ | width: 260px; | ||
+ | height: 107px; | ||
+ | } | ||
+ | |||
+ | |||
+ | div.public{position: absolute; | ||
+ | top: 560px; | ||
+ | right: 715px; | ||
+ | width: 300px; | ||
+ | height: 300px; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | div.outreach{position: absolute; | ||
+ | top: 560px; | ||
+ | right: 120px; | ||
+ | width: 300px; | ||
+ | height: 300px; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | div.project1{position: absolute; | ||
+ | top: 70px; | ||
+ | right: 350px; | ||
+ | width: 175px; | ||
+ | height: 175px; | ||
+ | border:none; | ||
+ | z-index:10; | ||
+ | |||
+ | } | ||
+ | |||
+ | div.project2{position: absolute; | ||
+ | top: 190px; | ||
+ | right: 515px; | ||
+ | width: 175px; | ||
+ | height: 175px; | ||
+ | border: none; | ||
+ | z-index:10; | ||
+ | |||
+ | } | ||
+ | |||
+ | div.project3{position: absolute; | ||
+ | top: 260px; | ||
+ | right: 720px; | ||
+ | width: 175px; | ||
+ | height: 175px; | ||
+ | |||
+ | z-index:10; | ||
+ | } | ||
+ | |||
+ | div.project4{position: absolute; | ||
+ | top: 425px; | ||
+ | right: 550px; | ||
+ | width: 175px; | ||
+ | height: 175px; | ||
+ | |||
+ | z-index:10; | ||
+ | } | ||
+ | |||
+ | div.project5{position: absolute; | ||
+ | top: 640px; | ||
+ | right: 575px; | ||
+ | width: 175px; | ||
+ | height: 175px; | ||
+ | |||
+ | z-index:10; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | div.policy{position: absolute; | ||
+ | top: 340px; | ||
+ | right: 715px; | ||
+ | width: 300px; | ||
+ | height: 300px; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | div.industry{position: absolute; | ||
+ | top: 340px; | ||
+ | right: 190px; | ||
+ | width: 300px; | ||
+ | height: 300px; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | div.fox1{position: absolute; | ||
+ | top: 150px; | ||
+ | right: -10px; | ||
+ | width: 400px; | ||
+ | height: 100px; | ||
+ | |||
+ | } | ||
+ | |||
+ | div.fox2{position: absolute; | ||
+ | top: 280px; | ||
+ | right: 790px; | ||
+ | width: 300px; | ||
+ | height: 100px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | div.fox3{position: absolute; | ||
+ | top: 655px; | ||
+ | right: 700px; | ||
+ | width: 300px; | ||
+ | height: 100px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | div.fox4{position: absolute; | ||
+ | top: 470px; | ||
+ | right: 220px; | ||
+ | width: 300px; | ||
+ | height: 100px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | div.fox5{position: absolute; | ||
+ | top: 90px; | ||
+ | right: 550px; | ||
+ | width: 300px; | ||
+ | height: 100px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .fox{ | ||
+ | font-family:Aleo; | ||
+ | font-size:20px; | ||
+ | font-weight:100; | ||
+ | text-align:left; | ||
+ | color:#235c81; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .3col{column-count:3;} | ||
+ | |||
+ | #vgemcollaboration { | ||
+ | background-image:url('https://static.igem.org/mediawiki/2016/d/de/T--Virginia--collabopen.png'); | ||
+ | background-size:180px 220px; /*Adjust background-size and the width and height properties here if you wish to resize the icon*/ | ||
+ | width:180px; | ||
+ | height:220px; | ||
+ | z-index:20; | ||
+ | padding:1px | ||
+ | background-color:#ffffff; | ||
+ | margin-top:2px; | ||
+ | margin-left:2px; | ||
+ | margin-bottom:2px; | ||
+ | top:200px; | ||
+ | } | ||
+ | |||
+ | #vgemcollaboration:hover{ | ||
+ | background-image:url('https://static.igem.org/mediawiki/2016/a/a5/T--Virginia--collabclosed.png'); | ||
+ | } | ||
+ | |||
+ | #vgemcollaboration a{ | ||
+ | display:inline-block; | ||
+ | width:100%; | ||
+ | height:100%; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | </style> | ||
+ | </head> | ||
Revision as of 19:30, 3 July 2017
/********************************* HTML STYLING *********************************/ /* styling for the titles h1 h2 */ .igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 { padding:5px 15px; border-bottom: 0px; color: #25283D; } /* styling for the titles h3 h4 h5 h6*/ .igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 { padding:5px 15px; border-bottom:0px; font-family:Helvetica, Geneva, sans-serif; color: #25283D; } /* font and text */ .igem_2017_content_wrapper p { padding: 0px 15px; font-size: 15px; font-family:Helvetica, Geneva, sans-serif; color: #25283D; } /* Links */ .igem_2017_content_wrapper a, a:visited { font-weight: bold; font-size: 15px; color: #A31621; text-decoration: none; -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; } /* hover for the links */ .igem_2017_content_wrapper a:hover { text-decoration: none; color: #d66d75; } /* non numbered lists */ .igem_2017_content_wrapper ul { padding: 0px 20px; font-size: 15px; /*font-family: Verdana, Arial, Helvetica, sans-serif;*/ /*font-family: Courier, "Lucida Console", monospace; */ font-family:Tahoma, Geneva, sans-serif; color: #25283D; } /* numbered lists */ .igem_2017_content_wrapper ol { padding:0px; font-size: 15px; /*font-family: Verdana, Arial, Helvetica, sans-serif;*/ /*font-family: Courier, "Lucida Console", monospace;*/ font-family:Tahoma, Geneva, sans-serif; color: #25283D; } /* Table */ .igem_2017_content_wrapper table { width: 97%; margin:15px 10px; border: 1px solid #1F7A8C; border-collapse: collapse; } /* table cells */ .igem_2017_content_wrapper td { padding: 10px; vertical-align: text-top; border: 1px solid #1F7A8C; border-collapse: collapse; } /* table headers */ .igem_2017_content_wrapper th { padding: 10px; vertical-align: text-top; border: 1px solid #1F7A8C; border-collapse: collapse; background-color:#A31621; } /**********************************LAYOUT CLASSES **********************************/ /* general class for column divs */ .igem_2017_content_wrapper .column { padding: 10px 0px; float:left; } /* class for a full width column */ .column .full_size { width:100%; } /* styling for images in a full width column*/ .column.full_size img { width:97%; padding: 10px 15px; } /* class for a half width column */ .column.half_size { width: 50%; } /* styling for images in a half width column*/ .column.half_size img { width: 94.5%; padding: 10px 15px; } /********************************* SUPPORT CLASSES ********************************/ /* class that clears content below*/ .igem_2017_content_wrapper .clear { clear:both; } /* adds extra spacing when clearing content */ .igem_2017_content_wrapper .clear.extra_space { height: 30px; } /* highlight class, makes content slightly smaller */ .igem_2017_content_wrapper .highlight { margin: 0px 15px; padding: 15px 0px; } /* highlight class, adds a gray background */ .igem_2017_content_wrapper .highlight.gray { background-color: #f2f2f2; } /* highlight with decoration blue line on top */ .igem_2017_content_wrapper .highlight.blue_top { border-top: 4px solid #3399ff; } /* highlight with a full blue border decoration */ .igem_2017_content_wrapper .highlight.blue_border { border: 4px solid #3399ff; } /* button class */ .igem_2017_content_wrapper .button{ max-width: 35%; margin: 30px auto; padding: 12px 10px; background-color: #A31621; border: 2px solid black; border-radius: 20px; text-align: center; color: #ffffff; -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; } /* styling for button on hover */ .igem_2017_content_wrapper .button:hover{ background-color: #d66d75; color: white; } /***************************************************** RESPONSIVE STYLING ****************************************************/ /* IF THE SCREEN IS LESS THAN 1200PX */ @media only screen and (max-width: 1200px) { #content {width:100%; } .igem_2017_menu_wrapper {width:15%; right:0;} .highlight {padding:10px 0px;} .igem_2017_menu_wrapper #display_menu_control { display:none; } #menu_content { display:block;} .menu_button.direct_to_page {padding-left: 17px;} } /* IF THE SCREEN IS LESS THAN 800PX */ @media only screen and (max-width: 800px) { .igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;} .igem_2017_content_wrapper {width:100%; margin-left:0px;} .column.half_size {width:100%; } .column.full_size img, .column.half_size img { width: 100%; padding: 10px 0px;} .highlight {padding:15px 5px;} .igem_2017_menu_wrapper #display_menu_control { display:block; } #menu_content { display:none;} .igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; } .menu_bottom_padding {display:none;} .menu_button.direct_to_page { padding-left: 36px; } } /* special class that the system uses to make sure the team wants a page to be evaluated */ .judges-will-not-evaluate { width: 96.6%; margin: 5px 15px; display: block; border: 4px solid #BFD7EA; font-weight: bold; }