@@ -1199,3 +1199,136 @@ button.btn.sm { font-size: 14px; }
11991199 . goal-row . route-chips :: -webkit-scrollbar { display : none; }
12001200 . goal-row . route-chips . chip { flex-shrink : 0 ; }
12011201}
1202+
1203+ /* ==========================================================================
1204+ Curriculum as steps: one block per level, materials in a grid, makers first
1205+ ========================================================================== */
1206+ . shelf-bar { position : sticky; top : var ( --header-h , 64px ) ; z-index : 6 ; margin : 0 0 18px ; padding : 10px 0 ; background : var ( --paper ) ; }
1207+ . chapters { gap : 6px ; overflow-x : auto; scrollbar-width : none; }
1208+ . chapters :: -webkit-scrollbar { display : none; }
1209+ . chapters button { flex : 0 0 auto; padding : 8px 14px ; border-radius : 999px ; background : var ( --surface ) ; color : var ( --muted ) ; font-size : 14px ; font-weight : 600 ; }
1210+ . chapters button b { font-size : 14px ; margin-right : 2px ; }
1211+ . chapters button [aria-current = "true" ] { background : var ( --ink ) ; color : var ( --surface ) ; }
1212+ . chapters button [aria-current = "true" ] b { color : inherit; }
1213+ . chapters . bar { display : none; }
1214+ . chapters . nm { display : inline !important ; }
1215+ . shelf-wrap . fade-r . shelf , . shelf-wrap . fade-l . shelf { -webkit-mask-image : none; mask-image : none; }
1216+ # shelf { display : grid; gap : 14px ; overflow : visible; padding : 0 ; scroll-snap-type : none; }
1217+ # shelf > li { scroll-snap-align : none; }
1218+ /* the page already keeps 84px clear for the header; add the level bar under it */
1219+ . lv { list-style : none; padding : 24px ; border-radius : 22px ; background : var ( --surface ) ; scroll-margin-top : calc ( var ( --header-h , 64px ) - 84px + 66px ) ; }
1220+ . lv-head { display : grid; grid-template-columns : auto minmax ( 0 , 1fr ) auto; gap : 6px 18px ; align-items : start; }
1221+ . lv-id { font-family : var ( --f-display ) ; font-weight : 800 ; font-size : 40px ; line-height : 1 ; letter-spacing : -.03em ; color : var ( --accent ) ; min-width : 64px ; }
1222+ . lv . build . lv-id { color : var ( --l-ai ) ; }
1223+ . lv-t h3 { font-size : 20px ; letter-spacing : -.01em ; display : flex; flex-wrap : wrap; align-items : baseline; gap : 2px 10px ; }
1224+ . lv-t h3 span { font-size : 15px ; font-weight : 600 ; color : var ( --muted ) ; }
1225+ . lv-t p { font-size : 15px ; color : var ( --muted ) ; margin-top : 4px ; max-width : 48em ; }
1226+ . lv-side { display : flex; flex-direction : column; align-items : flex-end; gap : 6px ; font-size : 13px ; color : var ( --muted ) ; white-space : nowrap; }
1227+ . lv-n { font-weight : 700 ; color : var ( --ink ) ; }
1228+ . lv-makers { display : inline-flex; align-items : center; gap : 6px ; }
1229+ . lv-makers . avatar . sm { width : 26px ; height : 26px ; font-size : 12px ; margin-left : -8px ; box-shadow : 0 0 0 2px var ( --surface ) ; }
1230+ . lv-makers . avatar . sm : first-child { margin-left : 0 ; }
1231+ . lv-items { list-style : none; margin : 18px 0 0 ; padding : 0 ; display : grid; grid-template-columns : repeat ( auto-fill, minmax ( min ( 280px , 100% ) , 1fr ) ) ; gap : 10px ; }
1232+ # shelf . ep { width : auto; }
1233+ # shelf . ep > button { display : flex; flex-direction : column; gap : 10px ; height : 100% ; padding : 16px 18px ; border-radius : 16px ; border : 0 ; background : var ( --surface-2 ) ; overflow : visible; }
1234+ # shelf . ep > button : hover { transform : none; box-shadow : none; background : color-mix ( in srgb, var ( --c ) 8% , var ( --surface-2 ) ) ; }
1235+ # shelf . ep > button : focus-visible { outline : 3px solid var ( --focus ) ; outline-offset : 2px ; }
1236+ . ep-top { display : flex; align-items : center; gap : 8px ; min-width : 0 ; }
1237+ # shelf . ep-track { display : inline-flex; align-items : center; gap : 6px ; font-size : 12.5px ; font-weight : 700 ; color : var ( --c ) ; min-width : 0 ; overflow : hidden; text-overflow : ellipsis; white-space : nowrap; }
1238+ # shelf . ep-track i { width : 8px ; height : 8px ; border-radius : 50% ; background : var ( --c ) ; flex-shrink : 0 ; }
1239+ # shelf . ep-badges { position : static; margin-left : auto; display : flex; gap : 4px ; flex-shrink : 0 ; }
1240+ # shelf . ep-step { font-family : var ( --f-display ) ; font-weight : 800 ; font-size : 22px ; line-height : 1 ; color : var ( --c ) ; position : static; }
1241+ . ep-main { display : flex; gap : 12px ; align-items : flex-start; min-width : 0 ; }
1242+ . ep-thumb { width : 44px ; height : 58px ; object-fit : cover; border-radius : 4px ; flex-shrink : 0 ; box-shadow : 0 3px 8px rgba ( 20 , 22 , 43 , .18 ) ; }
1243+ # shelf . ep h4 { font-size : 16.5px ; line-height : 1.4 ; letter-spacing : -.01em ; }
1244+ # shelf . ep . sum { display : -webkit-box; -webkit-line-clamp : 2 ; -webkit-box-orient : vertical; overflow : hidden; font-size : 14px ; color : var ( --muted ) ; margin-top : 4px ; }
1245+ # shelf . ep-foot { margin-top : auto; display : flex; align-items : center; justify-content : space-between; gap : 8px ; padding-top : 10px ; border-top : 1px solid var ( --rule ) ; }
1246+ # shelf . who { display : flex; align-items : center; gap : 6px ; min-width : 0 ; font-size : 13px ; }
1247+ # shelf . who . k { color : var ( --muted ) ; font-size : 12px ; margin-right : 2px ; flex-shrink : 0 ; }
1248+ # shelf . who . nm { font-weight : 700 ; color : var ( --ink ) ; white-space : nowrap; display : inline-flex; align-items : center; gap : 3px ; }
1249+ # shelf . who . avatar . sm { width : 24px ; height : 24px ; font-size : 11px ; }
1250+ . mini-medal { display : inline-flex; }
1251+ . mini-medal . medal { height : 15px ; width : auto; }
1252+ . ep-end { display : inline-flex; align-items : center; gap : 8px ; flex-shrink : 0 ; font-size : 13px ; color : var ( --muted ) ; }
1253+ . ep-end . star { display : inline-flex; align-items : center; gap : 3px ; }
1254+ . ep-end . star svg { width : 13px ; height : 13px ; color : # E0A800; }
1255+ # shelf . ep-done { position : static; width : auto; height : auto; border-radius : 999px ; padding : 1px 8px ; font-size : 12px ; font-weight : 700 ; background : color-mix ( in srgb, var ( --live ) 14% , var ( --surface ) ) ; color : var ( --live ) ; }
1256+ # shelf . ep . paid > button { background : color-mix ( in srgb, var ( --l-main ) 6% , var ( --surface-2 ) ) ; }
1257+ /* a goal's route: numbered stops in order */
1258+ . lv . route { padding : 18px ; }
1259+ # shelf . routing . lv-items { grid-template-columns : repeat ( auto-fill, minmax ( min ( 240px , 100% ) , 1fr ) ) ; margin-top : 0 ; }
1260+ # shelf . routing . ep :: after { display : none; }
1261+ # shelf . ep . picked > button { box-shadow : 0 0 0 3px var ( --c ) ; }
1262+ @media ( max-width : 720px ) {
1263+ . lv { padding : 18px 16px ; border-radius : 18px ; }
1264+ . lv-head { grid-template-columns : auto minmax ( 0 , 1fr ) ; }
1265+ . lv-side { grid-column : 1 / -1 ; flex-direction : row; align-items : center; justify-content : space-between; }
1266+ . lv-id { font-size : 32px ; min-width : 48px ; }
1267+ . lv-t h3 { font-size : 18px ; }
1268+ . shelf-bar { margin-inline : calc ( -1 * var ( --gutter-l ) ) calc ( -1 * var ( --gutter-r ) ) ; padding-inline : var ( --gutter-l ) var ( --gutter-r ) ; }
1269+ }
1270+
1271+ /* ==========================================================================
1272+ 연재: this week's post, the writer, other posts
1273+ ========================================================================== */
1274+ . post-grid { display : grid; grid-template-columns : minmax ( 0 , 1.6fr ) minmax ( 0 , 1fr ) ; gap : 12px ; }
1275+ . post-feature , . author-card { background : var ( --surface ) ; border-radius : 22px ; padding : 28px ; display : flex; flex-direction : column; gap : 10px ; }
1276+ . post-k { display : flex; flex-wrap : wrap; align-items : baseline; gap : 2px 10px ; font-size : 13px ; color : var ( --muted ) ; }
1277+ . post-k b { color : var ( --accent ) ; font-weight : 800 ; }
1278+ . post-feature h3 { font-size : clamp ( 22px , 2.4vw , 28px ) ; line-height : 1.35 ; letter-spacing : -.02em ; }
1279+ . post-feature h3 a { color : var ( --ink ) ; text-decoration : none; }
1280+ . post-feature h3 a : hover { text-decoration : underline; }
1281+ . post-sum { font-size : 16px ; color : var ( --muted ) ; max-width : 40em ; }
1282+ . post-meta { font-size : 13.5px ; color : var ( --muted ) ; }
1283+ . post-feature . btn { margin-top : auto; }
1284+ . au-head { display : flex; align-items : center; gap : 14px ; }
1285+ . au-head . avatar . lg { width : 60px ; height : 60px ; font-size : 24px ; }
1286+ . au-name { display : block; font-size : 19px ; font-weight : 800 ; }
1287+ . au-tier { display : inline-flex; align-items : center; gap : 4px ; font-size : 13px ; font-weight : 700 ; color : var ( --muted ) ; margin-top : 2px ; }
1288+ . au-tier . medal { height : 22px ; width : auto; }
1289+ . au-about { font-size : 14.5px ; color : var ( --muted ) ; }
1290+ . au-series { list-style : none; margin : 4px 0 0 ; padding : 0 ; display : grid; gap : 2px ; }
1291+ . au-series a { display : flex; gap : 10px ; padding : 8px 10px ; border-radius : 10px ; color : var ( --ink ) ; text-decoration : none; font-size : 14px ; }
1292+ . au-series a : hover { background : var ( --surface-2 ) ; }
1293+ . au-series . n { flex-shrink : 0 ; width : 34px ; font-weight : 800 ; color : var ( --muted ) ; }
1294+ . au-series li [aria-current = "true" ] a { background : var ( --accent-soft ) ; }
1295+ . au-series li [aria-current = "true" ] . n { color : var ( --accent ) ; }
1296+ . au-links { display : flex; flex-wrap : wrap; gap : 8px ; margin-top : auto; }
1297+ . au-links . btn { margin-top : 0 ; }
1298+ . post-list { list-style : none; margin : 12px 0 0 ; padding : 4px 24px ; border-radius : 22px ; background : var ( --surface ) ; }
1299+ . post-list li + li { border-top : 1px solid var ( --rule ) ; }
1300+ . post-list a { display : flex; flex-wrap : wrap; align-items : baseline; justify-content : space-between; gap : 2px 16px ; padding : 16px 0 ; color : var ( --ink ) ; text-decoration : none; }
1301+ . post-list a : hover . pl-t { text-decoration : underline; }
1302+ . pl-t { font-size : 16px ; font-weight : 700 ; }
1303+ . pl-m { font-size : 13.5px ; color : var ( --muted ) ; }
1304+ . post-cta { margin-top : 14px ; font-size : 14.5px ; color : var ( --muted ) ; }
1305+ . post-cta b { color : var ( --ink ) ; }
1306+ @media ( max-width : 860px ) { . post-grid { grid-template-columns : minmax ( 0 , 1fr ) ; } . post-feature , . author-card { padding : 22px ; } . post-list { padding : 4px 18px ; } }
1307+
1308+ /* article page: writer and series navigation */
1309+ . post-after { margin-top : 40px ; display : grid; gap : 14px ; }
1310+ . writer { display : flex; flex-wrap : wrap; align-items : center; gap : 6px 12px ; padding : 16px 18px ; border-radius : 16px ; background : var ( --surface ) ; font-size : 15px ; }
1311+ . writer . k { font-size : 13px ; color : var ( --muted ) ; }
1312+ . series-nav { display : grid; grid-template-columns : 1fr 1fr ; gap : 10px ; }
1313+ . series-nav a { display : flex; flex-direction : column; gap : 2px ; padding : 14px 16px ; border-radius : 14px ; background : var ( --surface ) ; color : var ( --ink ) ; text-decoration : none; font-weight : 700 ; font-size : 15px ; }
1314+ . series-nav a span { font-size : 12.5px ; font-weight : 600 ; color : var ( --muted ) ; }
1315+ . series-nav a . next { text-align : right; }
1316+ . series-nav a : hover { box-shadow : 0 6px 20px rgba ( 20 , 22 , 43 , .08 ) ; }
1317+
1318+ /* activity passport: three groups of rows, each with a way to do it */
1319+ . pp-group { margin-top : 6px ; }
1320+ . pp-group h3 { font-size : 13px ; font-weight : 800 ; color : var ( --muted ) ; margin : 8px 0 6px ; }
1321+ . pp-list { list-style : none; margin : 0 ; padding : 0 ; display : grid; gap : 6px ; }
1322+ . pp-list li { display : grid; grid-template-columns : auto minmax ( 0 , 1fr ) auto; align-items : center; gap : 12px ; padding : 10px 12px ; border-radius : 14px ; background : var ( --surface-2 ) ; }
1323+ . pp-list li . on { background : var ( --accent-soft ) ; }
1324+ . pp-list . stamp { width : 40px ; height : 40px ; font-size : 15px ; }
1325+ . pp-t { display : flex; flex-direction : column; min-width : 0 ; }
1326+ . pp-t b { font-size : 15px ; }
1327+ . pp-t span { font-size : 13px ; color : var ( --muted ) ; line-height : 1.45 ; }
1328+ . pp-act { display : flex; flex-wrap : wrap; justify-content : flex-end; gap : 6px ; }
1329+ . pp-go , . pp-claim { font : inherit; font-size : 13px ; font-weight : 700 ; white-space : nowrap; padding : 6px 10px ; border-radius : 999px ; text-decoration : none; cursor : pointer; }
1330+ . pp-go { color : var ( --accent ) ; background : var ( --surface ) ; }
1331+ . pp-claim { border : 0 ; background : var ( --ink ) ; color : var ( --surface ) ; }
1332+ . pp-go : focus-visible , . pp-claim : focus-visible { outline : 3px solid var ( --focus ) ; outline-offset : 2px ; }
1333+ @media ( max-width : 520px ) { . pp-list li { grid-template-columns : auto minmax ( 0 , 1fr ) ; } . pp-act { grid-column : 1 / -1 ; justify-content : flex-start; } }
1334+ # shelf . ep-track { color : color-mix ( in srgb, var ( --c ) 70% , var ( --ink ) ) ; }
0 commit comments