Template:CSS/Team:Glasgow/Draft1
From 2014.igem.org
(Difference between revisions)
RobbieEvans (Talk | contribs) |
Lowlight42 (Talk | contribs) |
||
(169 intermediate revisions not shown) | |||
Line 65: | Line 65: | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
.menuitems {border-right: 2px solid black; | .menuitems {border-right: 2px solid black; | ||
Line 75: | Line 71: | ||
background-color:transparent;} | background-color:transparent;} | ||
- | |||
- | |||
- | |||
- | |||
.menulinks:link {text-decoration:none; | .menulinks:link {text-decoration:none; | ||
Line 100: | Line 92: | ||
- | body {background:url("https://static.igem.org/mediawiki/2014/thumb/ | + | body {background:url("https://static.igem.org/mediawiki/2014/thumb/4/4e/GU_gradientbackground.png/800px-GU_gradientbackground.png") no-repeat center center fixed; |
-webkit-background-size: cover; | -webkit-background-size: cover; | ||
-moz-background-size: cover; | -moz-background-size: cover; | ||
Line 107: | Line 99: | ||
} | } | ||
- | #maincontent {background: | + | #maincontent {background:#F5FFFA; |
- | + | border: 3px solid #000000; | |
- | + | ||
+ | |||
position:relative; | position:relative; | ||
- | top: | + | top:30px; |
- | width: | + | width:75%; |
margin-left:auto; | margin-left:auto; | ||
margin-right:auto; | margin-right:auto; | ||
Line 177: | Line 170: | ||
background-color:#000000 | background-color:#000000 | ||
- | background-image: -webkit-linear-gradient(# | + | background-image: -webkit-linear-gradient(#CC0033,#990099); |
- | background-image: -moz-linear-gradient(# | + | background-image: -moz-linear-gradient(#CC0033,#990099); |
- | background-image: -ms-linear-gradient(# | + | background-image: -ms-linear-gradient(#CC0033,#990099); |
- | background-image: -o-linear-gradient(# | + | background-image: -o-linear-gradient(#CC0033,#990099); |
- | background-image: linear-gradient(# | + | background-image: linear-gradient(#CC0033,#990099); |
- | background-image: linear-gradient(# | + | background-image: linear-gradient(#CC0033, #990099 140%); |
border-top: 3px solid #000037; | border-top: 3px solid #000037; | ||
box-shadow: 0 4px 4px #000000; | box-shadow: 0 4px 4px #000000; | ||
Line 203: | Line 196: | ||
margin-right:auto; | margin-right:auto; | ||
position:absolute; | position:absolute; | ||
- | top: | + | top:220px; |
left:12%; <!-- Positioning of Menubar --> | left:12%; <!-- Positioning of Menubar --> | ||
background-color:transparent; | background-color:transparent; | ||
Line 216: | Line 209: | ||
padding:0px; | padding:0px; | ||
background-color:transparent; | background-color:transparent; | ||
+ | |||
} | } | ||
Line 229: | Line 223: | ||
#menu ul {position:absolute; | #menu ul {position:absolute; | ||
max-height:0em; <!-- Needs to be here for some reason!? (To make dds hidden) --> | max-height:0em; <!-- Needs to be here for some reason!? (To make dds hidden) --> | ||
- | left: | + | position:absolute; |
+ | left:-25px; | ||
top: 0em; | top: 0em; | ||
top: 43px; <!-- positioning of dd list/box, from top of menu li --> | top: 43px; <!-- positioning of dd list/box, from top of menu li --> | ||
Line 237: | Line 232: | ||
transition: 0.5s max-height 0.3s; | transition: 0.5s max-height 0.3s; | ||
background-color:transparent; | background-color:transparent; | ||
- | background-image: linear-gradient(rgba(50, 50, 150, 0. | + | background-image: linear-gradient(rgba(50, 50, 150, 0.75), rgba(50, 50, 150, 0.75)); <!--Darkish blue --> |
test-align:center;<!-- Maybe remove previous positioning for this --> | test-align:center;<!-- Maybe remove previous positioning for this --> | ||
font-size:0; | font-size:0; | ||
+ | |||
} | } | ||
Line 264: | Line 260: | ||
#menu > li li { | #menu > li li { | ||
- | width: | + | width: 100px; |
padding: 3% 0; <!-- Padding of dd list: top sides --> | padding: 3% 0; <!-- Padding of dd list: top sides --> | ||
+ | <!--position used earlier on dark blue backdrop --> | ||
} | } | ||
+ | |||
#menu a { | #menu a { | ||
display:inline-block; | display:inline-block; | ||
margin: auto; | margin: auto; | ||
- | color: # | + | color: #FFFFFF; <!-- Font colour of menubar --> |
text-decoration:none; | text-decoration:none; | ||
width: 100%; | width: 100%; | ||
Line 280: | Line 278: | ||
display: block; | display: block; | ||
margin: auto; | margin: auto; | ||
- | width: | + | width: 80%; |
} | } | ||
#menu > li li { background: transparent none; } | #menu > li li { background: transparent none; } | ||
- | #menu > li li a { color: # | + | #menu > li li a { color: #FFFFFF; } <!-- Colour of text in dropdown box --> |
- | #menu > li li:hover a { color: # | + | #menu > li li:hover a { color: #FFFFFF; <!-- Colour of text in dropdown box hover--> |
} | } | ||
Line 319: | Line 317: | ||
#menu > li:hover ul { | #menu > li:hover ul { | ||
max-height:20em; <!-- max length of color box --> | max-height:20em; <!-- max length of color box --> | ||
- | } | + | } |
+ | |||
+ | |||
+ | .ddli{font-size:90%;} | ||
+ | |||
+ | #ddmenu{display:block; | ||
+ | margin-right:auto; | ||
+ | margin-left:auto; | ||
+ | } | ||
+ | |||
/******** End of Dropdown *********/ | /******** End of Dropdown *********/ | ||
+ | /******** Header Styling *********/ | ||
+ | |||
+ | .pageheading {text-align:center; | ||
+ | |||
+ | font-family:"Calibri"; | ||
+ | color:#000066; | ||
+ | font-size:180%; | ||
+ | font-weight:bold;} | ||
+ | |||
+ | .subheading {text-align:left; | ||
+ | text-decoration:none; | ||
+ | font-family:"Calibri"; | ||
+ | color:#0000CC;} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | #sponsorsbar {display:block; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | margin-bottom:0; | ||
+ | width:86%; | ||
+ | height:150px; | ||
+ | } | ||
+ | |||
+ | #minibar.center {margin-right:auto; | ||
+ | margin-left:auto;} | ||
+ | |||
+ | #minibar {background:none; | ||
+ | font-size:20px; | ||
+ | text-align:center; | ||
+ | color:#000000; | ||
+ | width:20%;} | ||
+ | |||
+ | .minibarcell {padding-right:2px; | ||
+ | padding-left:2px;} | ||
+ | |||
+ | .minibarlink:link {text-decoration:none; | ||
+ | color:#000000;} | ||
+ | .minibarlink:visited {text-decoration:none; | ||
+ | color:#000033;} | ||
+ | .minibarlink:hover {text-decoration:none; | ||
+ | color:#3300CC;} | ||
+ | .minibarlink:active {text-decoration:none;} | ||
+ | |||
+ | .bordercell {border-right: 2px solid black;} | ||
+ | |||
+ | ul {list-style-type:circle;} | ||
+ | |||
+ | p {font-family:"Calibri","Arial"; | ||
+ | font-size:110%; | ||
+ | |||
+ | } | ||
+ | |||
+ | h2 {font-family:"Calibri","Arial";} | ||
+ | |||
+ | ul {font-family:"Calibri","Arial"; | ||
+ | font-size:110%} | ||
+ | |||
+ | ol {font-family:"Calibri","Arial"; | ||
+ | font-size:110%;} | ||
+ | |||
+ | |||
+ | .figuretext {text-align:center; | ||
+ | font-style:italic; | ||
+ | font-size:small;} | ||
+ | |||
+ | .editlink {color:#CCFFCC; | ||
+ | font-size:small; | ||
+ | text-align:left;} | ||
+ | |||
+ | |||
+ | #header_pics {width:1250px; | ||
+ | max-width:100%; | ||
+ | display:block; | ||
+ | margin-right:auto; | ||
+ | margin-left:auto; | ||
+ | height:70px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #headertable {background-color:transparent; | ||
+ | |||
+ | max-width:100%; | ||
+ | display:block; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | height:70px;} | ||
+ | |||
+ | #logos {padding-top:5px; | ||
+ | padding-right:20px; | ||
+ | padding-bottom:5px;} | ||
+ | |||
+ | #GUlogo {width:260px; | ||
+ | display:block; | ||
+ | margin-right:auto; | ||
+ | margin-left:auto; | ||
+ | margin-bottom:20px; | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | #PowerofEcoli{ | ||
+ | width:820px; | ||
+ | } | ||
+ | |||
+ | |||
+ | .rightlinks {position:absolute; | ||
+ | left:80%; | ||
+ | top:80px; | ||
+ | } | ||
+ | |||
+ | #igemlogo {width:100px; | ||
+ | display:block; | ||
+ | margin-right:auto; | ||
+ | margin-left:auto; | ||
+ | |||
+ | } | ||
+ | |||
+ | #twitlink { | ||
+ | } | ||
+ | |||
+ | #fblink { | ||
+ | |||
+ | } | ||
+ | .sociallink {width:25px; | ||
+ | margin-top:60px; | ||
+ | } | ||
- | |||
</style></head> | </style></head> | ||
<body> | <body> | ||
+ | <div id="header_pics"> | ||
+ | <table id="headertable"> | ||
+ | <tr> | ||
+ | <td class="logos"><img id="PowerofEcoli" src="https://static.igem.org/mediawiki/2014/f/f3/GU_thepowerofecoli.png"/></td> | ||
+ | <td class="logos"><a href="http://www.gla.ac.uk/" target="_window" id="glasgowlogo"><img id="GUlogo" src="https://static.igem.org/mediawiki/2014/thumb/d/dd/GU_Glasgow_igem_white.png/800px-GU_Glasgow_igem_white.png"/></a></td> | ||
+ | <td class="logos"><a href="https://2014.igem.org/Main_Page" target="_blank" > <img id="igemlogo" src="https://static.igem.org/mediawiki/2014/thumb/f/f8/GU_Igem_logo_white.png/784px-GU_Igem_logo_white.png"/></a></td> | ||
+ | <td><a href="http://twitter.com/GlasgowiGEM2014" target="_blank" id="twitlink"> <img class="sociallink" src="https://static.igem.org/mediawiki/igem.org/3/3d/Twitterlogo.png"></a></td> | ||
+ | <td><a href="http://www.facebook.com/Glasgowigem2014" target="_blank" id="fblink" style=" padding-bottom: =0px;"> | ||
+ | <img class="sociallink" src="https://static.igem.org/mediawiki/igem.org/6/63/Fblogo.png"> | ||
+ | </a></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | |||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
<!-- menubar (left) | <!-- menubar (left) | ||
Line 352: | Line 505: | ||
- | <div | + | <div id="BelowHeader"> |
- | + | ||
+ | |||
+ | <div id="ddmenu"> | ||
<ul id="menu"> | <ul id="menu"> | ||
<li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow" class="menulinks"> <br> Home <br> </a> </li><!-- | <li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow" class="menulinks"> <br> Home <br> </a> </li><!-- | ||
- | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Team" class="menulinks"> <br> Team </a> </li><!-- | + | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Team" class="menulinks"> <br> Team </a> |
- | --><li class="menuitems"><a href="https://igem.org/Team.cgi?year=2014&team_name=Glasgow" class="menulinks"> Team <br> Profile </a></li><!-- | + | |
- | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Project" class="menulinks"> <br> Project</a></li><!-- | + | <ul class="ddli"> |
+ | <li><a href="https://2014.igem.org/Team:Glasgow/Team#Students">Students</a></li> | ||
+ | <li><a href="https://2014.igem.org/Team:Glasgow/Team#Supervisors">Supervisors</a></li> | ||
+ | <li><a href="https://2014.igem.org/Team:Glasgow/Team#Superhero">Superhero</a></li> | ||
+ | |||
+ | </ul> | ||
+ | |||
+ | </li><!-- | ||
+ | --><li class="menuitems"><a href="https://igem.org/Team.cgi?year=2014&team_name=Glasgow" target="_blank" class="menulinks"> Team <br> Profile </a></li><!-- | ||
+ | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Project" class="menulinks"> <br> Project</a> | ||
+ | |||
+ | <ul class="ddli"> | ||
+ | <li><a href="https://2014.igem.org/wiki/index.php?title=Team:Glasgow/Project/Switch">The Switch</a></li> | ||
+ | <li><a href="https://2014.igem.org/wiki/index.php?title=Team:Glasgow/Project/Measurements/Gas_Vesicles">The Gas Vesicle Proteins</a></li> | ||
+ | <li><a href="https://2014.igem.org/wiki/index.php?title=Team:Glasgow/Project/Mobility_Proteins">The Motility Proteins</a></li> | ||
+ | <li><a href="https://2014.igem.org/Team:Glasgow/Modeling_Intro">Dry Lab Modelling</a></li> | ||
+ | <li><a href="https://2014.igem.org/wiki/index.php?title=Team:Glasgow/Project/Measurements">Measurements</a></li> | ||
+ | </ul> | ||
+ | |||
+ | |||
+ | </li><!-- | ||
--><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Parts" class="menulinks"> <br> BioBricks</a></li><!-- | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Parts" class="menulinks"> <br> BioBricks</a></li><!-- | ||
- | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/ | + | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Modeling_Intro" class="menulinks"> <br> Modelling</a> |
+ | |||
+ | <ul class="ddli"> | ||
+ | <li><a href="https://2014.igem.org/wiki/index.php?title=Team:Glasgow/Modeling">Random Walk</a></li> | ||
+ | <li><a href="https://2014.igem.org/Team:Glasgow/Modeling_Part2_align%3D">Bacteria and Buoyancy</a></li> | ||
+ | |||
+ | </ul> | ||
+ | |||
+ | |||
+ | |||
+ | </li><!-- | ||
- | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/ | + | --><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Notebook" class="menulinks"><br>Notebook</a> |
- | <ul | + | <ul class="ddli"> |
- | + | <li><a href="https://2014.igem.org/Team:Glasgow/Weekly_Report">Weekly Report</a></li> | |
- | <li><a href=""> | + | <li><a href="https://2014.igem.org/Team:Glasgow/Notebook/Protocols">Protocols</a></li> |
- | <li><a href=""> | + | |
</ul> | </ul> | ||
Line 375: | Line 559: | ||
</li><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Safety" class="menulinks"> <br> Safety </a> | </li><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Safety" class="menulinks"> <br> Safety </a> | ||
- | </li><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Human_Practices" class="menulinks"> | + | </li><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Human_Practices" class="menulinks">Policy and Practice</a> |
- | </li><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Attributions" class="menulinks"> <br> | + | |
+ | <ul class="ddli"> | ||
+ | <li><a href="https://2014.igem.org/Team:Glasgow/Human_Practices#Biodesalination" style="font-size:88%;">Biodesalination</a></li> | ||
+ | <li><a href="https://2014.igem.org/Team:Glasgow/Human_Practices#outreach">Outreach</a></li> | ||
+ | <li><a href="https://2014.igem.org/wiki/index.php?title=Team:Glasgow/Wilkins">Artwork - Wilkins</a></li> | ||
+ | |||
+ | </ul> | ||
+ | |||
+ | |||
+ | </li><li class="menuitems"><a href="https://2014.igem.org/Team:Glasgow/Attributions" class="menulinks"> <br> Attributions </a></li> | ||
</ul> | </ul> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
- | |||
</div> | </div> | ||
- | < | + | <br><br><br><br><br><br> <!-- Breaks to get main content down to correct position --> |
+ | |||
+ | |||
Line 395: | Line 596: | ||
<br> | <br> | ||
+ | |||
+ | |||
+ | |||
Latest revision as of 01:43, 18 October 2014