CSS/gifu/tab
From 2014.igem.org
(Difference between revisions)
(181 intermediate revisions not shown) | |||
Line 11: | Line 11: | ||
#tab{ | #tab{ | ||
clear:both; | clear:both; | ||
- | + | margin-left:auto; | |
- | + | margin-right:auto; | |
- | + | text-align:left; | |
- | + | ||
- | + | width:70%; | |
- | + | font-size:16px; | |
- | + | font-family:Calibri; | |
- | + | ||
- | + | ||
- | + | } | |
- | + | ||
- | .tab- | + | |
- | {background-image:url(https://static.igem.org/mediawiki/2014/ | + | |
+ | .tab-white:link | ||
+ | {color:#000000; | ||
+ | background-image:url(https://static.igem.org/mediawiki/2014/a/ab/Tab_white.png); | ||
+ | background-repeat:no-repeat ; | ||
+ | background-position:center; | ||
+ | text-decoration:none; | ||
+ | text-align: center; | ||
+ | vertical-align:100%; | ||
+ | width:180px; | ||
+ | height:50px; | ||
+ | padding:15px 15px 15px 15px; | ||
+ | display:inline; | ||
+ | overflow:auto; | ||
+ | } | ||
+ | |||
+ | |||
+ | .tab-white:hover | ||
+ | {color:#000000; | ||
+ | background-image:url(https://static.igem.org/mediawiki/2014/a/ab/Tab_white.png); | ||
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
- | background-position: | + | background-position:center; |
- | display: | + | text-decoration:none; |
+ | text-align:center; | ||
+ | vertical-align:100%; | ||
+ | width:180px; | ||
+ | height:50px; | ||
+ | padding:15px 15px 15px 15px; | ||
+ | display:inline; | ||
+ | overflow:auto; | ||
} | } | ||
- | .tab | + | .tab-gray:link |
- | {background-image:url(https://static.igem.org/mediawiki/2014/ | + | {color:#ffffff; |
+ | background-image:url(https://static.igem.org/mediawiki/2014/8/8a/Tab_gray1.png) ; | ||
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
- | background- | + | background-position:center; |
+ | text-decoration:none; | ||
+ | text-align: center; | ||
+ | vertical-align:100%; | ||
+ | width:180px; | ||
+ | height:50px; | ||
+ | padding:15px 15px 15px 15px; | ||
+ | display:inline; | ||
+ | overflow:auto; | ||
+ | } | ||
+ | .tab-gray:hover | ||
+ | {color: #000000; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2014/3/3b/Tab_gray2.png); | ||
+ | background-repeat:no-repeat; | ||
+ | background-position:center; | ||
+ | text-decoration:none; | ||
+ | text-align:center; | ||
+ | vertical-align:100%; | ||
+ | width:180px; | ||
+ | height:50px; | ||
+ | padding:15px 15px 15px 15px; | ||
+ | display:inline; | ||
+ | overflow:auto; | ||
+ | } | ||
- | . | + | p.tab |
- | + | {float:left;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
Latest revision as of 09:55, 17 October 2014