File tree 2 files changed +29
-1
lines changed
2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,18 @@ body {
19
19
color : black;
20
20
background-color : # f8f9fa ;
21
21
}
22
+ a : hover , .mynav a : hover , .dropdown-menu .dropdown-item a : hover
23
+ {
24
+ background-color : rgb (185 , 203 , 255 );
25
+ border-radius : 50px ;
26
+ transition : 1s ;
27
+ }
28
+ .dark-mode .mynav a : hover
29
+ {
30
+ background-color : rgb (0 , 225 , 255 );
31
+ border-radius : 50px ;
32
+ transition : 1s ;
33
+ }
22
34
.center {
23
35
margin : auto;
24
36
width : 50% ;
@@ -121,7 +133,11 @@ max-width: 40rem;
121
133
color : # fff ;
122
134
background-color : # 3e3c3c ;
123
135
}
124
-
136
+ .dark-mode .dropdown-menu .dropdown-item
137
+ {
138
+ background-color : # fff ;
139
+ color : black;
140
+ }
125
141
.dark-mode .navbar-toggler
126
142
{
127
143
background-color : # fff ;
Original file line number Diff line number Diff line change 38
38
< span class ="sr-only "> (current)</ span >
39
39
</ a >
40
40
</ li >
41
+ < li class ="nav-item dropdown ">
42
+ < a class ="nav-link dropdown-toggle " href ="# " id ="navbarDropdown " role ="button " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
43
+ Diseases
44
+ </ a >
45
+ < div class ="dropdown-menu " aria-labelledby ="navbarDropdown ">
46
+ < a class ="dropdown-item " href ="/diabetes "> Diabetes Prediction</ a >
47
+ < a class ="dropdown-item " href ="/heart "> Heart Disease Prediction</ a >
48
+ < a class ="dropdown-item " href ="/cancer "> Cancer Prediction</ a >
49
+ < a class ="dropdown-item " href ="/fetal_health "> Fetal Health Prediction</ a >
50
+
51
+ </ div >
52
+ </ li >
41
53
< li class ="nav-item ">
42
54
< a class ="nav-link " href ="{{ url_for('about') }} "> About</ a >
43
55
</ li >
You can’t perform that action at this time.
0 commit comments