Refactor background image

This commit is contained in:
Helen Chong 2024-04-05 17:34:07 +08:00
parent 06091d7df6
commit 7c79b7cd83
1 changed files with 4 additions and 4 deletions

View File

@ -80,11 +80,11 @@ select {
/* General styles */ /* General styles */
body { body {
background-color: black; background-color: black;
background-image: url('../img/bg_space.png'); background: url('../img/bg_space.png') no-repeat center center fixed;
background-position: center; -webkit-background-size: cover;
background-repeat: repeat-x; -moz-background-size: cover;
-o-background-size: cover;
background-size: cover; background-size: cover;
background-attachment: fixed;
font-size: 1.3rem; font-size: 1.3rem;
font-family: 'Noto Sans', Arial, sans-serif; font-family: 'Noto Sans', Arial, sans-serif;
min-height: 100vh; min-height: 100vh;