Template:Team:TU-Munich/TUM13 Style
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | <head> | ||
+ | <link href="https://2013.igem.org/Team:TU-Munich/normalize.css?action=raw&ctype=text/css" type="text/css" rel="stylesheet"> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | /* | + | /* iGEM TU-Munich Stylesheet by Florian Albrecht |
+ | if you want to use parts of this on your wiki, cite us and / or write an e-mail to us */ | ||
- | /* | + | /* Reset the wiki style by overriding with a reset stylesheet (based on normalize.css v1.1.2) |
+ | the relevant wiki css rules are reset by using rules with higher priority */ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | body { | + | /* Start general reset ================================================== */ |
- | + | ||
- | color: | + | html body { |
- | + | font-size: inherit; | |
+ | font-family: inherit; | ||
+ | background-color: transparent; | ||
+ | color: inherit; | ||
+ | padding: 0; | ||
} | } | ||
div#globalWrapper { | div#globalWrapper { | ||
- | + | font-size: inherit; | |
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | position: static; | ||
+ | width: auto; | ||
} | } | ||
+ | |||
+ | |||
+ | /* Start top-section reset ============================================== */ | ||
+ | |||
+ | div#top-section { | ||
+ | border: 0; | ||
+ | height: auto; | ||
+ | margin: 0; | ||
+ | position: static; | ||
+ | width: auto; | ||
+ | } | ||
+ | |||
+ | div#p-logo { | ||
+ | height: auto; | ||
+ | position: static; | ||
+ | width: auto; | ||
+ | z-index: auto; | ||
+ | } | ||
+ | |||
+ | div#p-logo a, div#p-logo a:hover { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | div#menubar { | ||
+ | font-family: inherit; | ||
+ | font-size: inherit; | ||
+ | line-height: inherit; | ||
+ | position: static; | ||
+ | top: 0px; | ||
+ | white-space: normal; | ||
+ | width: auto; | ||
+ | z-index: auto; | ||
+ | } | ||
+ | |||
+ | div.left-menu, div.left-menu a { | ||
+ | color: inherit; | ||
+ | left: 0; | ||
+ | text-align: left; | ||
+ | text-transform: none; | ||
+ | } | ||
+ | |||
+ | div#menubar ul { | ||
+ | color: inherit; | ||
+ | list-style: disc outside none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | div#menubar li { | ||
+ | cursor: auto; | ||
+ | display: list-item; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | position: static; | ||
+ | } | ||
+ | |||
+ | div.left-menu li a { | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | div.left-menu:hover { | ||
+ | color: inherit; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | div.left-menu:hover a { | ||
+ | color: inherit; | ||
+ | } | ||
+ | |||
+ | div.right-menu, div.right-menu a { | ||
+ | color: inherit; | ||
+ | right: 0; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | div.right-menu li a { | ||
+ | background-color: transparent; | ||
+ | color: inherit; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | div.right-menu li a:hover { | ||
+ | color: inherit; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | div#search-controls { | ||
+ | background-color: transparent; | ||
+ | height: auto; | ||
+ | position: static; | ||
+ | right: 0; | ||
+ | text-align: left; | ||
+ | top: 0; | ||
+ | width: auto; | ||
+ | z-index: auto; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Start content reset ================================================== */ | ||
div#content { | div#content { | ||
- | width: auto | + | background: transparent; |
+ | border: 0; | ||
+ | color: inherit; | ||
+ | line-height: inherit; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | position: static; | ||
+ | width: auto; | ||
+ | z-index: auto; | ||
} | } | ||
- | /* | + | body li { |
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | body h1, body h2, body h3, body h4, body h5, body h6 { | ||
+ | background: transparent; | ||
+ | border: 0; | ||
+ | color: inherit; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | body .firstHeading { | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | div#contentSub { | ||
+ | color: inherit; | ||
+ | font-size: inherit; | ||
+ | line-height: inherit; | ||
+ | margin: 0; | ||
+ | width: auto; | ||
+ | } | ||
+ | |||
+ | div#catlinks { | ||
+ | background-color: transparent; | ||
+ | border: 0; | ||
+ | clear: both; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Start footer reset =================================================== */ | ||
+ | |||
+ | div#footer-box { | ||
+ | background-color: transparent; | ||
+ | border: 0; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | width: auto; | ||
+ | } | ||
+ | |||
+ | div#footer { | ||
+ | color: inherit; | ||
+ | font-size: inherit; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | div#f-poweredbyico, div#f-copyrightico { | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | div#footer li { | ||
+ | margin: 0; | ||
+ | display: list-item; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Start general style ================================================== */ | ||
+ | |||
+ | /* Add Sketch-rockwell for menu and headings (hostet on dropbox.com) */ | ||
+ | @font-face { | ||
+ | font-family: 'sketch_rockwell'; | ||
+ | src: url('https://dl.dropboxusercontent.com/s/c2su1zy22xs6x9k/sketchrockwell-bold-webfont.eot'); | ||
+ | src: url('https://dl.dropboxusercontent.com/s/c2su1zy22xs6x9k/sketchrockwell-bold-webfont.eot?#iefix') format('embedded-opentype'), | ||
+ | url('https://dl.dropboxusercontent.com/s/gnktv67746ccx42/sketchrockwell-bold-webfont.woff') format('woff'), | ||
+ | url('https://dl.dropboxusercontent.com/s/b6g9lp8shab463r/sketchrockwell-bold-webfont.ttf') format('truetype'), | ||
+ | url('https://dl.dropboxusercontent.com/s/cbfupthn2al3xk1/sketchrockwell-bold-webfont.svg#sketch_rockwellregular') format('svg'); | ||
+ | font-weight: normal; | ||
+ | font-style: normal; | ||
+ | } | ||
+ | |||
+ | /* Beige noisy bg and default font */ | ||
+ | html body { | ||
+ | background: #ded6ca url('https://static.igem.org/mediawiki/2013/a/a3/TUM13_paper-bg.png') repeat; | ||
+ | color: #000000; | ||
+ | font-family: Helvetica,Arial,Verdana,sans-serif; | ||
+ | } | ||
+ | |||
+ | /* Upper brown and green bg */ | ||
+ | div#globalWrapper { | ||
+ | background: url('https://static.igem.org/mediawiki/2013/0/0c/TUM13_green-bg.png') repeat-x 50% 0%; | ||
+ | } | ||
+ | |||
+ | /* End general style ==================================================== */ | ||
+ | |||
+ | |||
+ | /* Start top-section style ============================================== */ | ||
+ | /* Remove logo and search */ | ||
div#p-logo, div#search-controls { | div#p-logo, div#search-controls { | ||
- | display: none | + | display: none; |
} | } | ||
+ | /* Center wiki-menu; set font & bg (as fallback) color */ | ||
div#top-section { | div#top-section { | ||
- | margin: 0px auto | + | margin: 0px auto; |
- | width: | + | width: 930px; |
- | height: 20px | + | height: 20px; |
- | color: #d4c6b6 | + | color: #d4c6b6; |
+ | background: #411c03 url('https://static.igem.org/mediawiki/2013/b/b3/TUM13_brown-top-bg.png') repeat-x 50% 0%; | ||
} | } | ||
+ | /* Set font and positions */ | ||
div#menubar { | div#menubar { | ||
- | + | font-weight: bold; | |
- | font-weight: bold | + | font-size: 13px; |
- | font-size: 13px | + | line-height: 20px; |
- | line-height: 20px | + | |
} | } | ||
div#menubar.right-menu { | div#menubar.right-menu { | ||
- | float: right | + | float: right; |
} | } | ||
div#menubar.left-menu { | div#menubar.left-menu { | ||
- | float: left | + | float: left; |
} | } | ||
+ | /* Fix text */ | ||
div#menubar.left-menu a, div#menubar.left-menu li { | div#menubar.left-menu a, div#menubar.left-menu li { | ||
- | text-transform: capitalize | + | text-transform: capitalize; |
} | } | ||
div#menubar li { | div#menubar li { | ||
- | padding: 0px 5px | + | padding: 0px 5px; |
- | display: inline | + | display: inline; |
} | } | ||
+ | /* White on hover */ | ||
div#menubar a:hover { | div#menubar a:hover { | ||
- | color: #FFFFFF | + | color: #FFFFFF; |
+ | text-decoration: none; | ||
} | } | ||
div#menubar li[style="color:white;cursor:default"] { | div#menubar li[style="color:white;cursor:default"] { | ||
- | display: none | + | display: none; |
} | } | ||
- | /* | + | /* End top-section style ================================================ */ |
+ | |||
+ | /* Start header style =================================================== */ | ||
+ | |||
+ | /* Hide page title (it would appear before the header) */ | ||
h1.firstHeading { | h1.firstHeading { | ||
- | display: none | + | display: none; |
} | } | ||
+ | /* Header-bg and positioning */ | ||
div#header-container { | div#header-container { | ||
- | background: url('https://static.igem.org/mediawiki/2013/b/bf/TUM13_page-bg-top.png') no-repeat 50% 0% | + | background: url('https://static.igem.org/mediawiki/2013/b/bf/TUM13_page-bg-top.png') no-repeat 50% 0%; |
- | height: 217px | + | height: 217px; |
- | padding-top: 30px | + | padding-top: 30px; |
} | } | ||
+ | /* Header positioning */ | ||
div#header { | div#header { | ||
- | width: | + | width: 920px; |
- | height: 120px | + | height: 120px; |
- | margin: 0px auto | + | margin: 0px auto; |
- | padding: 10px | + | padding: 10px 20px 5px; |
} | } | ||
+ | /* Logos */ | ||
div#header img#physco-logo { | div#header img#physco-logo { | ||
- | display: block | + | display: block; |
- | height: 120px | + | height: 120px; |
- | float: left | + | float: left; |
} | } | ||
div#header img#igem-logo { | div#header img#igem-logo { | ||
- | display: block | + | display: block; |
- | height: 120px | + | height: 120px; |
- | float: right | + | float: right; |
} | } | ||
- | /* | + | /* End header style ===================================================== */ |
+ | |||
+ | |||
+ | /* Start menu style ===================================================== */ | ||
+ | /* Menu-bg and spacing*/ | ||
div#menu { | div#menu { | ||
- | background: url('https://static.igem.org/mediawiki/2013/a/a8/TUM13_menu-bg.png') no-repeat 50% 0% | + | background: url('https://static.igem.org/mediawiki/2013/a/a8/TUM13_menu-bg.png') no-repeat 50% 0%; |
- | height: 60px | + | height: 60px; |
- | padding: 5px 0px 17px | + | padding: 5px 0px 17px; |
} | } | ||
div#menu ul { | div#menu ul { | ||
- | list-style: none | + | list-style: none; |
+ | padding: 0; | ||
+ | margin: 0; | ||
} | } | ||
+ | /* Position menu and set font color */ | ||
div#menu > ul { | div#menu > ul { | ||
- | margin: 0px auto | + | margin: 0px auto; |
- | width: 959px | + | width: 959px; |
- | height: 60px | + | height: 60px; |
- | color: #411c03 | + | color: #411c03; |
- | padding-left: 1px | + | padding-left: 1px; |
} | } | ||
+ | /* Position menu elements and set font */ | ||
div#menu > ul > li { | div#menu > ul > li { | ||
- | float: left | + | float: left; |
- | width: 137px | + | width: 137px; |
- | height: 44px | + | height: 44px; |
- | padding: 8px 0px 8px | + | padding: 8px 0px 8px; |
- | text-align: center | + | text-align: center; |
- | position: relative | + | position: relative; |
- | font | + | font: normal 24px/44px sketch_rockwell,Arial,sans-serif; |
- | + | ||
- | + | ||
} | } | ||
div#menu > ul > li > a { | div#menu > ul > li > a { | ||
- | display: block | + | display: block; |
- | width: 137px | + | width: 137px; |
- | height: 44px | + | height: 44px; |
+ | color: inherit; | ||
} | } | ||
- | div#menu > ul > li | + | /* Hover effect */ |
- | background: url('https://static.igem.org/mediawiki/2013/ | + | div#menu > ul > li:hover { |
+ | background: url('https://static.igem.org/mediawiki/2013/9/95/TUM13_menu-highlight.png') repeat-x 50% 50%; | ||
} | } | ||
- | div#menu > ul > li > a | + | div#menu > ul > li > a:hover { |
- | + | text-decoration: none; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | /* Style and hide submenu */ | ||
div#menu > ul > li > ul { | div#menu > ul > li > ul { | ||
- | border-left: solid 1px #411c03 | + | border-left: solid 1px #411c03; |
- | border-right: solid 1px #411c03 | + | border-right: solid 1px #411c03; |
- | width: 135px | + | width: 135px; |
- | background: #7cac2c | + | background: #7cac2c; |
- | display: none | + | display: none; |
- | position: absolute | + | position: absolute; |
- | top: 60px | + | top: 60px; |
- | z-index: 11 | + | z-index: 11; |
} | } | ||
+ | /* Style submenu elements */ | ||
div#menu > ul > li > ul > li { | div#menu > ul > li > ul > li { | ||
- | background: url('https://static.igem.org/mediawiki/2013/4/4e/TUM13_submenu-bg.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/4/4e/TUM13_submenu-bg.png') no-repeat 50% 50%; |
- | padding: 0px 10px | + | padding: 0px 10px; |
- | text-align: left | + | text-align: left; |
- | border-bottom: solid 1px #411c03 | + | border-bottom: solid 1px #411c03; |
- | font | + | font: bold 13px/30px Helvetica,Arial,Verdana,sans-serif; |
- | + | ||
- | + | ||
} | } | ||
div#menu > ul > li > ul > li > a { | div#menu > ul > li > ul > li > a { | ||
- | display: block | + | display: block; |
- | width: 115px | + | width: 115px; |
- | height: 30px | + | height: 30px; |
+ | color: inherit; | ||
} | } | ||
+ | /* Hover effect */ | ||
div#menu > ul > li > ul > li:hover { | div#menu > ul > li > ul > li:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/d/db/TUM13_submenu-highlight.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/d/db/TUM13_submenu-highlight.png') no-repeat 50% 50%; |
} | } | ||
+ | div#menu > ul > li > ul > li > a:hover { | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | /* Show submenu on hover */ | ||
div#menu > ul > li:hover > ul { | div#menu > ul > li:hover > ul { | ||
- | display: block | + | display: block; |
} | } | ||
- | /* | + | /* End menu style ======================================================= */ |
- | |||
- | |||
- | |||
- | + | /* Start content style ================================================== */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | table#toc.toc { | + | div#bodyContent > p, div#contentSub, div#catlinks, table#toc.toc { |
- | display: none | + | display: none; |
} | } | ||
- | div# | + | /* Set page-bg */ |
- | background: url('https://static.igem.org/mediawiki/2013/ | + | div#wikicontent-container { |
- | + | background: url('https://static.igem.org/mediawiki/2013/a/ac/TUM13_page-bg-middle.png') repeat-y 50% 0%; | |
} | } | ||
- | div#wikicontent | + | div#wikicontent :first-child { |
- | + | margin-top: 0; | |
} | } | ||
- | div#wikicontent | + | div#wikicontent :last-child { |
- | + | margin-bottom: 0; | |
} | } | ||
- | div#wikicontent | + | /* Font and position */ |
- | font- | + | div#wikicontent { |
+ | font-size: 14px; | ||
+ | line-height: 21px; | ||
+ | background: #e9e3dd; | ||
+ | width: 920px; | ||
+ | margin: 0px auto; | ||
+ | padding: 0px 20px; | ||
+ | text-align: justify; | ||
} | } | ||
- | div# | + | /* Lower page border */ |
- | + | div#bodyContent > div.visualClear { | |
+ | background: url('https://static.igem.org/mediawiki/2013/6/6e/TUM13_page-bg-bottom.png') no-repeat 50% 0%; | ||
+ | height: 50px; | ||
} | } | ||
+ | |||
+ | /* Standard elements */ | ||
div#wikicontent ul { | div#wikicontent ul { | ||
- | padding: | + | padding-left: 2em; |
- | list-style: disc | + | list-style: disc outside; |
} | } | ||
div#wikicontent ol { | div#wikicontent ol { | ||
- | padding: | + | padding-left: 2em; |
- | list-style: decimal | + | list-style: decimal outside; |
} | } | ||
- | div#wikicontent a { | + | div#wikicontent a, div#bodyContent a[href^="https://"], #bodyContent .link-https { |
- | color: #7cac2c | + | color: #7cac2c; |
+ | background: transparent; | ||
} | } | ||
div#wikicontent a:hover { | div#wikicontent a:hover { | ||
- | text-decoration: underline | + | text-decoration: underline; |
} | } | ||
- | + | /* Headings */ | |
- | + | div#wikicontent h1, div#wikicontent h2, div#wikicontent h3, div#wikicontent h4, div#wikicontent h5, div#wikicontent h6 { | |
- | + | font-weight: bold; | |
- | margin | + | line-height: 1.5; |
+ | margin: 1em 0em 0.5em; | ||
+ | clear: both; | ||
} | } | ||
- | + | div#wikicontent .editsection { | |
- | + | color: #7cac2c; | |
- | + | font-family: Helvetica,Arial,Verdana,sans-serif; | |
- | color: # | + | |
- | font- | + | |
- | + | ||
- | + | ||
} | } | ||
- | + | div#wikicontent h1, div#wikicontent h2 { | |
- | + | color: #391903; | |
- | font | + | font: normal 2em/1.35 sketch_rockwell,Arial,sans-serif; |
- | + | border-bottom: 2px solid #391903; | |
- | + | ||
} | } | ||
- | + | div#wikicontent h3 { | |
- | + | font-size: 1.5em; | |
- | + | ||
- | font-size: | + | |
- | + | ||
} | } | ||
- | + | div#wikicontent h4 { | |
- | + | font-size: 1.25em; | |
- | + | ||
- | font-size: | + | |
- | + | ||
} | } | ||
- | + | div#wikicontent h5, div#wikicontent h6 { | |
- | + | font-size: 1.0em; | |
} | } | ||
+ | /* Tables */ | ||
div#groupparts { | div#groupparts { | ||
- | margin: 20px auto | + | margin: 20px auto; |
- | width: 920px | + | width: 920px; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
table, td, th { | table, td, th { | ||
- | border: 1px solid #502204 | + | border: 1px solid #502204; |
- | border-collapse: collapse | + | border-collapse: collapse; |
- | padding: 2px 5px | + | padding: 2px 5px; |
+ | background: #ded6ca; | ||
} | } | ||
th { | th { | ||
- | background: #d4c6b6 | + | background: #d4c6b6; |
- | font-weight: bold | + | font-weight: bold; |
- | text-align: center | + | text-align: center; |
} | } | ||
Line 339: | Line 525: | ||
div#wikicontent div.thumbinner { | div#wikicontent div.thumbinner { | ||
- | background: #d4c6b6 | + | background: #d4c6b6; |
- | padding: 5px 5px 0px | + | padding: 5px 5px 0px; |
} | } | ||
div#wikicontent div.thumb { | div#wikicontent div.thumb { | ||
- | margin: 10px | + | margin: 10px; |
} | } | ||
div#wikicontent div.thumb div.magnify { | div#wikicontent div.thumb div.magnify { | ||
- | float: right | + | float: right; |
} | } | ||
div#wikicontent div.tright { | div#wikicontent div.tright { | ||
- | clear: right | + | clear: right; |
- | float: right | + | float: right; |
- | margin-right: 0px | + | margin-right: 0px; |
} | } | ||
div#wikicontent div.tleft { | div#wikicontent div.tleft { | ||
- | clear: left | + | clear: left; |
- | float: left | + | float: left; |
- | margin-left: 0px | + | margin-left: 0px; |
} | } | ||
div#wikicontent div.center div.tnone { | div#wikicontent div.center div.tnone { | ||
- | clear: both | + | clear: both; |
} | } | ||
div#wikicontent div.center div.tnone div.thumbinner { | div#wikicontent div.center div.tnone div.thumbinner { | ||
- | margin: auto | + | margin: auto; |
} | } | ||
div#wikicontent a.sponsor { | div#wikicontent a.sponsor { | ||
- | display: block | + | display: block; |
- | float: left | + | float: left; |
- | width: 286px | + | width: 286px; |
- | height: 100px | + | height: 100px; |
- | margin: 10px | + | margin: 10px; |
- | background: #FFFFFF | + | background: #FFFFFF; |
- | position: relative | + | position: relative; |
} | } | ||
div#wikicontent a.sponsor img { | div#wikicontent a.sponsor img { | ||
- | position: absolute | + | position: absolute; |
- | top: 0 | + | top: 0; |
- | left: 0 | + | left: 0; |
- | right: 0 | + | right: 0; |
- | bottom: 0 | + | bottom: 0; |
- | margin: auto | + | margin: auto; |
} | } | ||
Line 393: | Line 579: | ||
div#wikicontent div.box-right { | div#wikicontent div.box-right { | ||
- | width: 430px | + | width: 430px; |
- | background: #ded6ca | + | background: #ded6ca; |
- | margin: 10px 0px 10px 10px | + | margin: 10px 0px 10px 10px; |
- | padding: 0px 10px | + | padding: 0px 10px; |
- | clear: right | + | clear: right; |
- | float: right | + | float: right; |
} | } | ||
div#wikicontent div.box-left { | div#wikicontent div.box-left { | ||
- | width: 430px | + | width: 430px; |
- | background: #ded6ca | + | background: #ded6ca; |
- | margin: 10px 10px 10px 0px | + | margin: 10px 10px 10px 0px; |
- | padding: 0px 10px | + | padding: 0px 10px; |
- | clear: left | + | clear: left; |
- | float: left | + | float: left; |
} | } | ||
div#wikicontent div.box-center { | div#wikicontent div.box-center { | ||
- | background: #ded6ca | + | background: #ded6ca; |
- | margin: 10px 0px | + | margin: 10px 0px; |
- | padding: 0px 10px | + | padding: 0px 10px; |
- | clear: both | + | clear: both; |
} | } | ||
Line 420: | Line 606: | ||
a#starttour { | a#starttour { | ||
- | background: url('https://static.igem.org/mediawiki/2013/e/e1/TUM13_button-tour.png') | + | background: url('https://static.igem.org/mediawiki/2013/e/e1/TUM13_button-tour.png'); |
- | display: block | + | display: block; |
- | width: 250px | + | width: 250px; |
- | height: 50px | + | height: 50px; |
- | margin: 0px auto | + | margin: 0px auto; |
} | } | ||
a#starttour:hover { | a#starttour:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/6/6c/TUM13_button-tour-highlight.png') | + | background: url('https://static.igem.org/mediawiki/2013/6/6c/TUM13_button-tour-highlight.png'); |
} | } | ||
- | /* | + | /* End content style ==================================================== */ |
+ | |||
+ | /* Start footer style =================================================== */ | ||
+ | |||
+ | /* Makes the footer stick to the bottom */ | ||
html, body { | html, body { | ||
- | height: 100% | + | height: 100%; |
- | } | + | } |
body > div#globalWrapper { | body > div#globalWrapper { | ||
- | position: relative | + | position: relative; |
- | height: auto | + | height: auto; |
- | min-height: 100% | + | min-height: 100%; |
- | margin: 0px auto -156px | + | margin: 0px auto -156px; |
} | } | ||
div#globalWrapper > div.visualClear { | div#globalWrapper > div.visualClear { | ||
- | height: 156px | + | height: 156px; |
} | } | ||
div#footer-box { | div#footer-box { | ||
- | background: url('https://static.igem.org/mediawiki/2013/c/c3/TUM13_footer-bg.png') repeat-x | + | background: url('https://static.igem.org/mediawiki/2013/c/c3/TUM13_footer-bg.png') repeat-x 50% 0%; |
- | padding: 15px 0px 10px | + | padding: 15px 0px 10px; |
- | height: 131px | + | height: 131px; |
- | width: 100% | + | width: 100%; |
- | position: absolute | + | position: absolute; |
- | bottom: 0px | + | bottom: 0px; |
- | color: #d4c6b6 | + | color: #d4c6b6; |
- | font-weight: normal | + | font-weight: normal; |
- | font-size: 12px | + | font-size: 12px; |
- | line-height: 18px | + | line-height: 18px; |
+ | } | ||
+ | |||
+ | /* Hide social-footer in case javascript fails to move it to the footer */ | ||
+ | div#wikicontent > div#social-footer { | ||
+ | display: none; | ||
} | } | ||
div#social-footer { | div#social-footer { | ||
- | width: 940px | + | width: 940px; |
- | height: 85px | + | height: 85px; |
- | margin: 0px auto | + | margin: 0px auto; |
- | padding: 0px 10px 10px | + | padding: 0px 10px 10px; |
} | } | ||
div#social-footer div#address, div#social-footer div#contact, div#social-footer div#follow { | div#social-footer div#address, div#social-footer div#contact, div#social-footer div#follow { | ||
- | width: 293px | + | width: 293px; |
- | height: 85px | + | height: 85px; |
- | margin: 0px 10px | + | margin: 0px 10px; |
- | float: left | + | float: left; |
} | } | ||
div#social-footer div#follow { | div#social-footer div#follow { | ||
- | text-align: center | + | text-align: center; |
} | } | ||
div#social-footer div#follow div { | div#social-footer div#follow div { | ||
- | width: 114px | + | width: 114px; |
- | margin: 0px auto | + | margin: 0px auto; |
} | } | ||
div#social-footer div#follow a.icon { | div#social-footer div#follow a.icon { | ||
- | padding: 11px 3px | + | padding: 11px 3px; |
- | width: 32px | + | width: 32px; |
- | height: 32px | + | height: 32px; |
- | display: block | + | display: block; |
- | float: left | + | float: left; |
} | } | ||
div#social-footer div#follow a.icon#facebook { | div#social-footer div#follow a.icon#facebook { | ||
- | background: url('https://static.igem.org/mediawiki/2013/c/cb/TUM13_facebook-icon.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/c/cb/TUM13_facebook-icon.png') no-repeat 50% 50%; |
} | } | ||
div#social-footer div#follow a.icon#facebook:hover { | div#social-footer div#follow a.icon#facebook:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/9/9f/TUM13_facebook-icon-highlight.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/9/9f/TUM13_facebook-icon-highlight.png') no-repeat 50% 50%; |
} | } | ||
div#social-footer div#follow a.icon#twitter { | div#social-footer div#follow a.icon#twitter { | ||
- | background: url('https://static.igem.org/mediawiki/2013/3/34/TUM13_twitter-icon.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/3/34/TUM13_twitter-icon.png') no-repeat 50% 50%; |
} | } | ||
div#social-footer div#follow a.icon#twitter:hover { | div#social-footer div#follow a.icon#twitter:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/2/22/TUM13_twitter-icon-highlight.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/2/22/TUM13_twitter-icon-highlight.png') no-repeat 50% 50%; |
} | } | ||
div#social-footer div#follow a.icon#youtube { | div#social-footer div#follow a.icon#youtube { | ||
- | background: url('https://static.igem.org/mediawiki/2013/4/49/TUM13_youtube-icon.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/4/49/TUM13_youtube-icon.png') no-repeat 50% 50%; |
} | } | ||
div#social-footer div#follow a.icon#youtube:hover { | div#social-footer div#follow a.icon#youtube:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/a/a1/TUM13_youtube-icon-highlight.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/a/a1/TUM13_youtube-icon-highlight.png') no-repeat 50% 50%; |
} | } | ||
div#social-footer div#address div, div#social-footer div#contact div { | div#social-footer div#address div, div#social-footer div#contact div { | ||
- | width: 50% | + | width: 50%; |
- | float: left | + | float: left; |
} | } | ||
div#social-footer div#address div p, div#social-footer div#contact div p { | div#social-footer div#address div p, div#social-footer div#contact div p { | ||
- | padding: 13px 0px 0px | + | padding: 13px 0px 0px; |
} | } | ||
div#social-footer div#address div img, div#social-footer div#contact div img { | div#social-footer div#address div img, div#social-footer div#contact div img { | ||
- | display: block | + | display: block; |
- | margin: 0px auto | + | margin: 0px auto; |
} | } | ||
div#social-footer div#address div img.icon { | div#social-footer div#address div img.icon { | ||
- | margin-top: 11px | + | margin-top: 11px; |
} | } | ||
div#social-footer div#contact div a.icon { | div#social-footer div#contact div a.icon { | ||
- | display: block | + | display: block; |
- | width: 32px | + | width: 32px; |
- | height: 32px | + | height: 32px; |
- | margin: 11px auto | + | margin: 11px auto; |
- | background: url('https://static.igem.org/mediawiki/2013/d/d8/TUM13_contact-icon.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/d/d8/TUM13_contact-icon.png') no-repeat 50% 50%; |
} | } | ||
div#social-footer div#contact div a.icon:hover { | div#social-footer div#contact div a.icon:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/c/c7/TUM13_contact-icon-highlight.png') no-repeat 50% 50% | + | background: url('https://static.igem.org/mediawiki/2013/c/c7/TUM13_contact-icon-highlight.png') no-repeat 50% 50%; |
} | } | ||
- | div#footer { | + | div#social-footer p { |
- | + | margin: 0px; | |
- | margin: 0px | + | |
- | + | ||
} | } | ||
- | div#footer | + | div#footer { |
- | padding: 0px | + | width: 920px; |
+ | margin: 0px auto; | ||
+ | padding: 0px 20px; | ||
+ | text-align: center; | ||
} | } | ||
- | div#footer | + | div#footer ul { |
- | + | margin: 0; | |
+ | padding: 0; | ||
} | } | ||
- | div#footer | + | div#footer li { |
- | + | padding: 0px 5px; | |
- | + | display: inline; | |
- | + | ||
} | } | ||
- | div#footer | + | div#footer li#t-recentchangeslinked { |
- | + | display: none; | |
- | + | ||
- | + | ||
} | } | ||
- | + | div#footer-box a { | |
- | + | color: inherit; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | div#footer-box a:hover { | |
- | + | text-decoration: underline; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | div#footer div#f-poweredbyico { | |
- | + | margin-top: 3px; | |
+ | float: right; | ||
} | } | ||
- | + | div#footer div#f-copyrightico { | |
- | + | margin-top: 3px; | |
- | + | float: left; | |
} | } | ||
- | + | /* End footer style ===================================================== */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | /* | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</style> | </style> | ||
+ | </head> | ||
</html> | </html> |
Revision as of 15:33, 23 August 2013