From d81d1c30d3733f9e5e8e7aa6ff1b0e117bdf2dc3 Mon Sep 17 00:00:00 2001 From: cybrejon Date: Thu, 22 Feb 2024 22:23:31 +0800 Subject: [PATCH] combine font face queries into one --- public/static/themes/simple.css | 37 +++------------------------------ 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/public/static/themes/simple.css b/public/static/themes/simple.css index 1d3c084..d35885d 100644 --- a/public/static/themes/simple.css +++ b/public/static/themes/simple.css @@ -2,41 +2,10 @@ @font-face { font-family: Rubik; font-style: normal; - font-weight: 200; + font-weight: 200 600; + font-stretch: 0% 200%; font-display: swap; - src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2'); -} - -@font-face { - font-family: Rubik; - font-style: normal; - font-weight: 300; - font-display: swap; - src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2'); -} - -@font-face { - font-family: Rubik; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2'); -} - -@font-face { - font-family: Rubik; - font-style: normal; - font-weight: 500; - font-display: swap; - src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2'); -} - -@font-face { - font-family: Rubik; - font-style: normal; - font-weight: 600; - font-display: swap; - src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2'); + src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nErXyi0A.woff2) format('woff2'); } * {