:root { --easy-accent: #1d4ed8; --easy-accent-dark: #1e40af; --easy-accent-soft: #eff6ff; --easy-ink: #222; --easy-muted: #666; --easy-border: #ddd; --easy-code-bg: #eee; --easy-code-font-size: 28px; --easy-table-font-size: 30px; --easy-table-padding-x: 14px; --easy-table-padding-y: 10px; --easy-slide-padding-x: 52px; --easy-slide-padding-y: 42px; --easy-presenter-note-size: 20px; } .easy-table-sm { --easy-table-font-size: 24px; --easy-table-padding-x: 10px; --easy-table-padding-y: 7px; } .easy-table-md { --easy-table-font-size: 30px; --easy-table-padding-x: 14px; --easy-table-padding-y: 10px; } .easy-table-lg { --easy-table-font-size: 36px; --easy-table-padding-x: 18px; --easy-table-padding-y: 13px; } .easy-code-sm { --easy-code-font-size: 22px; } .easy-code-md { --easy-code-font-size: 28px; } .easy-code-lg { --easy-code-font-size: 34px; } .easy-code-height-sm { --easy-code-height: 180px; } .easy-code-height-md { --easy-code-height: 300px; } .easy-code-height-lg { --easy-code-height: 420px; } .slidev-layout { position: relative; width: 100%; height: 100%; padding: var(--easy-slide-padding-y) var(--easy-slide-padding-x); overflow: hidden; border: 1.5px solid var(--easy-border); border-radius: 7px; background: #fff; color: var(--easy-ink); text-align: left; font-family: Lato, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 32px; font-weight: 300; line-height: 1.42; } .slidev-layout h1, .slidev-layout h2, .slidev-layout h3, .slidev-layout h4 { color: var(--easy-ink); font-weight: 400; letter-spacing: 0; line-height: 1.15; } .slidev-layout h1 { margin: 0 0 26px; font-size: 60px; } .slidev-layout h2 { margin: 0 0 28px; padding-bottom: 8px; border-bottom: 3px solid var(--easy-accent); font-size: 48px; } .slidev-layout h3 { margin: 20px 0 14px; font-size: 38px; } .slidev-layout p, .slidev-layout ul, .slidev-layout ol { margin-top: 14px; margin-bottom: 14px; } .slidev-layout ul, .slidev-layout ol { display: block; padding-left: 1.2em; } .slidev-layout li + li { margin-top: 10px; } .slidev-layout a { color: var(--easy-accent); text-decoration-thickness: 1px; text-underline-offset: .13em; } .slidev-layout strong { font-weight: 700; } .slidev-layout blockquote { margin: 24px 0; padding: 4px 0 4px 24px; border-left: 5px solid var(--easy-accent); color: #1e3a5f; font-family: "Noto Serif SC", STKaiti, KaiTi, serif; font-style: normal; } .slidev-layout code { font-family: Inconsolata, "JetBrains Mono", "Fira Code", monospace; } .slidev-layout :not(pre) > code { border-radius: 5px; background: var(--easy-accent-soft); color: var(--easy-accent-dark); padding: .08em .28em; font-size: .86em; } .slidev-layout pre { box-sizing: border-box; height: var(--easy-code-height, var(--easy-code-auto-height, auto)); max-height: var(--easy-code-height, var(--easy-code-auto-max-height, var(--easy-code-auto-height, none))); overflow-x: hidden; overflow-y: auto; border-radius: 10px; background: var(--easy-code-bg); padding: 18px 20px; font-size: var(--easy-code-scaled-font-size, var(--easy-code-font-size)) !important; line-height: 1.38 !important; white-space: pre-wrap; overflow-wrap: anywhere; } .slidev-layout pre code, .slidev-layout pre code .line { min-width: 0 !important; white-space: pre-wrap !important; overflow-wrap: anywhere; word-break: normal; } .slidev-layout table { width: 100%; border-collapse: collapse; font-size: var(--easy-table-font-size); } .slidev-layout th, .slidev-layout td { padding: var(--easy-table-padding-y) var(--easy-table-padding-x); border-bottom: 1px solid #d5d5d5; } .slidev-layout th { background: #eee; font-weight: 600; } .slidev-layout tr:nth-child(even) { background: #f7faff; } .slidev-layout img { display: block; max-width: 100%; max-height: 60vh; margin: 16px auto; object-fit: contain; } .slidev-layout p:has(> img:only-child) { display: grid; place-items: center; min-height: 46vh; margin: 8px 0; } .slidev-layout p:has(> img:only-child) > img { width: 100%; height: 46vh; max-height: 60vh; margin: 0; object-fit: contain; } .slidev-layout img[fit="cover"] { width: 100%; height: 100%; object-fit: cover; } .slidev-layout img[fit="fill"] { object-fit: fill; } .slidev-layout img[fit="scale-down"] { object-fit: scale-down; } .slidev-layout img[fit="none"] { object-fit: none; } .slidev-layout .katex-display, .slidev-layout .mermaid { max-width: 100%; max-height: 60vh; overflow: auto; } .slidev-page-number { border-radius: 5px; background: rgba(0, 0, 0, .26); padding: 3px 9px; color: #fff; font-size: 18px; } @media (max-width: 760px) { :root { --easy-slide-padding-x: 34px; --easy-slide-padding-y: 30px; } }