-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsidebar.css
More file actions
125 lines (108 loc) · 2.03 KB
/
Copy pathsidebar.css
File metadata and controls
125 lines (108 loc) · 2.03 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
sidebar-nav .header-branding {
color: var(--rdp-text-color);
}
sidebar-nav .home-page-link {
text-decoration: none;
cursor: pointer;
}
sidebar-nav {
position: sticky;
top: 0;
flex: 0 0 250px;
display: flex;
flex-direction: column;
align-items: flex-start;
height: 100vh;
overflow-y: auto;
}
sidebar-nav h1 {
font-family: "Times New Roman", Times, serif;
font-size: 1.8em;
font-weight: normal;
margin-bottom: 0.6em;
}
sidebar-nav .controls a {
color: var(--rdp-text-color);
text-decoration: none;
font-size: 0.875rem;
font-weight: bold;
margin-bottom: 0.4em;
}
sidebar-nav .controls a:hover {
text-decoration: underline;
}
sidebar-nav nav {
display: flex;
flex-direction: column;
}
sidebar-nav nav a {
color: var(--rdp-details-color);
text-decoration: underline;
font-size: 0.775rem;
}
sidebar-nav nav a:hover {
text-decoration: none;
}
.dp-snippet {
text-align: left;
margin-top: 4px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.dp-snippet div {
font-size: 0.75rem;
color: var(--rdp-details-color);
}
.dp-snippet a img {
margin-top: 4px;
width: 90px;
height: auto;
}
.release-version {
font-size: 0.75rem;
color: var(--rdp-details-color);
margin-top: 6px;
text-align: center;
}
.release-version a {
color: var(--rdp-details-color);
text-decoration: none;
}
.release-version a:hover {
text-decoration: underline;
}
@media screen and (max-width: 1280px) {
sidebar-nav {
flex: 0 0 200px;
margin-left: 14px;
}
}
@media screen and (max-width: 768px) {
sidebar-nav {
width: 100%;
position: fixed;
top: 0;
z-index: 100;
max-height: calc(100vh - 78vh);
overflow-y: auto;
align-items: center;
background-color: var(--bg-color);
}
sidebar-nav h1 {
margin-bottom: 0.2em;
text-align: center;
}
sidebar-nav nav {
text-align: center;
}
.dp-snippet {
text-align: center;
align-items: center;
}
}
@media screen and (max-width: 400px) {
sidebar-nav {
padding-bottom: 50px;
}
}