forked from drganghe/quarto-academic-website-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
25 lines (23 loc) · 697 Bytes
/
styles.css
File metadata and controls
25 lines (23 loc) · 697 Bytes
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
/* css styles */
/* Make hero-heading content scrollable */
#hero-heading {
max-height: 500px; /* adjust height as desired */
overflow-y: auto; /* vertical scroll */
padding-right: 1rem; /* avoid scrollbar overlap */
scrollbar-width: thin; /* Firefox */
scrollbar-color: #999 transparent; /* Firefox */
}
/* Optional: make the scrollbar look nice in Chrome/Safari */
#hero-heading::-webkit-scrollbar {
width: 8px;
}
#hero-heading::-webkit-scrollbar-track {
background: transparent;
}
#hero-heading::-webkit-scrollbar-thumb {
background-color: #999;
border-radius: 4px;
}
#hero-heading::-webkit-scrollbar-thumb:hover {
background-color: #666;
}