We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 079eff5 commit 3961f32Copy full SHA for 3961f32
1 file changed
style.css
@@ -32,6 +32,7 @@ body {
32
/* backgound: color image repeat position/size */
33
34
background: var(--background-image) no-repeat top center/cover;
35
+ height: 100vh;
36
}
37
body *{
38
font-family: 'Inter', sans-serif;
@@ -78,7 +79,6 @@ body *{
78
79
left: 0;
80
z-index: 1;
81
transform: translateY(-50%);
- transition: all 0.5s;
82
83
.light #switch button{
84
right: 0;
@@ -151,4 +151,13 @@ footer{
151
text-align: center;
152
color: rgba(255, 255, 255, 0.9);
153
font-size: 14px;
154
+}
155
+
156
+@media (min-width: 700px) {
157
+ :root{
158
+ --background-image: url(assets/bg-desktop.jpg);
159
+ }
160
+ .light{
161
+ --background-image: url(assets/bg-desktop-light.jpg);
162
163
0 commit comments