Spaces:
Running
Running
Download styles.css from olzhasAl/harness-engineering-kz: direct link, hf CLI and curl.
- Browser
- Download file 15.6 kB
-
https://huggingface.co/spaces/olzhasAl/harness-engineering-kz/resolve/main/styles.css
- Command line
-
hf download hf://spaces/olzhasAl/harness-engineering-kz/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/olzhasAl/harness-engineering-kz/resolve/main/styles.css
15.6 kB
| :root { | |
| font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| color: #17191c; | |
| background: #f4f1e9; | |
| font-synthesis: none; | |
| text-rendering: optimizeLegibility; | |
| --ink: #101214; | |
| --paper: #f4f1e9; | |
| --card: #fbfaf6; | |
| --line: #d8d4c9; | |
| --lime: #c8ff3d; | |
| --dark: #0b0d0f; | |
| } | |
| * { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; } | |
| body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); } | |
| button, input { font: inherit; } | |
| button { cursor: pointer; } | |
| a { color: inherit; } | |
| .site-header { | |
| position: sticky; | |
| top: 0; | |
| z-index: 50; | |
| height: 72px; | |
| display: grid; | |
| grid-template-columns: 1fr auto 1fr; | |
| align-items: center; | |
| padding: 0 32px; | |
| background: rgba(244, 241, 233, .93); | |
| border-bottom: 1px solid var(--line); | |
| backdrop-filter: blur(16px); | |
| } | |
| .brand { display: inline-flex; align-items: center; gap: 12px; border: 0; background: transparent; padding: 0; justify-self: start; color: var(--ink); } | |
| .brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--dark); color: var(--paper); display: grid; place-items: center; font-weight: 760; } | |
| .brand-text { font-weight: 720; letter-spacing: -.02em; } | |
| .desktop-nav { display: flex; align-items: center; gap: 4px; } | |
| .nav-link { border: 0; background: transparent; padding: 10px 12px; border-radius: 10px; color: #55595d; font-size: 14px; } | |
| .nav-link:hover, .nav-link.active { background: #e8e4da; color: var(--ink); } | |
| .header-actions { justify-self: end; } | |
| .lang-switch { display: inline-flex; border: 1px solid #c9c4b8; border-radius: 999px; padding: 3px; background: #eeebe3; } | |
| .lang-switch button { border: 0; background: transparent; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 760; color: #676a6d; } | |
| .lang-switch button.selected { background: var(--dark); color: #fff; } | |
| .section-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; } | |
| .hero { min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 84px 0 72px; } | |
| .hero-copy { max-width: 720px; } | |
| .eyebrow { font-size: 12px; font-weight: 820; letter-spacing: .18em; color: #5e625e; margin-bottom: 18px; } | |
| .hero h1 { font-size: clamp(56px, 7.2vw, 112px); line-height: .91; letter-spacing: -.07em; margin: 0; max-width: 850px; } | |
| .hero-text { max-width: 680px; font-size: 22px; line-height: 1.45; color: #55595c; margin: 34px 0 30px; } | |
| .button-row { display: flex; flex-wrap: wrap; gap: 10px; } | |
| .button { border: 1px solid transparent; border-radius: 999px; padding: 13px 20px; font-weight: 730; transition: transform .18s ease, background .18s ease; } | |
| .button:hover { transform: translateY(-1px); } | |
| .button.primary { background: var(--dark); color: #fff; } | |
| .button.secondary { border-color: #aaa69d; background: transparent; color: var(--ink); } | |
| .button.light { background: var(--lime); color: var(--dark); } | |
| .hero-links { margin-top: 20px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #64676a; } | |
| .hero-links a:hover { color: #111; } | |
| .hero-panel { min-height: 480px; background: var(--dark); border-radius: 28px; padding: 30px; box-shadow: 0 30px 70px rgba(15,16,17,.16); overflow: hidden; } | |
| .panel-grid { height: 100%; min-height: 420px; position: relative; border: 1px solid #2b3033; border-radius: 18px; background-image: linear-gradient(#1e2326 1px, transparent 1px), linear-gradient(90deg, #1e2326 1px, transparent 1px); background-size: 36px 36px; overflow: hidden; } | |
| .panel-label { position: absolute; left: 26px; top: 24px; color: #e8e9e5; font-size: 11px; letter-spacing: .22em; font-weight: 820; } | |
| .panel-line { height: 2px; background: #5c6367; position: absolute; left: 26px; top: 62px; width: 110px; } | |
| .panel-line.wide { width: 180px; top: 72px; background: var(--lime); } | |
| .panel-line.medium { width: 140px; top: 82px; } | |
| .panel-node { position: absolute; border: 1px solid #4a5155; background: #14181a; color: #d9ddda; border-radius: 10px; padding: 12px 14px; font-size: 11px; letter-spacing: .1em; } | |
| .n1 { left: 9%; top: 38%; } | |
| .n2 { right: 10%; top: 25%; } | |
| .n3 { left: 19%; bottom: 16%; } | |
| .n4 { right: 12%; bottom: 22%; } | |
| .panel-flow { position: absolute; height: 1px; background: #596064; transform-origin: left center; } | |
| .f1 { width: 46%; left: 28%; top: 44%; transform: rotate(-16deg); } | |
| .f2 { width: 40%; left: 35%; top: 61%; transform: rotate(13deg); } | |
| .panel-score { position: absolute; right: 24px; top: 24px; text-align: right; color: #90979b; font-size: 10px; letter-spacing: .13em; } | |
| .panel-score strong { color: var(--lime); font-size: 29px; line-height: 1.25; letter-spacing: -.03em; } | |
| .stats-strip { display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } | |
| .stat { padding: 28px 16px 28px 0; border-right: 1px solid var(--line); } | |
| .stat:last-child { border-right: 0; } | |
| .stat-value { font-size: 42px; font-weight: 730; letter-spacing: -.05em; } | |
| .stat-label { color: #727477; font-size: 13px; margin-top: 4px; } | |
| .content-section { padding: 96px 0 110px; } | |
| .section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 38px; } | |
| .section-heading h2, .checker-teaser h2, .page-intro h1 { font-size: clamp(38px,5vw,70px); letter-spacing: -.055em; line-height: .98; margin: 0; } | |
| .section-heading p, .checker-teaser p, .page-intro p { font-size: 18px; line-height: 1.55; color: #65686a; margin: 0; max-width: 650px; } | |
| .course-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); } | |
| .course-card { min-height: 235px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(251,250,246,.48); } | |
| .course-card-number { font-size: 11px; letter-spacing: .15em; color: #8a8b89; } | |
| .course-card h3 { margin: 58px 0 10px; font-size: 24px; letter-spacing: -.03em; } | |
| .course-card p { margin: 0; line-height: 1.55; color: #66696c; } | |
| .checker-teaser { margin-bottom: 96px; background: var(--dark); color: #fff; border-radius: 26px; padding: 48px; display: flex; justify-content: space-between; gap: 40px; align-items: end; } | |
| .checker-teaser .eyebrow { color: #939b96; } | |
| .checker-teaser p { margin-top: 20px; color: #aeb3b0; } | |
| .page-shell { padding: 70px 0 100px; min-height: 70vh; } | |
| .narrow-page { width: min(920px, calc(100% - 48px)); } | |
| .page-intro { margin-bottom: 52px; } | |
| .page-intro p { margin-top: 20px; } | |
| .reader-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 42px; align-items: start; } | |
| .toc-panel { position: sticky; top: 94px; max-height: calc(100vh - 116px); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(251,250,246,.7); } | |
| .toc-panel input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 14px 15px; outline: none; } | |
| .toc-list { max-height: calc(100vh - 165px); overflow-y: auto; padding: 8px; } | |
| .toc-item { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; color: #44494c; font-size: 13px; line-height: 1.35; } | |
| .toc-item:hover { background: #ece8df; color: #111; } | |
| .toc-item.sub { padding-left: 22px; color: #74777a; } | |
| .markdown-body { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px,5vw,58px); box-shadow: 0 16px 50px rgba(30,30,24,.04); } | |
| .markdown-body h1 { font-size: clamp(38px,5vw,64px); line-height: 1; letter-spacing: -.05em; margin: 0 0 32px; } | |
| .markdown-body h2 { font-size: 34px; letter-spacing: -.04em; line-height: 1.08; margin: 70px 0 20px; scroll-margin-top: 100px; } | |
| .markdown-body h3 { font-size: 22px; letter-spacing: -.025em; margin: 38px 0 14px; scroll-margin-top: 100px; } | |
| .markdown-body p, .markdown-body li { line-height: 1.72; color: #3d4245; } | |
| .markdown-body strong { color: #111; } | |
| .markdown-body blockquote { margin: 24px 0; border-left: 3px solid var(--dark); padding: 5px 0 5px 18px; color: #515558; } | |
| .markdown-body pre { overflow-x: auto; background: #111416; color: #e8ebe7; border-radius: 12px; padding: 18px; font-size: 13px; line-height: 1.6; position: relative; } | |
| .markdown-body pre[data-mermaid="true"] { background: #f1eee6; color: #2d3336; border: 1px solid #dbd6ca; padding-top: 42px; } | |
| .markdown-body pre[data-mermaid="true"]::before { content: "MERMAID SOURCE"; position: absolute; top: 13px; left: 18px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #7b7f80; } | |
| .markdown-body code:not(pre code) { background: #e9e6de; border-radius: 5px; padding: 2px 5px; font-size: .9em; } | |
| .markdown-body table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; } | |
| .markdown-body th, .markdown-body td { border: 1px solid #d8d5cc; padding: 10px 12px; text-align: left; vertical-align: top; } | |
| .markdown-body img { max-width: 100%; } | |
| .markdown-body a { text-decoration-thickness: 1px; text-underline-offset: 3px; } | |
| .loading-line { height: 3px; width: 100%; background: #d5d1c6; } | |
| .quiz-card, .result-card, .analysis-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px; } | |
| .quiz-meta { display: flex; gap: 12px; flex-wrap: wrap; color: #74787a; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; } | |
| .quiz-card h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.035em; margin: 24px 0 28px; } | |
| .option-list { display: grid; gap: 10px; } | |
| .option { text-align: left; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; border: 1px solid var(--line); background: #f6f3eb; border-radius: 12px; padding: 14px 16px; line-height: 1.45; } | |
| .option span { width: 28px; height: 28px; border-radius: 50%; background: #e4e0d6; display: grid; place-items: center; font-size: 12px; font-weight: 760; } | |
| .option.correct { border-color: #74a32d; background: #edf6dd; } | |
| .option.wrong { border-color: #b85b53; background: #f8e4e1; } | |
| .answer-panel { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 22px; } | |
| .answer-panel p { line-height: 1.6; color: #55595b; } | |
| .result-card { text-align: center; padding: 70px 30px; } | |
| .result-score { font-size: 76px; font-weight: 780; letter-spacing: -.06em; } | |
| .result-caption { color: #696d70; margin: 8px 0 28px; } | |
| .drop-zone { min-height: 310px; border: 1px dashed #9d9a92; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(251,250,246,.7); text-align: center; padding: 30px; } | |
| .drop-symbol { width: 72px; height: 72px; border: 1px solid #bbb6aa; border-radius: 18px; display: grid; place-items: center; font-size: 15px; font-weight: 800; letter-spacing: .1em; } | |
| .drop-zone p { margin: 0; color: #74777a; } | |
| .error-line { color: #9a3832; font-weight: 650; } | |
| .analysis-card { margin-top: 24px; } | |
| .score-block { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding-bottom: 24px; border-bottom: 1px solid var(--line); } | |
| .score-label { color: #6d7173; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; } | |
| .score-value { font-size: 72px; font-weight: 800; letter-spacing: -.07em; line-height: 1; margin-top: 6px; } | |
| .score-value span { font-size: 18px; letter-spacing: 0; color: #777a7d; } | |
| .score-meta { text-align: right; color: #74777a; font-size: 13px; line-height: 1.5; } | |
| .check-list { margin-top: 10px; } | |
| .check-row { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e0ddd5; padding: 17px 0; } | |
| .check-main { display: grid; gap: 4px; } | |
| .check-main span { color: #717477; font-size: 13px; line-height: 1.45; } | |
| .check-points { font-weight: 800; min-width: 48px; text-align: right; } | |
| .heuristic-note { color: #7b7d7f; font-size: 12px; margin: 18px 0 0; } | |
| .golden-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; } | |
| .golden-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; overflow: hidden; } | |
| .golden-head { display: flex; gap: 12px; flex-wrap: wrap; color: #76797b; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; } | |
| .golden-card h2 { font-size: 25px; letter-spacing: -.035em; margin: 18px 0; } | |
| .golden-card pre { white-space: pre-wrap; background: #f0ede5; border-radius: 10px; padding: 14px; line-height: 1.5; font-family: inherit; font-size: 14px; } | |
| .criteria { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 15px; display: grid; gap: 7px; font-size: 13px; color: #4d5254; } | |
| .criteria.reject strong { color: #8b3d36; } | |
| .baseline { margin-top: 16px; color: #777a7c; font-size: 12px; } | |
| .footer { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; } | |
| .footer-brand { font-size: 18px; font-weight: 760; letter-spacing: -.025em; } | |
| .footer p { color: #737679; font-size: 13px; line-height: 1.55; max-width: 760px; } | |
| .footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; align-content: start; font-size: 13px; } | |
| .mobile-nav { display: none; } | |
| @media (max-width: 980px) { | |
| .site-header { grid-template-columns: 1fr auto; padding: 0 20px; } | |
| .desktop-nav { display: none; } | |
| .hero { grid-template-columns: 1fr; padding-top: 60px; } | |
| .hero-panel { min-height: 390px; } | |
| .stats-strip { grid-template-columns: repeat(3,1fr); } | |
| .stat:nth-child(3) { border-right: 0; } | |
| .course-grid { grid-template-columns: repeat(2,1fr); } | |
| .reader-layout { grid-template-columns: 1fr; } | |
| .toc-panel { position: relative; top: 0; max-height: 360px; } | |
| .toc-list { max-height: 290px; } | |
| .golden-grid { grid-template-columns: 1fr; } | |
| .mobile-nav { display: grid; position: fixed; z-index: 60; bottom: 10px; left: 12px; right: 12px; grid-template-columns: repeat(5,1fr); gap: 4px; background: rgba(11,13,15,.94); border: 1px solid #2c3033; border-radius: 16px; padding: 5px; backdrop-filter: blur(16px); } | |
| .mobile-nav button { border: 0; background: transparent; color: #aeb3b0; border-radius: 11px; padding: 9px 4px; font-size: 10px; } | |
| .mobile-nav button.active { background: #272b2e; color: #fff; } | |
| body { padding-bottom: 70px; } | |
| } | |
| @media (max-width: 680px) { | |
| .section-shell, .narrow-page, .footer { width: min(100% - 28px,1240px); } | |
| .brand-text { display: none; } | |
| .site-header { height: 62px; } | |
| .hero { min-height: auto; gap: 34px; padding: 48px 0; } | |
| .hero h1 { font-size: 55px; } | |
| .hero-text { font-size: 18px; margin-top: 24px; } | |
| .hero-panel { min-height: 320px; padding: 16px; border-radius: 20px; } | |
| .panel-grid { min-height: 286px; } | |
| .stats-strip { grid-template-columns: repeat(2,1fr); } | |
| .stat:nth-child(3) { border-right: 1px solid var(--line); } | |
| .stat:nth-child(2n) { border-right: 0; } | |
| .section-heading { grid-template-columns: 1fr; gap: 20px; } | |
| .course-grid { grid-template-columns: 1fr; } | |
| .checker-teaser { padding: 28px; align-items: flex-start; flex-direction: column; } | |
| .page-shell { padding-top: 46px; } | |
| .markdown-body { padding: 22px 18px; border-radius: 14px; } | |
| .markdown-body h2 { font-size: 28px; } | |
| .quiz-card, .result-card, .analysis-card { padding: 20px; } | |
| .quiz-card h2 { font-size: 27px; } | |
| .score-block { align-items: flex-start; flex-direction: column; } | |
| .score-meta { text-align: left; } | |
| .check-row { gap: 12px; } | |
| .footer { grid-template-columns: 1fr; } | |
| .footer-links { justify-content: flex-start; } | |
| } | |