Skip to content

Commit 95b4d5e

Browse files
committed
improve design/layout
1 parent f1343a2 commit 95b4d5e

13 files changed

Lines changed: 1277 additions & 308 deletions

File tree

‎pages/about/sponsorship/index.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ description: >
77
date: "2026-06-17"
88
authors: ["OSL Team"]
99
template: single-sidebar.html
10+
section_label: "Support OSL"
11+
page_theme: sponsorship
12+
hero_words: ["Sponsor", "Sustain", "Scale"]
1013
---
1114

1215
# Sponsorship

‎pages/index.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: Open Science Labs
33
authors:
4-
- Ivan Ogasawara
5-
- Ever Vino
4+
- OSL Team
65
date: 2023-10-30
76
template: home.html
87
partners:

‎theme/css/blog.css‎

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,13 @@
161161
.blog-article--feature{
162162
width: min(1120px, 100%);
163163
margin: 0 auto;
164+
--blog-accent: var(--brand-strong, #087fa8);
165+
--blog-accent-rgb: 8, 127, 168;
164166
}
165167

166168
.blog-hero{
167169
overflow: hidden;
170+
position: relative;
168171
display: grid;
169172
grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
170173
gap: clamp(1.1rem, 3vw, 2rem);
@@ -175,10 +178,28 @@
175178
border-radius: clamp(1.35rem, 4vw, 2.2rem);
176179
background:
177180
radial-gradient(circle at 14% 10%, rgba(255,170,0,.18), transparent 18rem),
181+
radial-gradient(circle at 92% 20%, rgba(var(--blog-accent-rgb), .18), transparent 22rem),
178182
linear-gradient(135deg, var(--surface), var(--surface-muted));
179183
box-shadow: var(--shadow-soft);
180184
}
181185

186+
.blog-hero::before{
187+
content: "";
188+
position: absolute;
189+
inset: 0;
190+
pointer-events: none;
191+
background-image:
192+
radial-gradient(circle at 16% 22%, rgba(var(--blog-accent-rgb), .28) 0 2px, transparent 2.8px),
193+
radial-gradient(circle at 28% 70%, rgba(255,170,0,.28) 0 1.8px, transparent 2.6px),
194+
radial-gradient(circle at 78% 18%, rgba(var(--blog-accent-rgb), .20) 0 2px, transparent 2.8px);
195+
opacity: .7;
196+
}
197+
198+
.blog-hero > *{
199+
position: relative;
200+
z-index: 1;
201+
}
202+
182203
.blog-hero__content{
183204
display: flex;
184205
flex-direction: column;
@@ -191,7 +212,7 @@
191212
align-items: center;
192213
gap: .5rem;
193214
margin: 0 0 .8rem;
194-
color: var(--brand-strong);
215+
color: var(--blog-accent);
195216
font-size: .78rem;
196217
font-weight: 800;
197218
letter-spacing: .12em;
@@ -203,8 +224,8 @@
203224
width: .55rem;
204225
height: .55rem;
205226
border-radius: 999px;
206-
background: var(--accent);
207-
box-shadow: 0 0 0 6px rgba(255,170,0,.16);
227+
background: var(--blog-accent);
228+
box-shadow: 0 0 0 6px rgba(var(--blog-accent-rgb), .16);
208229
}
209230

210231
.blog-hero h1{
@@ -382,3 +403,37 @@
382403
writing-mode: initial;
383404
}
384405
}
406+
407+
/* Editorial redesign: sharper blog and index presentation */
408+
.blog-hero{
409+
border: 0;
410+
border-radius: 0;
411+
box-shadow: none;
412+
background:
413+
linear-gradient(90deg, var(--blog-accent) 0 .5rem, transparent .5rem),
414+
linear-gradient(112deg, rgba(var(--blog-accent-rgb), .12) 0 34%, transparent 34.2%),
415+
var(--surface-solid);
416+
}
417+
418+
.blog-hero__media{
419+
border-radius: 0;
420+
}
421+
422+
.blog-share-panel{
423+
border-radius: 0;
424+
box-shadow: none;
425+
}
426+
427+
.excerpt{
428+
border-radius: 0;
429+
box-shadow: none;
430+
}
431+
432+
.excerpt:hover{
433+
box-shadow: none;
434+
}
435+
436+
.post_tag,
437+
.excerpt_more.button{
438+
border-radius: 0;
439+
}

0 commit comments

Comments
 (0)