Template:Team:BostonU/CSS

From 2014.igem.org

(Difference between revisions)
 
(176 intermediate revisions not shown)
Line 3: Line 3:
<style type="text/css">
<style type="text/css">
 +
#contentSub, #contentcontainer, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .h3, .printfooter, .firstHeading, .visualClear {display: none;} /*-- hides default wiki settings --*/
 +
 +
.topWikiNavBackground {
 +
    height:18px;
 +
    margin-top: -32px;
 +
    background-color:transparent;
 +
}
 +
 +
 +
#globalWrapper, #content { /*-- changes default wiki settings --*/
 +
width: 100%;
 +
height: 100%;
 +
border: 0px;
 +
background-color: transparent;
 +
margin: 0px;
 +
padding: 0px;
 +
}
 +
 +
html, body, .wrapper { /*-- changes default wiki settings --*/
 +
width: 100%;
 +
height: 100%;
 +
background-color: transparent;
 +
}
 +
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
 +
border: 0 none;
 +
height: 14px;
 +
z-index: 100;
 +
top: 0;
 +
position: fixed;
 +
width: 975px;
 +
left: 50%;
 +
margin-left: -487px;
 +
        background-color: transparent;
 +
}
 +
 +
#top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/
 +
        background-color:transparent;
 +
        height: 14px;
 +
display: block;
 +
z-index: 10;
 +
position: fixed;
 +
width:100%;
 +
top: 0;
 +
}
 +
 +
#menubar a:link, #menubar a:visited  { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
 +
        color:#FFF;
 +
text-decoration: none;
 +
background-color: transparent;
 +
}
 +
 +
#menubar a:active, #menubar a:hover
 +
{
 +
        color:#FFF;
 +
text-decoration: underline;
 +
        background-color:transparent;
 +
}
* {
* {
margin: 0;
margin: 0;
Line 28: Line 85:
a:link {
a:link {
color: #F79042;
color: #F79042;
 +
        font-weight=500;
text-decoration: none;
text-decoration: none;
}
}
a:visited {
a:visited {
text-decoration: none;
text-decoration: none;
 +
        font-weight=500;
color: #F79042;
color: #F79042;
}
}
Line 44: Line 103:
position:absolute;
position:absolute;
top:38px;
top:38px;
-
left:56px;
+
left:83px;
z-index:2;
z-index:2;
}
}
Line 58: Line 117:
font-size:40px;
font-size:40px;
font-weight:700;
font-weight:700;
 +
        text-decoration:none;
}
}
-
h1{
+
header1{
font-size:28px;
font-size:28px;
font-weight:700;
font-weight:700;
text-transform:uppercase;
text-transform:uppercase;
 +
        text-decoration:none;
}
}
-
h2{
+
header2{
font-size:18px;
font-size:18px;
color:#FFF;
color:#FFF;
Line 72: Line 133:
text-transform:uppercase;
text-transform:uppercase;
text-align:left;
text-align:left;
 +
        text-decoration:none;
}
}
-
h3{
+
 
-
font-size:20px;
+
header2black{
-
color:#000;
+
font-size:18px;
 +
color:#000000;
font-weight:700;
font-weight:700;
 +
text-transform:uppercase;
text-align:left;
text-align:left;
 +
        text-decoration:none;
}
}
-
main{
+
header3{
 +
font-size:20px;
 +
color:#353535;
 +
font-weight:550;
 +
        text-decoration:none;
 +
}
 +
 
 +
h3{
 +
font-size:20px;
 +
color:#353535;
 +
font-weight:550;
 +
        text-decoration:none;
 +
}
 +
 
 +
maincontent{
 +
font-weight:100;
font-size:14px;
font-size:14px;
-
font-weight:200;
 
text-align:justify;
text-align:justify;
 +
}
 +
 +
capt{
 +
font-size:12px;
 +
        color:#5E5F5F;
 +
font-weight:300;
 +
text-align:justify;
 +
        line-height:110%
}
}
Line 142: Line 229:
color: #FFF;
color: #FFF;
background-color:none;
background-color:none;
-
margin: 0 50px 0 0;
+
margin: 0 15px 0 0;
float: left;
float: left;
position: relative;
position: relative;
Line 153: Line 240:
#nav a {
#nav a {
font-family:bree-web, Bree, sans-serif;
font-family:bree-web, Bree, sans-serif;
-
font-size:12pt;
+
font-size:10pt;
-
font-weight:700;
+
font-weight:600;
line-height:210%;
line-height:210%;
color: inherit;
color: inherit;
Line 164: Line 251:
ul#nav > li > a {
ul#nav > li > a {
-
line-height:12px;
+
line-height:10px;
border-left:solid 3px #bbb;
border-left:solid 3px #bbb;
padding:0 0 0 15px;
padding:0 0 0 15px;
Line 173: Line 260:
color: #ffffff;*/
color: #ffffff;*/
}
}
 +
/* main level link hover */
/* main level link hover */
Line 181: Line 269:
/* sub levels link hover */
/* sub levels link hover */
-
#nav ul li:hover a, #nav li:hover li a {
+
#nav ul li:hover a , #nav li:hover li a{
border: none;
border: none;
background-image:url(https://static.igem.org/mediawiki/2014/3/3a/Orangemenubkgd_bu14.png);
background-image:url(https://static.igem.org/mediawiki/2014/3/3a/Orangemenubkgd_bu14.png);
Line 187: Line 275:
color:#FFF;
color:#FFF;
}
}
-
 
#nav ul a:hover {
#nav ul a:hover {
color: #353535 !important;
color: #353535 !important;
-
/*background: #fff url(https://static.igem.org/mediawiki/2014/d/d7/Gradient_bu14.png) repeat-x 0 -100px !important;
+
/*background: #fff url() repeat-x 0 -100px !important;
text-shadow: 0 1px 1px rgba(0,0,0, .1);*/
text-shadow: 0 1px 1px rgba(0,0,0, .1);*/
}
}
Line 197: Line 284:
/* dropdown */
/* dropdown */
#nav li:hover > ul {
#nav li:hover > ul {
-
/*display: block;*/
+
display: block;
opacity:1;
opacity:1;
margin:0;
margin:0;
Line 203: Line 290:
z-index:0;
z-index:0;
}
}
 +
/* level 2 list */
/* level 2 list */
#nav ul {
#nav ul {
-
/*display: none;*/
+
display: none;
opacity:0;
opacity:0;
margin: 20px 0 0 0;
margin: 20px 0 0 0;
Line 252: Line 340:
.headerdivider{
.headerdivider{
 +
        background-image:url(https://static.igem.org/mediawiki/2014/1/15/Headerdivider_bu14.png);
position:absolute;
position:absolute;
top:120px;
top:120px;
height:15px;
height:15px;
width:100%;
width:100%;
-
background-image:url(https://static.igem.org/mediawiki/2014/1/15/Headerdivider_bu14.png);
 
z-index:10;
z-index:10;
}
}
.plasmid{
.plasmid{
 +
        background-color:transparent;
position: relative;
position: relative;
background-repeat:no-repeat;
background-repeat:no-repeat;
Line 267: Line 356:
width:400px;
width:400px;
height:500px;
height:500px;
-
top:110px;
+
        top: calc(50% - 300px);
z-index:10;
z-index:10;
}
}
.banner {
.banner {
-
position: absolute;
+
        background-image:url(https://static.igem.org/mediawiki/2014/0/03/Boston1_bu14.jpg);
 +
        background-size:cover;
 +
position: absolute;
top:100px;
top:100px;
width: 100%;
width: 100%;
height:100%;
height:100%;
overflow: auto;
overflow: auto;
-
 
font-size: 18px;
font-size: 18px;
text-align: center;
text-align: center;
color: rgba(255,255,255,.6);
color: rgba(255,255,255,.6);
text-shadow: 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.3);
text-shadow: 0 0 1px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.3);
-
background: #5b4d3d;
+
 
box-shadow: 0 1px 2px rgba(0,0,0,.25);
box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
}
-
.banner ul {
+
-
list-style: none;
+
-
width: 100%;
+
-
}
+
-
.banner ul li {
+
-
display: block;
+
-
float: left;
+
-
background-size:cover;
+
-
min-height:700px;
+
-
box-shadow: inset 0 -3px 6px rgba(0,0,0,.1);
+
-
}
+
-
 
+
-
.banner .inner {
+
-
padding: 160px 0 110px;
+
-
}
+
-
 
+
-
.banner h1, .banner h2 {
+
-
font-size: 40px;
+
-
line-height: 52px;
+
-
color: #fff;
+
-
}
+
-
 
+
-
.banner .btn {
+
-
display: inline-block;
+
-
margin: 25px 0 0;
+
-
padding: 9px 22px 7px;
+
-
clear: both;
+
-
 
+
-
color: #fff;
+
-
font-size: 12px;
+
-
font-weight: bold;
+
-
text-transform: uppercase;
+
-
text-decoration: none;
+
-
 
+
-
border: 2px solid rgba(255,255,255,.4);
+
-
border-radius: 5px;
+
-
}
+
-
.banner .btn:hover {
+
-
background: rgba(255,255,255,.05);
+
-
}
+
-
.banner .btn:active {
+
-
-webkit-filter: drop-shadow(0 -1px 2px rgba(0,0,0,.5));
+
-
-moz-filter: drop-shadow(0 -1px 2px rgba(0,0,0,.5));
+
-
-ms-filter: drop-shadow(0 -1px 2px rgba(0,0,0,.5));
+
-
-o-filter: drop-shadow(0 -1px 2px rgba(0,0,0,.5));
+
-
filter: drop-shadow(0 -1px 2px rgba(0,0,0,.5));
+
-
}
+
-
 
+
-
.banner .btn, .banner .dot {
+
-
-webkit-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
+
-
-moz-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
+
-
-ms-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
+
-
-o-filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
+
-
filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
+
-
}
+
-
 
+
-
.banner .dots {
+
-
position: absolute;
+
-
left: 0;
+
-
right: 0;
+
-
bottom: 20px;
+
-
}
+
-
.banner .dots li {
+
-
display: inline-block;
+
-
width: 10px;
+
-
height: 10px;
+
-
margin: 0 4px;
+
-
 
+
-
text-indent: -999em;
+
-
 
+
-
border: 2px solid #fff;
+
-
border-radius: 6px;
+
-
 
+
-
cursor: pointer;
+
-
opacity: .4;
+
-
 
+
-
-webkit-transition: background .5s, opacity .5s;
+
-
-moz-transition: background .5s, opacity .5s;
+
-
transition: background .5s, opacity .5s;
+
-
}
+
-
.banner .dots li.active {
+
-
background: #fff;
+
-
opacity: 1;
+
-
}
+
-
 
+
-
.banner .arrows {
+
-
position: absolute;
+
-
bottom: 20px;
+
-
right: 20px;
+
-
color: #fff;
+
-
}
+
-
.banner .arrow {
+
-
display: inline;
+
-
padding-left: 10px;
+
-
cursor: pointer;
+
-
}
+
-
 
+
.wrap {
.wrap {
margin: 0 auto;
margin: 0 auto;
Line 424: Line 418:
background-image:url(../img_bu14/whitebkgd_bu14.png);
background-image:url(../img_bu14/whitebkgd_bu14.png);
background-repeat:repeat;
background-repeat:repeat;
-
}
 
-
.content2{
 
-
background-image:url(../img_bu14/orangemenubkgd_bu14.png);
 
-
background-repeat:repeat;
 
-
}
 
-
.content3{
 
-
background-image:url(../img_bu14/bluebkgd_bu14.png);
 
-
background-repeat:repeat;
 
-
}
 
-
.pagecontent{
 
-
position:relative;
 
-
left:50px;
 
-
top:130px;
 
-
width:80%;
 
-
text-align:left;
 
-
}
 
-
 
-
pageheader{
 
-
font-size:28px;
 
-
font-weight:700;
 
-
text-transform:uppercase;
 
-
}
 
.sponsors{
.sponsors{
Line 465: Line 437:
}
}
-
.banner h1, .banner h2 {
+
.banner header1, .banner header2 {
font-size: 24px;
font-size: 24px;
line-height: 30px;
line-height: 30px;
Line 504: Line 476:
}
}
}
}
 +
</style>
</style>
</html>
</html>

Latest revision as of 01:10, 18 October 2014