-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbackup_styles.css
198 lines (171 loc) · 3.68 KB
/
backup_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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
body {
font-family: "Lato", sans-serif;
transition: margin-left .5s;
margin: 0px;
padding: 0px;
}
h1, h2, h3 {
color: var(--hnn-violet);
font-family: "Fira Sans", Helvetica, Arial, sans-serif;
font-weight: bold;
}
.sidebar {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: var(--hnn-violet);
/* overflow-x: hidden; */
overflow: hidden;
transition: 0.3s;
padding-top: 10px;
}
.sidebar a, p {
padding: 8px 24px 8px 24px;
text-decoration: none;
font-size: 17px;
color: #ffffff;
display: block;
transition: 0.3s;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sidebar p {
margin: 0px;
}
.sidebar a:hover {
color: var(--hnn-yellow);
}
.submenu {
display: none; /* Hide submenu by default */
padding-left: 20px; /* Optional: Indentation for the submenu items */
}
.sidebar-list .submenu {
display: none; /* Hide submenus by default */
margin-left: 0px; /* Optional: indentation for submenu items */
}
.sidebar-list .submenu.open {
display: block; /* Show the submenu when the 'open' class is added */
transition: max-height 0.3s ease-in-out; /* Smooth transition for showing */
}
.topbar {
height: 50px;
display: flex;
align-items: center;
padding: 0 0px;
border-bottom: 2.5px solid lightgrey;
width: 100%;
}
.topbar img {
height: 30px;
width: auto;
margin-left: auto;
padding: 0px 20px;
}
.openbtn {
font-size: 25px;
cursor: pointer;
background: none;
color: #bababa;
padding: 0px 10px 2px 20px;
border: none;
height: inherit;
}
.openbtn:hover {
color: #444;
}
.dropdown {
height: inherit;
align-items: center;
position: relative;
display: inline-flex;
font-size: 20px;
cursor: pointer;
background: none;
color: #bababa;
border: none;
}
.dropdown-button {
all: unset; /* Remove default button styles */
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 0px 10px;
}
.dropdown-content {
display: none;
position: absolute;
top: 100%;
background-color: #f9f9f9;
min-width: 95px;
box-shadow: 0px 4px 16px 0px rgba(0,0,0,0.2);
padding: 5px 5px;
}
#dropdownButton span {
font-family: 'Merriweather', Georgia, serif;
}
.fontsize-btn {
font-family: 'Merriweather', Georgia, serif;
font-size: 20px;
cursor: pointer;
background: none;
color: #bababa;
padding: 5px 10px;
border: none;
}
.fontsize-btn:hover {
color: #444;
}
#main {
transition: margin-left 0.5s;
padding: 0px;
margin: 0px;
display: flex;
flex-direction: column;
align-items: center;
}
#content-wrapper {
width: 100%;
max-width: 920px;
padding: 0 40px;
box-sizing: border-box;
}
#content {
padding: 10px;
width: 100%;
font-size: 20px;
}
#content p {
display: block;
color: #333;
font-size: inherit;
padding: 0px;
line-height: 1.6;
font-family: 'Merriweather', Georgia, serif;
overflow-wrap: break-word;
word-wrap: break-word;
white-space: normal;
}
/* On smaller screens, where height is less than 450px,
change the style of the sidenav */
@media screen and (max-height: 450px) {
.sidebar {padding-top: 15px;}
.sidebar a {font-size: 18px;}
}
/* Custom HNN colors */
.hnn-blue { color: #1156A3; }
.hnn-purple { color: #474095; }
.hnn-violet { color: #812A89; }
.hnn-yellow { color: #e5a734; }
:root {
--hnn-blue: #1156A3;
--hnn-purple: #474095;
--hnn-violet: #812A89;
--hnn-yellow: #e5a734;
}