Template:Nanouanl: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<style> | <style> | ||
/* CSSTerm.com Simple CSS menu */ | /* CSSTerm.com Simple CSS menu */ | ||
@media screen { | |||
body { background: #000000 0 0 no-repeat; /* changed default background */ } | |||
} | |||
#menu | |||
{ | |||
position: fixed; | |||
float: left; | |||
width: 180px; | |||
padding: 10px; | |||
background-color: #FFFFFF; | |||
} | |||
#pagecontent | |||
{ | |||
float: right; | |||
width: 620px; | |||
margin-left: 300px; | |||
min-height: 400px | |||
} | |||
#toc { display: none; } | |||
/*Expanding list*/ | |||
ul { list-style: none; } | |||
#exp li ul { display: none; } | |||
#exp li:hover ul { display: block; } | |||
#exp li a:active ul { display: block; } | |||
a:link {color:#FF6060;} | |||
a:visited {color:#FF6060;} /* visited link */ | |||
a:hover {color:#B24343;} /* mouse over link */ | |||
a:active {color:#B24343; } /* selected link */ | |||
.menu_simple ul { | .menu_simple ul { |
Revision as of 15:58, 25 October 2013
<html> <head> <link href='menu.css' rel='stylesheet' type='text/css'> </head>
<style> /* CSSTerm.com Simple CSS menu */
@media screen {
body { background: #000000 0 0 no-repeat; /* changed default background */ }
}
- menu
{
position: fixed; float: left; width: 180px; padding: 10px; background-color: #FFFFFF;
}
- pagecontent
{
float: right; width: 620px; margin-left: 300px; min-height: 400px
}
- toc { display: none; }
/*Expanding list*/ ul { list-style: none; }
- exp li ul { display: none; }
- exp li:hover ul { display: block; }
- exp li a:active ul { display: block; }
a:link {color:#FF6060;} a:visited {color:#FF6060;} /* visited link */ a:hover {color:#B24343;} /* mouse over link */ a:active {color:#B24343; } /* selected link */
.menu_simple ul {
margin: 0; padding: 0; width:185px; list-style-type: none;
}
.menu_simple ul li a {
text-decoration: none; color: white; padding: 10.5px 11px; background-color: #005555; display:block;
}
.menu_simple ul li a:visited {
color: white;
}
.menu_simple ul li a:hover, .menu_simple ul li .current {
color: white; background-color: #5FD367;
}
</style> <body> <img src="http://openwetware.org/images/b/b6/Nanouanl.png" width=180 height=180> </body> </html>