-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.scss
More file actions
191 lines (122 loc) · 3.51 KB
/
custom.scss
File metadata and controls
191 lines (122 loc) · 3.51 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
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
/*-- scss:defaults --*/
// Base document colors
// $body-bg: #181818;
// $body-color: white;
$base-color: #A23E48;
$link-color: $base-color;
$highlight-color: #fafafa;
$link-color: $base-color;
$link-hover-color: #d68a92;
$sidebar-bg: $highlight-color;
$navbar-bg: $highlight-color;
$input-bg: #ffffff;
$dark-text: #51514f;
$font-size-root: 1.05em;
$font-size-sidebar-link: 1.2*$font-size-root;
$font-size-sidebar-header: $font-size-sidebar-link;
// Code blocks
$code-block-bg-alpha: -.8;
.sidebar-item-text {
font-size: $font-size-sidebar-link;
}
.sidebar-title.mb-0.py-0 a {
font-size: $font-size-sidebar-header;
}
div.sidebar-item-container .active{
font-weight: bold;
}
.quarto-sidebar-header p {
padding-bottom: 0em;
margin-bottom: 0em;
}
.display-name {
color: $dark-text;
}
$link-underline-color: #dee2e6;
$font-family-serif: system-ui, -apple-system, "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
$font-family-sans-serif: system-ui, -apple-system, "Source Sans Pro", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
// Publication list
// lots of this code taken from Andrew Heiss's theme
// https://github.com/andrewheiss/ath-quarto/blob/main/html/ath.scss
.pub-list {
.pub {
display: flex;
flex-direction: row;
line-height: 1.3;
margin-bottom: 1.5em;
column-gap: 1em;
.thumbnail {
flex: 0 0 15%;
align: center;
img {
// width: 100%;
object-fit: cover;
max-width: 100px;
align-self: center;
}
}
.body {
flex: 1 1 auto;
}
.title {
font-weight: 500;
font-size: 1.3em;
margin-bottom: 0.2em;
line-height: 1.2;
}
.description {
font-weight: 300;
font-size: 1em;
margin-bottom: 0.3em;
}
.pub-categories {
display: flex;
flex-wrap: wrap;
row-gap: 0.4em;
column-gap: 0.4em;
margin: 0.5em 0;
.pub-category {
color: $gray-600;
border: 1px solid $gray-500;
border-radius: 0.25rem;
// text-transform: uppercase;
font-size: 0.65em;
padding: 0.15em 0.5em;
// cursor: pointer;
}
}
.venue {
font-weight: 400;
font-size: 0.9em;
margin-bottom: 0.2em;
font-style: italic;
}
}
}
// Blog categories
#quarto-margin-sidebar {
.quarto-listing-category-title {
margin-left: 0.5em;
}
.quarto-listing-category {
// font-family: $toc-font-family;
font-weight: 300;
font-size: 1em;
line-height: 1.1;
padding-left: 0.6rem;
margin-left: 0.5em;
// border-left: 1px solid $gray-200;
.category {
padding-bottom: 0.5rem;
}
.active {
font-weight: 700;
color: $base-color;
}
.quarto-category-count {
font-weight: 200;
font-size: 0.8em;
color: $gray-600;
}
}
}