diff --git a/src/pages/exam.astro b/src/pages/exam.astro index a557ec0..e5593dd 100644 --- a/src/pages/exam.astro +++ b/src/pages/exam.astro @@ -69,29 +69,7 @@ let questionNumber = 0;

{examIntro.title}

{examIntro.description}

- 预览原卷 - 下载原卷 - 阅读试卷 -
- - - -
-
-
-
-

Original Paper

-

原卷预览

-
- 打开原卷 -
-
- -

- 如果预览没有显示,可以 - 打开原卷 - 查看。 -

+ 预览原卷
diff --git a/src/styles/global.css b/src/styles/global.css index 62e492b..51898f9 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -844,53 +844,6 @@ h2 { font-weight: 800; } -.exam-preview-band { - background: var(--paper); -} - -.exam-preview-head { - display: flex; - justify-content: space-between; - gap: 18px; - align-items: end; - margin-bottom: 18px; -} - -.exam-preview-head h2 { - margin: 0; - color: var(--ink); - font-size: clamp(28px, 4vw, 42px); -} - -.exam-preview-frame { - overflow: hidden; - border: 1px solid var(--line); - border-radius: 8px; - background: #fffef9; - box-shadow: var(--shadow); -} - -.exam-preview-frame iframe { - width: 100%; - height: min(78vh, 820px); - display: block; - border: 0; - background: #fff; -} - -.exam-preview-frame p { - margin: 0; - padding: 12px 16px; - border-top: 1px solid var(--line); - color: var(--muted); - font-size: 14px; -} - -.exam-preview-frame a { - color: var(--green); - font-weight: 800; -} - .exam-band { background: linear-gradient(0deg, rgba(244, 247, 238, 0.7), rgba(244, 247, 238, 0.7)), @@ -1924,15 +1877,6 @@ h2 { padding-right: 0; } - .exam-preview-head { - display: grid; - align-items: start; - } - - .exam-preview-head .button { - justify-self: start; - } - .score-fab { position: fixed; right: 18px;