-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyles.scss
More file actions
216 lines (179 loc) · 3.76 KB
/
styles.scss
File metadata and controls
216 lines (179 loc) · 3.76 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
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
/*-- scss:defaults --*/
// System font stack
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
// Link colors
$link-color: #1a3771 !default;
$link-hover-color: #0f2347 !default;
// Navbar colors
$navbar-bg: #1a3771 !default;
$navbar-brand-color: #ffffff !default;
$navbar-nav-link-color: #ffffff !default;
/*-- scss:rules --*/
body {
font-family: $font-family-sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: $font-family-sans-serif;
}
.navbar {
background-color: $navbar-bg !important;
font-size: 15px;
font-weight: 300;
}
.navbar-brand, .navbar-title {
color: rgba(255, 255, 255, 0.8) !important;
font-weight: 300;
}
.navbar-brand:hover, .navbar-title:hover {
color: #ffffff !important;
}
.navbar-nav .nav-link {
color: rgba(255, 255, 255, 0.8) !important;
font-weight: 300;
text-decoration: none;
}
.navbar-nav .nav-link:hover {
color: #ffffff !important;
}
.navbar-toggler {
border-color: #ffffff;
}
.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
// Landing page content - matching scholcomm_analytics width
.quarto-title-block {
max-width: 900px;
margin: 0 auto;
}
// Introductory text on landing page
#quarto-content > p {
max-width: 900px;
margin-left: auto;
margin-right: auto;
}
// Lead paragraph styling - matching scholcomm_analytics
.lead {
font-size: 1.2rem;
font-weight: 300;
line-height: 1.55;
margin-bottom: 2.5rem;
}
// Reduce gap before blog post listing
#quarto-content h2 {
margin-bottom: 1rem;
}
// Blog post listing styles - matching scholcomm_analytics width
.posts-list {
max-width: 900px;
margin: 0 auto;
padding: 0 1.5rem;
padding-bottom: 0;
margin-top: 0;
}
.posts-list-caption {
text-align: center;
margin-bottom: 2rem;
font-size: 2rem;
font-weight: 300;
color: #333;
}
.post-preview {
display: block;
text-decoration: none;
color: inherit;
margin-bottom: 2rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
&.post-preview-last {
border-bottom: none;
}
}
.metadata {
display: flex;
align-items: center;
margin-bottom: 1rem;
font-size: 0.9rem;
color: #666;
}
.publishedDate {
margin-right: 1rem;
font-weight: 500;
}
.dt-authors {
display: flex;
gap: 0.5rem;
}
.dt-author {
color: #1a3771;
font-weight: 500;
&:not(:last-child)::after {
content: ", ";
color: #666;
margin-left: 0.2rem;
}
}
.thumbnail {
float: right;
margin-left: 1.5rem;
margin-bottom: 1rem;
width: 200px;
height: 150px;
overflow: hidden;
img {
object-fit: cover;
width: 100%;
height: 100%;
transition: transform 0.3s ease;
}
}
/*.post-preview:hover .thumbnail img {
transform: scale(1.05);
}*/
.description {
overflow: hidden;
h2 {
margin-top: 0;
margin-bottom: 0.5rem;
font-size: 1.4rem;
font-weight: 600;
line-height: 1.3;
color: #1a3771;
}
p {
margin-top: 0.5rem;
line-height: 1.6;
color: #555;
}
}
.dt-tags {
margin-bottom: 0.5rem;
// Add tag styling if needed
}
// Responsive design
@media (max-width: 768px) {
.posts-list {
padding: 1rem;
}
.thumbnail {
float: none;
width: 100%;
height: 200px;
margin-right: 0;
margin-bottom: 1rem;
}
.description h2 {
font-size: 1.2rem;
}
.metadata {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
.publishedDate {
margin-right: 0;
}
}
img.logo {
box-sizing: border-box;
}