Skip to content

Commit 11a483f

Browse files
committed
Show OCE Materials and ccwr in the hero on phones too
1 parent ce6af95 commit 11a483f

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎assets/css/hub.css‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ button.btn.sm { font-size: 14px; }
826826
@media (prefers-reduced-motion: reduce) { .hdr-ev-dot { animation: none; } }
827827

828828
/* Learning passport: header button, stamps, toast, dialog */
829-
.pass-btn { font: inherit; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--rule)); background: var(--accent-soft); color: var(--accent); cursor: pointer; flex-shrink: 0; }
829+
.pass-btn { font: inherit; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--rule)); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); cursor: pointer; flex-shrink: 0; }
830830
.pass-btn b { font-variant-numeric: tabular-nums; color: var(--ink); }
831831
.pass-btn:hover { border-color: var(--accent); }
832832
.pass-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@@ -2243,8 +2243,7 @@ dialog.sheet .toast:not(.show) { transition: opacity .25s ease, visibility 0s li
22432243
@media (max-width: 860px) {
22442244
.hero .banner { padding: 24px 20px; align-items: stretch; }
22452245
.hero .banner-side { width: 100%; margin-top: 16px; }
2246-
/* on a phone the hero keeps three open-source links; the rest are one tap away in the curriculum */
2247-
.hero .featured li:nth-child(n+4) { display: none; }
2246+
/* on a phone the hero keeps every open-source link, one short line each */
22482247
.hero .featured .d { display: none; }
22492248
.hero .banner-cta .pill { min-height: 44px; }
22502249
}

‎data/featured.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"url": "https://github.com/CausalInferenceLab/Lang2SQL"
2222
},
2323
{
24-
"tag": "강의 자료",
25-
"title": "온라인 실험 이해하기",
26-
"desc": "A/B 테스트와 온라인 통제 실험 스터디 자료",
24+
"tag": "스터디 자료",
25+
"title": "OCE Materials",
26+
"desc": "온라인 통제 실험(A/B 테스트) 스터디 16회 자료",
2727
"repo": "OCE-Materials",
2828
"url": "https://github.com/CausalInferenceLab/OCE-Materials"
2929
},

0 commit comments

Comments
 (0)