float: left;
}
-#menu
-{
- position: fixed;
- left: -40%;
- width: 40%;
- top: 0%;
- height: 100%;
- background: #ccc;
- margin: 0px 0px 0px 15px;
- padding: 200% 0px 0px 0px;
- transition: 0.5s;
-}
-
-#menu:hover {
- top: 0em;
- left: 0em;
- margin: 0em 0em 0em 0em;
- padding: 0em 15px 0em 15px;
- background: #aaa;
- overflow: auto;
-}
-
#title
{
vertical-align: middle;
#chapter_list {
font-size: 120%;
}
+
+.dropdown {
+ position: fixed;
+ top: 0; /* Position the navbar at the top of the page */
+ left: 0;
+}
+
+.dropdown-content {
+ display: none;
+ background-color: #8aa;
+ min-width: 300px;
+ padding: 12px 12px;
+}
+
+.dropdown:hover .dropdown-content {
+ display: block;
+}