-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (88 loc) · 1.12 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
*{
margin:0;
padding:0;
}
body{
display:flex;
position: absolute;
font-family:Sans-serif;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
nav{
width:300px;
display:flex;
overflow:auto;
flex-direction:column;
}
header{
font-size:30px;
}
nav header{
position:fixed;
padding:20px;
background-color:#fff;
}
nav ul{
margin-top:75px;
}
nav ul li{
padding:20px;
list-style:none;
border-top:1px solid;
}
main{
flex:1;
overflow:auto;
padding:45px;
}
section{
margin-bottom:30px;
}
p{
margin-top:20px;
margin-bottom:20px;
}
main ul{
margin-left:60px;
}
main ul li{
margin-top:20px;
}
.nav-link{
color:#000;
text-decoration:none;
cursor:pointer;
}
code{
display:block;
padding:15px;
margin:15px;
line-height:2;
border-radius:7px;
background-color:#e0e0e0;
}
@media(max-width:650px){
body{
display:flex;
flex-direction:column;
position:relative;
}
nav{
height:250px;
position:relative;
width:100%;
}
nav header{
position:absolute;
background-color:#fff;
}
nav ul{
overflow:auto;
border:1px solid;
}
main{
}
}