summaryrefslogtreecommitdiff
path: root/src/css
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-11-01 20:37:29 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-11-01 20:37:29 +0800
commitc5d8a744dd584749e0b920119b42e731e37e5f62 (patch)
treecda6b7e45ad6dc6cfec0292eba18a6954d6f3fe3 /src/css
parentdc826ba1157b8b6a767a5e0d870be715d08d3e54 (diff)
optimize image loading thanks to squoosh and converted into webp
Diffstat (limited to 'src/css')
-rw-r--r--src/css/ghrepo.css2
-rw-r--r--src/css/index.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css
index ddc53a4d..2d1c800a 100644
--- a/src/css/ghrepo.css
+++ b/src/css/ghrepo.css
@@ -52,7 +52,7 @@ margin-top: 3em
width: 100%;
height: 100%;
background-color: rgb(48, 60, 100);
- background-image: url(/images/heigh-grass.jpg);
+ background-image: url(/images/heigh-grass.webp);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
diff --git a/src/css/index.css b/src/css/index.css
index 6a4d5544..8843ca0f 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -25,7 +25,7 @@
width: 100%;
height: 100%;
background-color: rgb(20, 53, 85);
- background-image: url(/images/backgroundNightCity.jpg);
+ background-image: url(/images/backgroundNightCity.webp);
background-position: center;
background-repeat: no-repeat;
background-size: cover;