-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcustom.scss
More file actions
152 lines (124 loc) · 2.53 KB
/
custom.scss
File metadata and controls
152 lines (124 loc) · 2.53 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
/*-- scss:defaults --*/
$link-decoration: none !default;
$primary: #034e79;
.navbar {
font-weight: 500;
font-family: Oswald, sans-serif;
letter-spacing: .1em;
.navbar-title {
font-size: 1.2em;
color: #ffffff;
letter-spacing: .25em;
font-weight: lighter !important;
}
li:nth-child(1) {
display: none;
}
}
.footer {
// Make footer adopt the same positioning and styling as .nav-footer
position: fixed;
bottom: -20px;
width: 100%;
z-index: 1000;
padding: 0; // Remove default padding
margin: 0; // Remove default margin
min-height: fit-content !important;
}
.title {
display: none;
}
/*-- scss:rules --*/
h1 {
letter-spacing: .1em;
}
h2 {
letter-spacing: .08em;
}
h3 {
letter-spacing: .06em;
}
h4 {
letter-spacing: .04em;
}
h5 {
letter-spacing: .02em;
}
h6 {
letter-spacing: .01em;
}
.publi {
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
}
// Remove link styling from article titles and section titles
.card-title a,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
text-decoration: none !important;
color: inherit !important;
&:hover {
text-decoration: none !important;
color: inherit !important;
}
&:focus {
text-decoration: none !important;
color: inherit !important;
}
&:visited {
color: inherit !important;
}
}
// Specifically for publication titles
.year-section .card-title a {
color: inherit !important;
text-decoration: none !important;
&:hover {
color: $primary !important;
text-decoration: none !important;
}
}
// Override year section titles to use normal text color instead of primary
.year-section h2,
h2.text-primary {
color: inherit !important;
}
// h1, h2, h3, h4, h5, h6 {
// text-shadow: -1px -1px 0 rgba(0, 0, 0, .3);
// }
div.quarto-post {
display: block;
}
.navbar-logo {
max-height: 35px;
width: auto;
padding-right: 10px;
}
p {
text-align: justify;
}
// Ensure anchor scrolling works inside grid/flex containers
.publication-anchor, a[id] {
scroll-margin-top: 80px; // Adjust to your header height
}
@media (max-width: 600px) {
a[id], .publication-anchor {
scroll-margin-top: 120px; // or more, adjust to your mobile header height
}
}
.nav-footer-center {
height: 0px;
max-height: 0px;
overflow: hidden;
display: flex;
justify-content: center;
}
.nav-footer-left {
display: inline-block;
margin: 0 10px;
font-size: 0.9em;
}
@media screen and (max-width: 768px) {
.nav-footer-center {
display: none; // Hide left footer on small screens
}
}