Team:TU-Munich/TUM13 wiki.css
From 2013.igem.org
Line 592: | Line 592: | ||
div#social-footer div#follow a#adress:hover { | div#social-footer div#follow a#adress:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/ | + | background: url('https://static.igem.org/mediawiki/2013/0/05/TUM13_address-highlight.png') no-repeat 50% 50%; |
} | } | ||
Line 600: | Line 600: | ||
div#social-footer div#follow a#mail:hover { | div#social-footer div#follow a#mail:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/ | + | background: url('https://static.igem.org/mediawiki/2013/c/c7/TUM13_contact-icon-highlight.png') no-repeat 50% 50%; |
} | } | ||
Line 608: | Line 608: | ||
div#social-footer div#follow a#facebook:hover { | div#social-footer div#follow a#facebook:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/ | + | background: url('https://static.igem.org/mediawiki/2013/9/9f/TUM13_facebook-icon-highlight.png') no-repeat 50% 50%; |
} | } | ||
Line 616: | Line 616: | ||
div#social-footer div#follow a#twitter:hover { | div#social-footer div#follow a#twitter:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/ | + | background: url('https://static.igem.org/mediawiki/2013/2/22/TUM13_twitter-icon-highlight.png') no-repeat 50% 50%; |
} | } | ||
Line 624: | Line 624: | ||
div#social-footer div#follow a#youtube:hover { | div#social-footer div#follow a#youtube:hover { | ||
- | background: url('https://static.igem.org/mediawiki/2013/ | + | background: url('https://static.igem.org/mediawiki/2013/a/a1/TUM13_youtube-icon-highlight.png') no-repeat 50% 50%; |
} | } | ||
Revision as of 19:48, 27 September 2013
/* iGEM TU-Munich Stylesheet by Florian Albrecht (albrecht.flo@gmx.net)
if you want to use parts of this on your wiki, cite us and / or write an e-mail to us */
/* 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 {
display: none;
}
/* Center wiki-menu; set font & bg (as fallback) color */ div#top-section {
margin: 0px auto; width: 930px; height: 20px; 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 {
font-weight: bold; font-size: 13px; line-height: 20px;
}
div#menubar.right-menu {
float: right;
}
div#menubar.left-menu {
float: left;
}
/* Fix text */ div#menubar.left-menu a, div#menubar.left-menu li {
text-transform: capitalize;
}
div#menubar li {
padding: 0px 5px; display: inline;
}
/* White on hover */ div#menubar a:hover {
color: #FFFFFF; text-decoration: none;
}
div#menubar li[style="color:white;cursor:default"] {
display: none;
}
/* End top-section style ================================================ */
/* Start header style =================================================== */
/* Hide page title (it would appear before the header) */ h1.firstHeading {
display: none;
}
/* Header-bg and positioning */ div#header-container {
background: url('https://static.igem.org/mediawiki/2013/b/bf/TUM13_page-bg-top.png') no-repeat 50% 0%; height: 217px; padding-top: 30px;
}
/* Header positioning */ div#header {
width: 920px; height: 120px; margin: 0px auto; padding: 10px 20px 5px;
}
/* Logos */ div#header img#physco-logo {
display: block; height: 120px; float: left;
}
div#header img#igem-logo {
display: block; height: 120px; float: right;
}
/* End header style ===================================================== */
/* Start menu style ===================================================== */
/* Menu-bg and spacing*/ div#menu {
background: url('https://static.igem.org/mediawiki/2013/a/a8/TUM13_menu-bg.png') no-repeat 50% 0%; height: 60px; padding: 5px 0px 17px;
}
div#menu ul {
list-style: none; padding: 0; margin: 0;
}
/* Position menu and set font color */ div#menu > ul {
margin: 0px auto; width: 959px; height: 60px; color: #411c03; padding-left: 1px;
}
/* Position menu elements and set font */ div#menu > ul > li {
float: left; width: 137px; height: 44px; padding: 8px 0px 8px; text-align: center; position: relative; font: normal 24px/44px sketch_rockwell,Arial,sans-serif;
}
div#menu > ul > li > a {
display: block; width: 137px; height: 44px; color: inherit;
}
/* Hover effect */ 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:hover {
text-decoration: none;
}
/* Style and hide submenu */ div#menu > ul > li > ul {
border-left: solid 1px #411c03; border-right: solid 1px #411c03; width: 135px; background: #7cac2c; display: none; position: absolute; top: 60px; z-index: 9998;
}
/* Style submenu elements */ div#menu > ul > li > ul > li {
background: url('https://static.igem.org/mediawiki/2013/4/4e/TUM13_submenu-bg.png') repeat-y 50% 50%; padding: 0px 10px; text-align: left; border-bottom: solid 1px #411c03; font: bold 13px/20px Helvetica,Arial,Verdana,sans-serif;
}
div#menu > ul > li > ul > li > a {
display: block; width: 115px; padding: 5px 0px; color: inherit;
}
/* Hover effect */ div#menu > ul > li > ul > li:hover {
background: url('https://static.igem.org/mediawiki/2013/d/db/TUM13_submenu-highlight.png') repeat-y 50% 50%;
}
div#menu > ul > li > ul > li > a:hover {
text-decoration: none;
}
/* Show submenu on hover */ div#menu > ul > li:hover > ul {
display: block;
}
/* End menu style ======================================================= */
/* Start content style ================================================== */
div#bodyContent > p, div#contentSub, div#catlinks, table#toc.toc {
display: none;
}
/* Set page-bg */ div#wikicontent-container {
background: url('https://static.igem.org/mediawiki/2013/a/ac/TUM13_page-bg-middle.png') repeat-y 50% 0%; padding: 1px 0px;
}
div#wikicontent > :first-child {
margin-top: 0px;
}
div#wikicontent > :last-child {
margin-bottom: 0px;
}
/* Font and position */ div#wikicontent {
font-size: 14px; line-height: 21px; background: #e9e3dd; width: 920px; margin: 0px auto; padding: 0px 20px; text-align: justify;
}
/* 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 {
padding-left: 2em; list-style: disc outside;
}
div#wikicontent ol {
padding-left: 2em; list-style: decimal outside;
}
div#wikicontent a {
color: #7cac2c;
}
div#bodyContent a[href^="https://"], div#bodyContent a[href^="mailto:"], #bodyContent .link-https {
background: transparent;
}
div#wikicontent a:hover {
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; line-height: 1.5; margin: 1em 0em 0.5em; clear: both;
}
div#wikicontent .editsection {
color: #7cac2c; font-family: Helvetica,Arial,Verdana,sans-serif;
}
div#wikicontent h1, div#wikicontent h2 {
color: #391903; font: normal 2em/1.35 sketch_rockwell,Arial,sans-serif; border-bottom: 2px solid #391903;
}
div#wikicontent h3 {
font-size: 1.5em;
}
div#wikicontent h4 {
font-size: 1.25em;
}
div#wikicontent h5, div#wikicontent h6 {
font-size: 1.0em;
}
/* Pictures */ div#wikicontent div.thumb {
margin: 0px 0px 10px; border: none;
}
div#wikicontent div.thumb div.thumbinner {
background: #d4c6b6; border: none; font-size: 12px; line-height: 18px; overflow: hidden; padding: 5px 4px !important; margin-top: 10px; text-align: center;
}
div#wikicontent div.thumb div.thumbinner a img {
border: none; padding-bottom: 5px;
}
div#wikicontent div.thumb div.thumbinner div.thumbcaption {
background: transparent; font-size: inherit; line-height: inherit; overflow: hidden; padding: 0px 5px !important;
}
div#wikicontent div.thumb div.thumbinner div.thumbcaption div.magnify {
display: none;
}
div#wikicontent div.tright {
clear: right; margin-left: 10px;
}
div#wikicontent div.tleft {
clear: left; margin-right: 10px;
}
div#wikicontent div.center div.tnone {
clear: both;
}
/* Tables */ div#wikicontent table {
background: #ded6ca; border: 1px solid #502204;
}
div#wikicontent table caption {
text-align: left; font-size: 12px; line-height: 18px;
}
div#wikicontent td, div#wikicontent th {
border: 1px solid #502204; padding: 2px 5px;
}
div#wikicontent th {
background: #d4c6b6; font-weight: bold; text-align: center;
}
div#wikicontent table code {
background: transparent;
}
/* Fix AutoAnnotator */ div#wikicontent table#AutoAnnotator, div#wikicontent table#AutoAnnotator table {
background: #ffffff; border: 1px solid #000000; font-size: 12px; line-height: 18px;
}
div#wikicontent table#AutoAnnotator td, div#wikicontent table#AutoAnnotator th {
border: 1px solid #000000; padding: 1px;
}
div#wikicontent table#AutoAnnotator table.AutoAnnotatorNoBorder {
border: none;
}
div#wikicontent table#AutoAnnotator table.AutoAnnotatorNoBorder td, div#wikicontent table#AutoAnnotator table.AutoAnnotatorNoBorder th {
border: none;
}
div#wikicontent table#AutoAnnotator table.AutoAnnotatorWithBorder {
border: 1px solid #000000;
}
div#wikicontent table#AutoAnnotator table.AutoAnnotatorWithBorder td, div#wikicontent table#AutoAnnotator table.AutoAnnotatorWithBorder th {
border: 1px solid #000000;
}
div#wikicontent table#AutoAnnotator th {
background: rgb(221, 221, 221);
}
/* Fix parts table */ div#groupparts {
width: 920px !important;
}
div#groupparts td {
background: #ded6ca;
}
/* TODO =================================== */
div#wikicontent a.sponsor {
display: block; float: right; width: 276px; height: 100px; margin: 10px; background: #FFFFFF; position: relative; margin-left:20px;
}
div#wikicontent a.sponsor img {
position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;
}
/* Boxes */
div#wikicontent div.box-right {
width: 430px; background: #ded6ca; margin: 10px 0px 10px 10px; padding: 0px 10px; clear: right; float: right;
}
div#wikicontent div.box-left {
width: 430px; background: #ded6ca; margin: 10px 10px 10px 0px; padding: 0px 10px; clear: left; float: left;
}
div#wikicontent div.box-definition{
width: 300px; background: #d4c6b6; margin: 10px 0px 10px 10px; padding: 0px 10px; clear: right; float: right; font-size: 12px;
}
div#wikicontent div.box-center {
background: #ded6ca; margin: 10px 0px; padding: 1px 10px; clear: both;
}
/* Buttons */
a#starttour {
background: url('https://static.igem.org/mediawiki/2013/e/e1/TUM13_button-tour.png'); display: block; width: 250px; height: 50px; margin: 0px auto;
}
a#starttour:hover {
background: url('https://static.igem.org/mediawiki/2013/6/6c/TUM13_button-tour-highlight.png');
}
/* TODO =================================== */
/* End content style ==================================================== */
/* Start footer style =================================================== */
/* Makes the footer stick to the bottom */ html, body {
height: 100%;
}
body > div#globalWrapper {
position: relative; height: auto; min-height: 100%; margin: 0px auto -156px;
}
div#globalWrapper > div.visualClear {
height: 156px;
}
div#footer-box {
background: url('https://static.igem.org/mediawiki/2013/c/c3/TUM13_footer-bg.png') repeat-x 50% 0%; padding: 8px 0px 10px; height: 138px; width: 100%; position: absolute; bottom: 0px; color: #d4c6b6; font-weight: normal; font-size: 12px; line-height: 18px;
}
div#social-footer {
width: 940px; height: 92px; margin: 0px auto; padding: 0px 10px 10px;
}
div#social-footer div#annotator, div#social-footer div#follow {
width: 450px; height: 92px; margin: 0px 10px; float: left;
}
div#social-footer h2 {
font: normal 28px/42px sketch_rockwell, Arial, sans-serif; text-align: center; margin: 0px;
}
div#social-footer div#annotator {
text-align: center;
}
div#social-footer div#annotator input {
font-size: 12px; padding: 2px 5px;
}
div#social-footer div#annotator input[type="text"] {
margin: 0px 5px 5px; border: 1px solid #502204; background: #d4c6b6; width: 432px;
}
div#social-footer div#follow a {
display: block; width: 32px; height: 32px; margin: 9px; float: left;
}
div#social-footer div#follow div {
margin: 0px 100px;
}
div#social-footer div#follow a#adress {
background: url('https://static.igem.org/mediawiki/2013/4/4b/TUM13_address-icon.png') no-repeat 50% 50%;
}
div#social-footer div#follow a#adress:hover {
background: url('https://static.igem.org/mediawiki/2013/0/05/TUM13_address-highlight.png') no-repeat 50% 50%;
}
div#social-footer div#follow a#mail {
background: url('https://static.igem.org/mediawiki/2013/d/d8/TUM13_contact-icon.png') no-repeat 50% 50%;
}
div#social-footer div#follow a#mail:hover {
background: url('https://static.igem.org/mediawiki/2013/c/c7/TUM13_contact-icon-highlight.png') no-repeat 50% 50%;
}
div#social-footer div#follow a#facebook {
background: url('https://static.igem.org/mediawiki/2013/c/cb/TUM13_facebook-icon.png') no-repeat 50% 50%;
}
div#social-footer div#follow a#facebook:hover {
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#twitter {
background: url('https://static.igem.org/mediawiki/2013/3/34/TUM13_twitter-icon.png') no-repeat 50% 50%;
}
div#social-footer div#follow a#twitter:hover {
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#youtube {
background: url('https://static.igem.org/mediawiki/2013/4/49/TUM13_youtube-icon.png') no-repeat 50% 50%;
}
div#social-footer div#follow a#youtube:hover {
background: url('https://static.igem.org/mediawiki/2013/a/a1/TUM13_youtube-icon-highlight.png') no-repeat 50% 50%;
}
div#footer {
width: 920px; margin: 0px auto; padding: 0px 20px; text-align: center;
}
div#footer ul {
margin: 0; padding: 0;
}
div#footer li {
padding: 0px 5px; display: inline;
}
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 ===================================================== */