Repository navigation
Expand file tree
/
Copy pathtechdocu.css
More file actions
125 lines (108 loc) · 1.9 KB
/
Copy pathtechdocu.css
File metadata and controls
125 lines (108 loc) · 1.9 KB
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
125
* {
box-sizing: border-box;
}
body {
min-width: 300px;
font-family: sans-serif;
display: flex;
line-height: 1.5;
margin: 0;
}
#navbar{
position: fixed;
min-width: 300px;
top: 0px;
left: 0px;
width: 300px;
height: 100%;
border-right: solid grey;
background-color: #eee;
}
main{
height: 100vh;
overflow-y: scroll;
}
header{
color: black;
margin: 10px;
text-align: center;
font-size: 2rem;
font-weight: thin;
}
nav header {
padding: 15px;
}
#navbar ul{
height: 80%;
padding: 0;
overflow-x: auto;
overflow-y: scroll;
}
#navbar li {
color:grey;
border-top: 1px solid;
list-style: none;
position: relative;
width: 100%;
}
#navbar a {
color: #000;
display: block;
padding: 15px 30px;
text-decoration: none;
cursor: pointer;
}
#main-doc {
position: absolute;
margin-left: 310px;
padding: 30px;
margin-bottom: 120px;
}
#main-doc header{
text-align: left;
margin: 0px;
}
#customList ul{
list-style-type: none;
columns: 2;
-webkit-columns: 2;
-moz-columns: 2;
}
#codeComment {
color: green;
}
#warning{
color: red;
}
code {
display: block;
text-align: left;
white-space: pre-line;
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) {
#navbar ul {
border: 1px solid;
height: 210px;
}
}
@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;
}
}