summaryrefslogtreecommitdiff
path: root/src/css
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-06 22:28:46 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-06 22:28:46 +0800
commit7383bf4db923484bff3a5fede548822e5b0bdfda (patch)
treefdc729d3178ce391aa4c80e0e3fbd7d399598ef4 /src/css
parent3c081c230bc1831ac5c261ba09bad3014f546a56 (diff)
predifine color when image not loaded, when image is loaded, will override
Diffstat (limited to 'src/css')
-rw-r--r--src/css/ghrepo.css1
-rw-r--r--src/css/index.css1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css
index 7f47c825..0caa1da0 100644
--- a/src/css/ghrepo.css
+++ b/src/css/ghrepo.css
@@ -34,6 +34,7 @@ body {
margin: 0;
margin-top: (3em);
font-family: 'Open Sans', sans-serif;
+ background-color: rgb(0, 0, 255);
background-image: url(/images/heigh-grass.jpg);
background-position: center;
background-repeat: no-repeat;
diff --git a/src/css/index.css b/src/css/index.css
index d55c7c86..27ead94c 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -23,6 +23,7 @@
padding: 0;
width: 100%;
height: 100%;
+ background-color: rgb(0, 0, 255);
background-image: url(/images/backgroundNightCity.jpg);
background-position: center;
background-repeat: no-repeat;