Template:Team:UNAM Genomics Mexico/Templates/menulike
From 2012.igem.org
(Difference between revisions)
Line 605: | Line 605: | ||
/*on hover stuff*/ | /*on hover stuff*/ | ||
- | + | .thumbnailWrapper { width:600px; margin:0px auto; } /* not important */ | |
- | + | .thumbnailWrapper ul { | |
- | + | list-style-type: none; /* remove the default style for list items (the circles) */ | |
- | + | margin:0px; /* remove default margin */ | |
- | + | padding:0px; /* remove default padding */ | |
- | + | } | |
- | + | ||
- | + | .thumbnailWrapper ul li { | |
- | + | float:left; /* important: left float */ | |
- | + | position:relative; /* so we can use top and left positioning */ | |
- | + | overflow:hidden; /* hide the content outside the boundaries (ZOOM) */ | |
- | + | } | |
- | + | ||
- | + | .thumbnailWrapper ul li a img { | |
- | + | width:200px; /* not important, the pics we use here are too big */ | |
- | + | position:relative; /* so we can use top and left positioning */ | |
- | + | border:none; /* remove the default blue border */ | |
- | + | } | |
- | + | ||
- | + | .captiongray{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
- | + | /* styling bellow */ | |
+ | background:#444444; | ||
+ | color:white; | ||
+ | opacity:0.8; | ||
+ | } | ||
+ | |||
+ | .captiongray .captionInside{ | ||
+ | /* just styling */ | ||
+ | padding:10px; | ||
+ | margin:0px; | ||
+ | } | ||
+ | |||
+ | .clear { clear:both; } /* to clear the float after the last item */ | ||
- | + | .captionmorado{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
- | + | /* styling bellow */ | |
- | + | background:#600080; | |
- | + | color:white; | |
- | + | opacity:0.8; | |
- | + | } | |
- | + | ||
- | + | .captionmorado .captionInside{ | |
- | + | /* just styling */ | |
- | + | padding:10px; | |
- | + | margin:0px; | |
- | + | } | |
- | + | .clear { clear:both; } /* to clear the float after the last item */ | |
- | + | .captionmoradoclaro{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
+ | /* styling bellow */ | ||
+ | background:#6600ff; | ||
+ | color:white; | ||
+ | opacity:0.8; | ||
+ | } | ||
+ | |||
+ | .captionmoradoclaro .captionInside{ | ||
+ | /* just styling */ | ||
+ | padding:10px; | ||
+ | margin:0px; | ||
+ | } | ||
+ | .clear { clear:both; } /* to clear the float after the last item */ | ||
- | + | .captionnaranja{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
- | + | /* styling bellow */ | |
- | + | background:#ff751a; | |
- | + | color:white; | |
- | + | opacity:0.8; | |
+ | } | ||
+ | |||
+ | .captionnaranja .captionInside{ | ||
+ | /* just styling */ | ||
+ | padding:10px; | ||
+ | margin:0px; | ||
+ | } | ||
+ | .clear { clear:both; } /* to clear the float after the last item */ | ||
- | + | .captionrojo{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
- | + | /* styling bellow */ | |
- | + | background:#cc0000; | |
- | + | color:white; | |
- | + | opacity:0.8; | |
- | + | } | |
- | + | ||
- | + | .captionrojo .captionInside{ | |
- | + | /* just styling */ | |
- | + | padding:10px; | |
- | + | margin:0px; | |
- | + | } | |
- | + | .clear { clear:both; } /* to clear the float after the last item */ | |
- | + | .captionrosa{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
- | + | /* styling bellow */ | |
- | + | background:#cc0099; | |
- | + | color:white; | |
- | + | opacity:0.8; | |
- | + | } | |
- | + | ||
- | + | .captionrosa .captionInside{ | |
- | + | /* just styling */ | |
- | + | padding:10px; | |
- | + | margin:0px; | |
- | + | } | |
- | + | .clear { clear:both; } /* to clear the float after the last item */ | |
- | + | ||
- | + | .captionverde{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
- | + | /* styling bellow */ | |
- | + | background:#009966; | |
- | + | color:white; | |
- | + | opacity:0.8; | |
- | + | } | |
- | + | .captionverde .captionInside{ | |
- | + | /* just styling */ | |
- | + | padding:10px; | |
- | + | margin:0px; | |
- | + | } | |
- | + | .clear { clear:both; } /* to clear the float after the last item */ | |
- | + | ||
- | + | .captionaqua{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
- | + | /* styling bellow */ | |
- | + | background:#009a9a; | |
- | + | color:white; | |
- | + | opacity:0.8; | |
- | + | } | |
- | + | .captionaqua .captionInside{ | |
- | + | /* just styling */ | |
- | + | padding:10px; | |
- | + | margin:0px; | |
- | + | } | |
- | + | .clear { clear:both; } /* to clear the float after the last item */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | .captionazul{ | |
- | + | position:absolute; /* needed for positioning */ | |
- | + | bottom:0px; /* bottom of the list item (container) */ | |
- | + | left:0px; /* start from left of the list item (container) */ | |
- | + | width:100%; /* stretch to the whole width of container */ | |
- | + | height:100%; | |
- | + | display:none; /* hide by default */ | |
+ | /* styling bellow */ | ||
+ | background:#5d8aa8 ; | ||
+ | color:white; | ||
+ | opacity:0.8; | ||
+ | } | ||
+ | .captionazul .captionInside{ | ||
+ | /* just styling */ | ||
+ | padding:10px; | ||
+ | margin:0px; | ||
+ | } | ||
+ | .clear { clear:both; } /* to clear the float after the last item * | ||
</style> | </style> | ||
</head> | </head> |
Revision as of 01:32, 16 September 2012