-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
124 lines (118 loc) · 2.24 KB
/
main.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
html,body{
min-width: 290px;
color: #4d4e53;
background-color: #ffffff;
font-family: 'Open Sans',Arial,sans-serif;
line-height: 1.5;
}
#navbar{
position: fixed;
top: 0px;
left: 0px;
border-right: 4px solid #00161666;
border-color: #00161666;
height: 100%;
width: 300px;
min-width: 290px;
}
header{
color: #000;
font-size: 30px;
margin: 10px;
text-align: center;
font-size: 1.8em;
font-weight: thin;
}
#main-doc header{
/* font-size: 30px; */
margin: 0px;
text-align: left;
}
#navbar ul{
overflow-y: auto;
overflow-x: hidden;
height: 88%;
}
#navbar li {
color: #4d4e53;
border: 1px solid;
border-bottom-width: 0px;
padding: 8px;
padding-left: 45px;
list-style: none;
position: relative;
left:-50px;
width: 100%;
}
#navbar a{
color: #4d4e53;
cursor: pointer;
text-decoration: none;
}
#main-doc{
position: absolute;
margin-left: 310px;
padding: 20px;
margin-bottom: 110px;
}
section li{
margin: 15px 0px 0px 20px;
}
section article {
color: #4d4e53;
margin: 15px;
font-size: 15px;
}
code {
display: block;
text-align: left;
white-space: pre;
position: relative;
word-break: normal;
word-wrap: normal;
line-height: 2;
background-color: #f7f7f7;
padding: 15px;
margin: 10px;
border-radius: 5px;
}
@media only screen and (max-width: 815px) {
/* For mobile phones: */
#navbar ul{
border:1px solid;
height:207px;
}
#navbar{
background-color:white;
position:absolute;
top:0;
padding:0;
margin: 0;
width:100%;
max-height:275px;
border:none;
z-index:1;
border-bottom:2px solid;
}
#main-doc{
position: relative;
margin-left:0px;
margin-top:270px;
}
#main-doc section {
/* padding-top: 240px; */
}
}
@media only screen and (max-width: 400px) {
#main-doc{
margin-left:-10px;
}
code{
margin-left:-20px;
width:100%;
padding:15px;
padding-left:10px;
padding-right:45px;
min-width:233px;
}
}