-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
148 lines (143 loc) · 2.48 KB
/
styles.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
*{
margin: 0;
padding: 0;
}
body{
font-family: 'Open Sans', sans-serif;
font-size: 16px;
line-height: 1.5;
color:rgb(3, 10, 117);
background-color:#fff;
}
#navbar{
position: fixed;
min-width: 290px;
top: 0;
left: 0;
width: 300px;
height: 100%;
background-color: #ededed;
}
header{
margin: 10px;
text-align: center;
font-size: 1.8rem;
font-weight: 800;
}
#main-doc header{
text-align: left;
margin: 15px 10px;
font-size: 2rem;
}
#navbar ul{
height: 88%;
overflow-y:auto ;
overflow-x: hidden ;
}
#navbar li{
list-style: none;
width: 100%;
color:rgb(3, 10, 117);
margin-left: 10px;
}
#navbar a{
text-decoration: none;
color:rgb(3, 10, 117);
padding: 10px 20px;
display: block;
cursor: pointer;
font-weight:400;
}
#navbar a:hover{
font-weight:600;
}
#main-doc{
position: absolute;
margin-left: 310px;
padding: 20px;
}
section article{
color:black;
margin: 10px;
}
section li{
margin:15px 0 0 30px;
}
h2{
color:rgb(3, 10, 117) ;
margin:10px 0;
}
p{
margin:15px 0px;
}
code{
display: block;
text-align: left;
white-space: pre-line;
border-radius:10px;
background-color:rgba(175, 179, 223, 0.863);
padding: 10px;
margin: 15px 0;
word-break: normal;
word-wrap: normal;
position: relative;
}
table{
width: 100%;
background-color: rgba(221, 223, 247, 0.863);
border-spacing:8px;
}
th , td{
background-color: rgba(160, 162, 201, 0.5);
border-collapse: collapse;
padding:15px;
}
td{
padding-left: 10px;
}
b{
background-color:rgba(227, 227, 240, 0.5) ;
font-weight: 400;
}
@media only screen and (max-width:815px){
#navbar ul{
height: 190px;
border-top: 2px solid rgba(3, 10, 117,0.5) ;
}
#navbar{
position:absolute;
top: 0;
left: 0;
width: 100%;
height: 275px;
z-index: 10;
}
#main-doc{
position: relative;
margin-top: 270px;
margin-left:10px;
padding: 20px;
}
#main-doc header{
padding-top: 10px;
}
}
@media only screen and (max-width:400px){
#main-doc{
margin-left:-10px;
padding-left:20px;
}
code{
width: 100%;
margin-left: -10px;
padding:15px;
min-width: 235px;
}
table{
font-size: 0.7em;
border-spacing: 5px;
}
th, td{
padding:5px;
}
}