-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
114 lines (94 loc) · 1.57 KB
/
Copy pathstyles.css
File metadata and controls
114 lines (94 loc) · 1.57 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
p, li, ul{
line-height: 29px;
margin-bottom: 15px;
}
p{
padding-left: 18px;
}
li{
margin-left: 18px;
padding-left: 18px;
}
code{
background-color: #6c736e;
display: block;
margin-left: 35px;
padding: 20px;
border-radius: 8px;
line-height: 25px;
position: relative;
text-align: left;
word-wrap: normal;
word-break: normal;
white-space: pre;
}
@media screen and (max-width: 740px) {
body{
margin: 0;
font-family: 'Playfair Display', serif;
padding-bottom: 20px;
background-color: #0f0f0f;
color: white;
}
#navbar{
overflow-y: scroll;
height: 300px;
border-bottom: 1px solid black;
}
.nav-link{
display: block;
padding: 12px;
padding-left: 30px;
border-top: 1px solid black;
text-decoration: none;
color: white;
}
#navbar header{
position: sticky;
top: 0;
padding: 10px 10px 5px 10px;
color: white;
background-color: #0f0f0f;
text-align: center;
}
#main-doc{
padding: 30px;
}
}
@media screen and (min-width: 740px){
body{
display: flex;
margin: 0;
font-family: 'Playfair Display', serif;
padding-bottom: 20px;
background-color: #0f0f0f;
color: white;
}
#navbar{
border-right: 2px solid black;
width: 18em;
position: fixed;
overflow-y: scroll;
top: 0;
bottom: 0;
}
#navbar header{
position: sticky;
top: 0;
padding: 10px 10px 5px 10px;
color: white;
background-color: #0f0f0f;
}
.nav-link{
display: block;
padding: 10px;
border-top: 1px solid black;
text-decoration: none;
color: white;
}
#main-doc{
position: relative;
margin-left: 20em;
padding: 40px;
}
}