diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-12-15 15:34:24 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-12-15 15:55:37 +0900 |
commit | cd07645af510a6e16d132c6ec96c49707bbceb23 (patch) | |
tree | fb226b5b72b7cb5bb4f455c89eaee3a041d392aa | |
parent | b6f13b126acb62f036fa508cfc05120a718aea16 (diff) | |
download | phylactery-cd07645af510a6e16d132c6ec96c49707bbceb23.tar.gz |
Use new CSS stuff
-rw-r--r-- | static/archive.css | 1 | ||||
-rw-r--r-- | static/base.css | 2 |
2 files changed, 2 insertions, 1 deletions
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; } |