/
style.css
108 lines (93 loc) · 1.54 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
106
107
108
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
h1,h2,h3,h4,h5,h6,p,a,li {
font-family: 'Open Sans', Arial, sans-serif;
font-weight: normal;
}
h1 {
font-size: 1.8em;
margin: 15px 0 21px 0;
}
h2 {
font-size: 1.8em;
margin-bottom: 20px;
}
p, li {
font-size: 0.96em;
line-height: 1.5;
margin-bottom: 16px;
}
p, a, li {
color: #4D4E53;
}
ul {
margin-left: 60px;
}
li {
margin-top: -1px;
}
nav {
display: flex;
flex-direction: column;
left: 0;
position: fixed;
top: 0;
width: 300px;
}
nav a {
border-top: 1px solid;
padding-left: 30px;
padding-bottom: 13px;
padding-top: 13px;
text-decoration: none;
}
header {
display: flex;
justify-content: center;
align-items: center;
}
main {
border-left: 3px solid #99A2A2;
margin-left: 300px;
padding: 33px 35px 785px 35px;
}
section {
padding-bottom: 5px;
}
section article {
margin-left: 15px;
}
code {
background-color: #F7F7F7;
border: 0;
border-radius: 5px;
color: #4d4e53;
display: block;
padding: 15px 0 15px 10px;
line-height: 2;
font-family: monospace;
font-size: 0.96em;
margin: 0 0 10px 10px;
}
@media (max-width: 815px) {
body {
display: flex;
flex-direction: column-reverse;
}
main {
border: 0;
margin-left: 0;
padding: 33px 35px 775px 35px;
width: 100%;
}
nav {
border-bottom: 2px solid black;
position: static;
overflow: scroll;
width: 100%;
height: 294px;
}
}