From 8c9b6395935ca1ceb40f64e32058cc6a6bc32c4a Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Sun, 1 Nov 2026 07:48:52 +0800 Subject: [PATCH] Update site.css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 补充今日面试题的样式。 --- website/templates/site.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/templates/site.css b/website/templates/site.css index a9ffe476..03de5bee 100644 --- a/website/templates/site.css +++ b/website/templates/site.css @@ -53,6 +53,8 @@ body { color: #34495e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI .learn-q-label { flex: none; padding: 1px 7px; border-radius: 5px; background: #e3f2ea; color: var(--theme-color); font-size: 12px; font-weight: 600; } .learn-q-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #34495e; } .learn-q-go { flex: none; color: var(--theme-color); font-weight: 600; } +.learn-daily { margin: -8px 0 18px; } +.learn-daily .learn-q-text { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .learn-q.due .learn-q-go { color: #c2410c; } @media (min-width: 769px) { .content { padding-top: 12px; } .article-toc { display: none; } } .page-toc-block { margin: 0 0 18px; padding: 0 0 14px 18px; border-bottom: 1px solid #e2e3dc; }