File tree 1 file changed +13
-10
lines changed
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 4
4
font-family : "Lato" , sans-serif;
5
5
}
6
6
7
- .sidebar {
7
+ .sidenavbar {
8
8
margin : 0 ;
9
9
padding : 0 ;
10
10
padding-top : 50px ;
11
11
padding-left : 25px ;
12
12
padding-right : 25px ;
13
- width : 300px ;
13
+ width : 300px !important ;
14
14
background-color : blue;
15
15
color : white;
16
16
border-right : 1px solid # eee ;
17
17
position : fixed;
18
- top : 70px ;
18
+ top : 60px ;
19
+ left : 70px ;
19
20
height : 100% ;
20
21
overflow : auto;
21
22
}
22
23
23
- .sidebar h2 a {
24
+ .sidenavbar h2 a {
24
25
display : block;
25
26
color : black;
26
27
padding : 15px ;
27
28
background-color : rgb (81 , 125 , 255 ) !important ;
28
29
text-decoration : none;
29
30
}
30
31
31
- .sidebar h2 a .active {
32
+ .sidenavbar h2 a .active {
32
33
color : white;
33
34
}
34
35
35
- .sidebar h2 a : hover : not (.active ) {
36
+ .sidenavbar h2 a : hover : not (.active ) {
36
37
background-color : # 555 ;
37
38
color : white;
38
39
}
51
52
# sn .fill {
52
53
top : 0 ;
53
54
padding-top : 100px ;
55
+ width : 300px ;
56
+
54
57
}
55
58
56
59
@media screen and (max-width : 700px ) {
59
62
height : auto;
60
63
position : relative;
61
64
}
62
- .sidebar a {float : left;}
65
+ .sidenavbar a {float : left;}
63
66
div .content {margin-left : 0 ;}
64
67
}
65
68
79
82
<a href="#contact">Contact</a>
80
83
<a href="#about">About</a>
81
84
</div> -->
82
- < div id ="sn " class ="col-sm-3 col-md-2 sidebar ">
85
+ < div id ="sn " class ="col-sm-3 col-md-2 sidenavbar ">
83
86
84
87
85
88
@@ -93,7 +96,7 @@ <h2><a href="{% url 'html1' %}?data=style" class="btn btn-lg btn-block" style="c
93
96
94
97
</ div >
95
98
96
- < script >
99
+ <!-- < script>
97
100
98
101
const sidenav = document.querySelector("#sn");
99
102
@@ -104,5 +107,5 @@ <h2><a href="{% url 'html1' %}?data=style" class="btn btn-lg btn-block" style="c
104
107
});
105
108
106
109
107
- </ script >
110
+ </script> -->
108
111
You can’t perform that action at this time.
0 commit comments