Team:Heidelberg/Stylesheet
From 2013.igem.org
m |
Nils.kurzawa (Talk | contribs) m |
||
(72 intermediate revisions not shown) | |||
Line 36: | Line 36: | ||
border-style:none; | border-style:none; | ||
} | } | ||
+ | #footer-box{background-color: #292929;} | ||
#top-section { | #top-section { | ||
position:absolute; | position:absolute; | ||
Line 67: | Line 68: | ||
#navigation-bar { | #navigation-bar { | ||
position:absolute; | position:absolute; | ||
- | width: | + | width:13em; |
- | + | ||
- | + | ||
- | + | ||
color: white; | color: white; | ||
+ | padding:0.5em; | ||
} | } | ||
+ | |||
#main { | #main { | ||
background-color:#292929; | background-color:#292929; | ||
Line 78: | Line 78: | ||
} | } | ||
#main-content { | #main-content { | ||
- | margin-left: | + | margin-left:14em; |
min-height:500px; | min-height:500px; | ||
padding:5px; | padding:5px; | ||
height:100%; | height:100%; | ||
background-color:white; | background-color:white; | ||
+ | border-bottom: 0.3em solid #FFCC00; | ||
border-left-style:solid; | border-left-style:solid; | ||
border-left-width:0.3em; | border-left-width:0.3em; | ||
border-left-color:#FFCC00; | border-left-color:#FFCC00; | ||
+ | text-align: justify; | ||
+ | |||
} | } | ||
+ | #slider-container { | ||
+ | background-color: white; | ||
+ | width: 60%; | ||
+ | height: 20em; | ||
+ | margin-left: 20em; | ||
+ | |||
+ | } | ||
+ | |||
+ | #flags { | ||
+ | background-color:white; | ||
+ | left: 20em; | ||
+ | width: 20%; | ||
+ | min-height: 20em; | ||
+ | float: left; | ||
+ | } | ||
+ | table{margin-right: 5%;} | ||
+ | /* | ||
+ | #bottom-matter{ | ||
+ | background-color: #292929; | ||
+ | min-height: 10em; | ||
+ | width: 100% | ||
+ | } */ | ||
/* Override general formatting */ | /* Override general formatting */ | ||
/*******************************/ | /*******************************/ | ||
Line 93: | Line 118: | ||
* { font-family:sans-serif;} | * { font-family:sans-serif;} | ||
p { margin:0px;} | p { margin:0px;} | ||
- | a:link { color: | + | a:link { color:#009cc2; text-decoration:none; } |
- | a:visited { color: | + | a:visited { color:#009cc2;font-weight:bold; text-decoration:none; } |
- | a:focus { color: | + | a:focus { color:#009cc2; font-weight:bold; text-decoration:none;} |
- | a:hover { font-weight:bold; color:# | + | a:hover { color:#009cc2; text-decoration:none; } |
- | a: | + | a:active { font-weight:bold; color:#009cc2; text-decoration:none; } |
+ | |||
+ | ul{ list-style-image: url("https://static.igem.org/mediawiki/2013/d/de/HD_Bullet.png"); | ||
+ | list-style-type: square;} | ||
+ | |||
+ | a.menu-link:link { color:#FFFFFF; text-decoration:none; } | ||
+ | a.menu-link:visited { color:#FFFFFF; text-decoration:none; } | ||
+ | a.menu-link:focus { color:#FFCC00;text-decoration:none;} | ||
+ | a.menu-link:hover { fond-weight:normal;color:#FFCC00; text-decoration:none; } | ||
+ | a.menu-link:active {color:#FFCC00; text-decoration:none; } | ||
+ | a.left-nav:link { color:white; text-decoration:none; } | ||
+ | a.left-nav:visited { color:#FFFFFF; text-decoration:none; } | ||
+ | a.left-nav:focus { color:#FFCC00; text-decoration:none;} | ||
+ | a.left-nav:hover { font-weight:bold; color:#FFCC00; text-decoration:none; } | ||
+ | a.left-nav:active { font-weight:bold; color:#FFCC00; text-decoration:none; } | ||
/* Change user editing menu appearance */ | /* Change user editing menu appearance */ | ||
/***************************************/ | /***************************************/ | ||
Line 132: | Line 171: | ||
z-index:999; | z-index:999; | ||
background-color:#292929; | background-color:#292929; | ||
+ | border:1px solid #292929; | ||
border-bottom-left-radius:100%; | border-bottom-left-radius:100%; | ||
border-bottom-right-radius:100%; | border-bottom-right-radius:100%; | ||
+ | box-shadow: 0px 1px 5px 8px #404040; | ||
+ | } | ||
+ | #main-menu > a { | ||
+ | text-decoration:none; | ||
} | } | ||
#menu-title { | #menu-title { | ||
top:95px; | top:95px; | ||
- | color: | + | color:#009cc2; |
position:relative; | position:relative; | ||
border-bottom:none; | border-bottom:none; | ||
} | } | ||
- | + | .menu-title-green { color:#009cc2; } | |
- | + | .menu-title-blue{ color:#009cc2; } | |
- | + | ||
- | .menu-title-green { color:# | + | |
- | .menu-title-blue{ color:# | + | |
.menu-item { | .menu-item { | ||
Line 162: | Line 203: | ||
border:none; | border:none; | ||
width:100%; | width:100%; | ||
- | |||
} | } | ||
.menu-item ul { | .menu-item ul { | ||
Line 174: | Line 214: | ||
color:white; | color:white; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
.menu-item a * { | .menu-item a * { | ||
display:block; | display:block; | ||
Line 208: | Line 246: | ||
} | } | ||
#team-logo{ | #team-logo{ | ||
- | margin-left: | + | margin-left:4.5em; |
padding-bottom:0.5em; | padding-bottom:0.5em; | ||
} | } | ||
Line 215: | Line 253: | ||
} | } | ||
#PS { | #PS { | ||
- | margin-left: | + | margin-left:4.5em; |
} | } | ||
#PS h1 { | #PS h1 { | ||
padding:0em; | padding:0em; | ||
border-style:none; | border-style:none; | ||
- | color: # | + | color: #009cc2; |
margin:0em; | margin:0em; | ||
} | } | ||
Line 231: | Line 269: | ||
#igem-2013 { | #igem-2013 { | ||
float:right; | float:right; | ||
- | margin-right: | + | margin-right:4.5em; |
} | } | ||
#igem-2013 img { | #igem-2013 img { | ||
Line 242: | Line 280: | ||
} | } | ||
#top-separator * { | #top-separator * { | ||
- | margin-left: | + | margin-left:14em; |
} | } | ||
Line 267: | Line 305: | ||
z-index:999; | z-index:999; | ||
bottom:5%; | bottom:5%; | ||
- | + | left:70%; | |
} | } | ||
Line 274: | Line 312: | ||
z-index:999; | z-index:999; | ||
bottom:5%; | bottom:5%; | ||
- | + | left:60%; | |
width:100px; | width:100px; | ||
height:50px; | height:50px; | ||
Line 311: | Line 349: | ||
display:block; | display:block; | ||
} | } | ||
+ | |||
/* Styling of other template elements */ | /* Styling of other template elements */ |
Latest revision as of 20:18, 21 September 2013
/* Hiding predefined html elements */ /***********************************/
- contentSub, #search-controls, #catlinks, #p-logo, .firstHeading {
display:none; padding:0px; margin:0px; }
/* Resize general layout */ /*************************/ body { background-color:#606060; text-align:center; }
- content {
overflow:hidden; display:inline-block; position:relative; min-width:800px; width:100%; max-width:3000px; margin:0px; padding:0px; text-align:center; z-index:888; border-style:none; }
- top-section, #footer-box {
min-width:800px; width:100%; max-width:3000px; padding:0px; margin:0px; display:inline-block; text-align:left; border-style:none; }
- footer-box{background-color: #292929;}
- top-section {
position:absolute; height:5px; z-index:999; }
- footer-box * {
margin:5px; }
- bodyContent {
margin:0px; z-index:877; }
- top-matter {
width:100%; position: relative; z-index:777; } .center-vert { display:inline-block; width:100%; color:#000000; background-color:white; } .content-hori { vertical-align:top; display:block; text-align:left; }
- navigation-bar {
position:absolute; width:13em; color: white; padding:0.5em; }
- main {
background-color:#292929; min-height:500px; }
- main-content {
margin-left:14em; min-height:500px; padding:5px; height:100%; background-color:white; border-bottom: 0.3em solid #FFCC00; border-left-style:solid; border-left-width:0.3em; border-left-color:#FFCC00; text-align: justify;
}
- slider-container {
background-color: white; width: 60%; height: 20em; margin-left: 20em;
}
- flags {
background-color:white; left: 20em; width: 20%; min-height: 20em; float: left; } table{margin-right: 5%;} /*
- bottom-matter{
background-color: #292929; min-height: 10em; width: 100% } */ /* Override general formatting */ /*******************************/
- { font-family:sans-serif;}
p { margin:0px;} a:link { color:#009cc2; text-decoration:none; } a:visited { color:#009cc2;font-weight:bold; text-decoration:none; } a:focus { color:#009cc2; font-weight:bold; text-decoration:none;} a:hover { color:#009cc2; text-decoration:none; } a:active { font-weight:bold; color:#009cc2; text-decoration:none; }
ul{ list-style-image: url(""); list-style-type: square;}
a.menu-link:link { color:#FFFFFF; text-decoration:none; } a.menu-link:visited { color:#FFFFFF; text-decoration:none; } a.menu-link:focus { color:#FFCC00;text-decoration:none;} a.menu-link:hover { fond-weight:normal;color:#FFCC00; text-decoration:none; } a.menu-link:active {color:#FFCC00; text-decoration:none; }
a.left-nav:link { color:white; text-decoration:none; } a.left-nav:visited { color:#FFFFFF; text-decoration:none; } a.left-nav:focus { color:#FFCC00; text-decoration:none;} a.left-nav:hover { font-weight:bold; color:#FFCC00; text-decoration:none; } a.left-nav:active { font-weight:bold; color:#FFCC00; text-decoration:none; } /* Change user editing menu appearance */ /***************************************/
- menubar {
top:-5px; }
- menubar, #menubar:hover, .left-menu, .left-menu:hover, .right-menu, .right-menu:hover, .right-menu li a, .right-menu a:hover, #top-section, #top-section:hover {
background-color:transparent; } .left-menu li a { color:transparent; } .left-menu ul li:last-child, .right-menu li a { color:#AAAAAA; color:#AAAAAA !important; }
- top-section:hover .left-menu li a{
color:#AAAAAA; }
- menubar li a:hover {
color:#FFD83D; color:#FFD83D !important; }
/* Define top navigation bar */ /*****************************/
- main-menu {
height:15.5em; position:absolute; top:-7em; width:120%;
left: -10%;
z-index:999; background-color:#292929; border:1px solid #292929; border-bottom-left-radius:100%; border-bottom-right-radius:100%; box-shadow: 0px 1px 5px 8px #404040; }
- main-menu > a {
text-decoration:none; }
- menu-title {
top:95px; color:#009cc2; position:relative; border-bottom:none; }
.menu-title-green { color:#009cc2; } .menu-title-blue{ color:#009cc2; }
.menu-item { display:inline-block; vertical-align:top; z-index:999; position:relative; width:10%; background-color:transparent; top:100px; } .menu-item a { display:block; text-align:center; border:none; width:100%; } .menu-item ul { width:100%; display:none; background-color:#292929; list-style:none; padding-top:1em; border:none; margin:0pt; color:white; }
.menu-item a * { display:block; } .menu-item ul li { border-bottom: 1pt solid; } .menu-item a:hover + ul, .menu-item ul:hover { display:block; }
- menu-symbol{
height:4em; margin:auto; }
/* Define title line containing logos */ /**************************************/
- title-line {
width:100%; z-index:888; padding-top:8em; padding-bottom:0.5em; text-align:left; }
- title-line * {
display:inline-block; vertical-align:bottom; }
- title-line a {
height:5em; }
- team-logo{
margin-left:4.5em; padding-bottom:0.5em; }
- team-logo img {
height:110%; }
- PS {
margin-left:4.5em; }
- PS h1 {
padding:0em; border-style:none; color: #009cc2; margin:0em; }
- flubber {
width:2em; }
- flubber img {
width:100%; }
- igem-2013 {
float:right; margin-right:4.5em; }
- igem-2013 img {
height:100%; }
- top-separator {
background-color:#FFCC00; height:20px; text-align:left; }
- top-separator * {
margin-left:14em; }
/* Style left navigation bar */ /*****************************/
- navigation-bar ul, #navigation-bar li {
margin-top:0px; margin-bottom:0px; margin-right:0px; padding:0px; line-height:20px; }
- navi-highlight {
/* change color in javascript*/ }
/* Go to top and guided tour navigation */ /*********************************************/
- goto-top {
position:fixed; z-index:999; bottom:5%; left:70%; }
- tour-navi {
position:fixed; z-index:999; bottom:5%; left:60%; width:100px; height:50px; display:none; }
- tour-navi ul {
/* background-image:url(../png/Guided_Navigation.svg); */ background-repeat:no-repeat; background-position:top center; width:100%; height:100%; list-style:none; }
- tour-navi ul li {
float:left; }
- tour-navi ul .tour-text {
position:absolute; width:70px; top:40px; left:15px; display:none; }
- tour-navi #tour-rev, #tour-navi #tour-pause, #tour-navi #tour-fwd {
height: 80%; width: 33%;
}
- tour-navi ul li a {
display:block; text-decoration:none; width:100%; height:100%; }
- tour-navi #tour-fwd:hover + li, #tour-navi #tour-pause:hover + li, #tour-navi #tour-rev:hover + li {
display:block; }
/* Styling of other template elements */
/**************************************/
- gel-right{
background-color:transparent; text-align:center; float: right; margin-right:1em; padding:0.5em; border-style:solid; border-width:1pt; border-color:#292929; border-radius:1em; }