-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (90 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
body {
font-family: 'Roboto', sans-serif;
font-size: 1.8rem;
}
#navbar {
display: flex;
flex-flow: column nowrap;
}
#navbar > header {
background-color: #2ECC71;
color: #ffffff;
font-size: 2.8rem;
padding: 0.5em;
width: 100%;
text-align: center;
}
.nav-link {
background-color: #2C3E50;
border: 1px solid #233240;
color: #ffffff;
cursor: pointer;
padding: 0.5em 0 0.5em 1.5em;
width: 100%;
text-decoration: none;
transition: all 0.1s ease;
}
.nav-link:hover {
background-color: #2ECC71;
}
.main-section {
display: flex;
flex-flow: column nowrap;
}
.main-section > header {
border-bottom: 3px solid #2ECC71;
font-size: 2.8rem;
margin: 0 auto;
padding: 0.6em 0;
width: 92%;
}
.main-section > p {
margin: 0 auto;
padding-top: 1em;
width: 92%;
}
ul {
margin: 0 auto;
padding-top: 0.5em;
width: 80%;
}
ul > li {
padding-top: 0.5em;
}
code {
background-color: #BDC3C7;
display: block;
font-size: 1.6rem;
margin: 1em auto;
min-width: 340px;
white-space: pre;
width: 92%;
}
@media (max-width: 350px) {
code {
font-size: 1.4rem;
min-width: 300px;
}
}
@media (min-width: 992px) {
body {
display: flex;
flex-flow: row nowrap;
}
#navbar {
position: fixed;
width: 20%;
}
#main-doc {
margin-left: 20%;
width: 80%;
}
}