Skip to content

Commit 267a93f

Browse files
committed
test
1 parent 8212f57 commit 267a93f

2 files changed

Lines changed: 149 additions & 4 deletions

File tree

assets/css/custom.css

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,140 @@
193193
[data-wc-theme="dark"] .content .news-light-blue a:hover {
194194
color: #dbeafe !important;
195195
}
196+
197+
/* Hide images in blog posts */
198+
.article-container img,
199+
.post-content img,
200+
.content img,
201+
.blog-post img,
202+
.article img {
203+
display: none !important;
204+
}
205+
206+
/* Hide featured images in blog listings */
207+
.blog-card img,
208+
.post-card img,
209+
.collection img {
210+
display: none !important;
211+
}
212+
213+
/* Ensure blog posts are text-only */
214+
.blog-content,
215+
.post-content,
216+
.article-content {
217+
img {
218+
display: none !important;
219+
}
220+
}
221+
222+
/* Light blue frame for blog post cards */
223+
.collection .card,
224+
.blog-card,
225+
.post-card,
226+
.article-card {
227+
background-color: #e6f3ff !important; /* Light blue background */
228+
border: 2px solid #b3d9ff !important; /* Light blue border */
229+
border-radius: 12px !important; /* Rounded corners */
230+
box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1) !important; /* Subtle blue shadow */
231+
transition: all 0.3s ease !important; /* Smooth transitions */
232+
margin-bottom: 1.5rem !important;
233+
}
234+
235+
.collection .card:hover,
236+
.blog-card:hover,
237+
.post-card:hover,
238+
.article-card:hover {
239+
background-color: #d1ecf1 !important; /* Slightly darker blue on hover */
240+
border-color: #87ceeb !important; /* Darker border on hover */
241+
transform: translateY(-2px) !important; /* Slight lift effect */
242+
box-shadow: 0 6px 12px rgba(0, 123, 255, 0.15) !important; /* Enhanced shadow on hover */
243+
}
244+
245+
/* Blog post card content styling */
246+
.collection .card-body,
247+
.blog-card .card-body,
248+
.post-card .card-body,
249+
.article-card .card-body {
250+
padding: 1.5rem !important;
251+
color: #2c5aa0 !important; /* Dark blue text */
252+
}
253+
254+
.collection .card-title,
255+
.blog-card .card-title,
256+
.post-card .card-title,
257+
.article-card .card-title {
258+
color: #1e40af !important; /* Darker blue for titles */
259+
font-weight: 700 !important;
260+
margin-bottom: 1rem !important;
261+
}
262+
263+
.collection .card-text,
264+
.blog-card .card-text,
265+
.post-card .card-text,
266+
.article-card .card-text {
267+
color: #4a6fa5 !important; /* Medium blue for text */
268+
line-height: 1.6 !important;
269+
margin-bottom: 1rem !important;
270+
}
271+
272+
/* Ensure summary is displayed */
273+
.collection .summary,
274+
.blog-card .summary,
275+
.post-card .summary,
276+
.article-card .summary {
277+
display: block !important;
278+
color: #4a6fa5 !important;
279+
font-style: italic !important;
280+
margin-bottom: 1rem !important;
281+
padding: 0.75rem !important;
282+
background-color: rgba(255, 255, 255, 0.5) !important;
283+
border-radius: 8px !important;
284+
border-left: 4px solid #87ceeb !important;
285+
}
286+
287+
/* Dark mode adjustments for blog cards */
288+
[data-wc-theme="dark"] .collection .card,
289+
[data-wc-theme="dark"] .blog-card,
290+
[data-wc-theme="dark"] .post-card,
291+
[data-wc-theme="dark"] .article-card {
292+
background-color: #1a365d !important; /* Dark blue background */
293+
border-color: #2d5a87 !important; /* Dark blue border */
294+
}
295+
296+
[data-wc-theme="dark"] .collection .card:hover,
297+
[data-wc-theme="dark"] .blog-card:hover,
298+
[data-wc-theme="dark"] .post-card:hover,
299+
[data-wc-theme="dark"] .article-card:hover {
300+
background-color: #2c5aa0 !important; /* Darker blue on hover */
301+
border-color: #4a6fa5 !important; /* Lighter border on hover */
302+
}
303+
304+
[data-wc-theme="dark"] .collection .card-body,
305+
[data-wc-theme="dark"] .blog-card .card-body,
306+
[data-wc-theme="dark"] .post-card .card-body,
307+
[data-wc-theme="dark"] .article-card .card-body {
308+
color: #e6f3ff !important; /* Light blue text */
309+
}
310+
311+
[data-wc-theme="dark"] .collection .card-title,
312+
[data-wc-theme="dark"] .blog-card .card-title,
313+
[data-wc-theme="dark"] .post-card .card-title,
314+
[data-wc-theme="dark"] .article-card .card-title {
315+
color: #e6f3ff !important; /* Light blue for titles */
316+
}
317+
318+
[data-wc-theme="dark"] .collection .card-text,
319+
[data-wc-theme="dark"] .blog-card .card-text,
320+
[data-wc-theme="dark"] .post-card .card-text,
321+
[data-wc-theme="dark"] .article-card .card-text {
322+
color: #b3d9ff !important; /* Medium light blue for text */
323+
}
324+
325+
[data-wc-theme="dark"] .collection .summary,
326+
[data-wc-theme="dark"] .blog-card .summary,
327+
[data-wc-theme="dark"] .post-card .summary,
328+
[data-wc-theme="dark"] .article-card .summary {
329+
color: #b3d9ff !important;
330+
background-color: rgba(0, 0, 0, 0.2) !important;
331+
border-left-color: #4a6fa5 !important;
332+
}

content/blog/_index.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ date: 2023-10-24
44
type: landing
55

66
design:
7-
spacing: '5rem'
7+
spacing: '3rem'
88

99
# Page sections
1010
sections:
1111
- block: collection
1212
content:
13-
title: Blog
14-
subtitle: 'more to come soon'
13+
title: blog
14+
subtitle:
1515
text: ''
1616
page_type: blog
1717
count: 10
@@ -26,5 +26,13 @@ sections:
2626
offset: 0
2727
order: desc
2828
design:
29-
view: card
29+
view: citation
30+
show_date: true
31+
show_read_time: false
32+
show_read_more: true
33+
show_image: false
34+
show_links: false
35+
show_summary: true
36+
columns: '1'
37+
css_class: 'text-left'
3038
---

0 commit comments

Comments
 (0)