Team:Bilkent UNAM Turkey/css/tabbedContent.css
From 2011.igem.org
(30 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
.tabs { | .tabs { | ||
- | height: | + | height: 100px; |
position: relative; | position: relative; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2011/5/5c/Tnt.gif); | ||
} | } | ||
.tabs .moving_bg { | .tabs .moving_bg { | ||
padding: 15px; | padding: 15px; | ||
- | background-color:#7F822A; | + | /*background-color:#7F822A;*/ |
- | background-image:url(https://static.igem.org/mediawiki/2011/ | + | background-image:url(https://static.igem.org/mediawiki/2011/5/5b/Alg.gif); |
position: absolute; | position: absolute; | ||
width: 125px; | width: 125px; | ||
z-index: 190; | z-index: 190; | ||
left: 0; | left: 0; | ||
- | padding-bottom: | + | padding-bottom: 40px; |
background-position: bottom left; | background-position: bottom left; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
Line 20: | Line 21: | ||
display: block; | display: block; | ||
float: left; | float: left; | ||
- | padding: 15px; | + | padding:15px; |
+ | padding-top: 40px; | ||
width: 125px; | width: 125px; | ||
color: #ffffff; | color: #ffffff; | ||
Line 26: | Line 28: | ||
z-index: 200; | z-index: 200; | ||
position: relative; | position: relative; | ||
- | cursor: | + | cursor:default; |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | |||
.tabbed_content .slide_content { | .tabbed_content .slide_content { | ||
overflow: hidden; | overflow: hidden; | ||
padding: 20px 0 20px 20px; | padding: 20px 0 20px 20px; | ||
- | width: | + | width: 940px; |
position: fixed; | position: fixed; | ||
- | margin-top: | + | margin-top: 5px; |
} | } | ||
Line 46: | Line 46: | ||
.tabslider ul { | .tabslider ul { | ||
float: left; | float: left; | ||
- | width: | + | width: 900px; |
- | height: | + | height: 410px; |
margin: 0px; | margin: 0px; | ||
padding: 0px; | padding: 0px; | ||
- | margin-right: | + | margin-right: 40px; |
- | + | /* color: #aaaaaa;*/ | |
overflow: auto; | overflow: auto; | ||
} | } | ||
- | + | #labworks{ | |
+ | background: url(https://static.igem.org/mediawiki/2011/e/ee/01089.jpg) no-repeat; | ||
+ | position: relative; | ||
+ | } | ||
.tabslider ul a { | .tabslider ul a { | ||
- | color: | + | color: green; |
- | + | ||
} | } | ||
Line 64: | Line 66: | ||
} | } | ||
.tabslider ul p { | .tabslider ul p { | ||
- | + | /* color: #aaaaaa;*/ | |
} | } | ||
.tabslider ul h2 { | .tabslider ul h2 { | ||
- | + | /* color: #aaaaaa;*/ | |
} | } | ||
.tabslider ul h3 { | .tabslider ul h3 { | ||
- | + | /* color: #aaaaaa;*/ | |
} | } | ||
Line 76: | Line 78: | ||
padding-bottom: 7px; | padding-bottom: 7px; | ||
+ | } | ||
+ | .sliding_menu { | ||
+ | display: none; | ||
+ | float: left; | ||
+ | margin-top :15px; | ||
+ | padding-top: 0px; | ||
+ | width: 125px; | ||
+ | color: blue; | ||
+ | text-align: center; | ||
+ | /*z-index: 199;*/ | ||
+ | position: absolute; | ||
+ | background-color:#B65252; | ||
+ | |||
+ | /* for IE */ | ||
+ | filter:alpha(opacity=90); | ||
+ | /* CSS3 standard */ | ||
+ | opacity:0.9 | ||
+ | |||
+ | } | ||
+ | .sliding_menu .sliding_item { | ||
+ | display: block; | ||
+ | color: white; | ||
} | } |
Latest revision as of 21:21, 21 September 2011
.tabs { height: 100px; position: relative; background-image: url(); }
.tabs .moving_bg { padding: 15px; /*background-color:#7F822A;*/ background-image:url(); position: absolute; width: 125px; z-index: 190; left: 0; padding-bottom: 40px; background-position: bottom left; background-repeat: no-repeat; }
.tabs .tab_item { display: block; float: left; padding:15px; padding-top: 40px; width: 125px; color: #ffffff; text-align: center; z-index: 200; position: relative; cursor:default; }
.tabbed_content .slide_content { overflow: hidden; padding: 20px 0 20px 20px; width: 940px; position: fixed; margin-top: 5px;
}
.tabslider { width: 7200px; }
.tabslider ul { float: left; width: 900px; height: 410px; margin: 0px; padding: 0px; margin-right: 40px; /* color: #aaaaaa;*/ overflow: auto; }
- labworks{
background: url() no-repeat; position: relative; } .tabslider ul a { color: green; }
.tabslider ul a:hover { color: #aaaaaa; } .tabslider ul p { /* color: #aaaaaa;*/ } .tabslider ul h2 { /* color: #aaaaaa;*/ } .tabslider ul h3 { /* color: #aaaaaa;*/ }
.tabslider ul li { padding-bottom: 7px;
} .sliding_menu { display: none; float: left; margin-top :15px; padding-top: 0px; width: 125px; color: blue; text-align: center; /*z-index: 199;*/ position: absolute; background-color:#B65252;
/* for IE */ filter:alpha(opacity=90); /* CSS3 standard */ opacity:0.9
} .sliding_menu .sliding_item { display: block; color: white; }