-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylesheet.css
118 lines (113 loc) · 2.24 KB
/
stylesheet.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
html,
body{
font-family:Verdana, Geneva, Tahoma, sans-serif;
background-color:#121212;
color:whitesmoke ;
line-height: 1.5em;
min-width:295px;
}
#navbar{
position:fixed;
top: 0px;
left: 0px;
width: 300px;
height: 100%;
border-right: solid;
background-color: rgb(241, 239, 239);
border-color: lightcyan;
}
header{
font-size: 1.8em;
font-weight: thin;
color:black;
text-align: center;
margin:10px;
}
#main-doc header{
text-align: left;
margin:5px;
color: wheat;
}
#navbar ul {
height: 88%;
padding: 0;
overflow-y: auto;
overflow-x: hidden;
}
#navbar li {
color: #4d4e53;
border-top: 1px solid;
list-style: none;
position: relative;
width: 100%;
}
#navbar a{
display: block;
text-decoration: none;
padding: 10px 22px;
cursor: pointer;
color:#4d4e53;
}
#main-doc{
position: absolute;
margin-left:310px;
margin-bottom: 150px;
padding:10px;
}
section article{
color:whitesmoke ;
margin: 15px;
font-size: 1em;
}
section li{
margin: 15px,0px,0px,20px;
}
code{
display: block;
text-align: left;
white-space: pre-line;
word-wrap: normal;
word-break: normal;
line-height: 2;
padding: 15px;
margin: 10px;
background-color: rgb(66, 65, 65);
border-radius: 10px;
}
@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;
}
}
@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;
}
}