-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (70 loc) · 1.26 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.container{
width: 100%;
}
h1{
font-weight: bold;
font-size: 1.8rem;
}
#navbar{
width: 300px;
min-width: 290px;
display: flex;
height: 100%;
flex-direction: column;
border-right: solid;
position: fixed;
}
#main-doc{
margin: 0px 20px 0 300px;
text-align: justify;
padding: 10px 20px;
position: absolute;
}
.nav-link{
list-style-type: none;
font-size: 1rem;
cursor: pointer;
text-decoration: none;
color:black;
}
#navbar li{
border-top: solid 1px;
list-style-type: none;
text-align: start;
padding: 10px 30px;
}
code{
background-color: #F7F7F7;
width: 100%;
height: 30px;
display: block;
text-align: left;
padding: 15px;
margin: 10px 10px;
}
.nav-list{
padding: 0;
}
@media (max-width: 480px) {
#navbar {
background-color: aliceblue;
position: absolute;
height: 100%;
max-height: 300px;
z-index: 1;
border: 0;
min-width: 100%;
top: 0;
}
#main-doc {
background-color: aliceblue;
position: relative;
margin: 300px 0 0 0;
}
.nav-list {
max-height: 275px;
overflow-y: auto;
border-bottom: solid 1px;
border: 1px solid;
}
}