From cd07645af510a6e16d132c6ec96c49707bbceb23 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 15 Dec 2022 15:34:24 +0900 Subject: Use new CSS stuff --- static/archive.css | 1 + static/base.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/archive.css b/static/archive.css index 628461e..5ca766f 100644 --- a/static/archive.css +++ b/static/archive.css @@ -14,6 +14,7 @@ nav > a:hover { font-weight: bold } #next { background-color: #204a87 } img { + content-visibility: auto; display: block; margin: auto; max-width: 100%; diff --git a/static/base.css b/static/base.css index 5f63e67..038afdc 100644 --- a/static/base.css +++ b/static/base.css @@ -1,6 +1,6 @@ html { background-color: black; - font-size: min(max(100%, 2vw), 150%); + font-size: clamp(100%, 2vw, 150%); margin: auto; } -- cgit 1.4.1