Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 4502de7

Browse files
committed
fix background fill for all devices
1 parent 43f779d commit 4502de7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

css/stylesheet.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ body {
5353
font-size: 15px;
5454
line-height: 1.5;
5555
background: #fafafa url(/images/site-bg.jpg) 0 0 no-repeat;
56-
background-size: 100%;
56+
background-size: cover;
5757
background-attachment: fixed;
5858
font-family: 'Helvetica Neue', Helvetica, Arial, serif;
5959
font-weight: 400;
@@ -398,7 +398,7 @@ footer a:hover {
398398
@media only screen and (orientation: portrait) {
399399
body {
400400
background: #fafafa url(/images/site-bg-portrait.jpg) 0 0 no-repeat;
401-
background-size: 100%;
401+
background-size: cover;
402402
background-attachment: fixed;
403403
}
404404
}

css/welcome.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ body {
5353
font-size: 15px;
5454
line-height: 1.5;
5555
background: #fafafa url(/images/site-bg.jpg) 0 0 no-repeat;
56-
background-size: 100%;
56+
background-size: cover;
5757
background-attachment: fixed;
5858
font-family: 'Helvetica Neue', Helvetica, Arial, serif;
5959
font-weight: 400;
@@ -382,7 +382,7 @@ footer a:hover {
382382
@media only screen and (orientation: portrait) {
383383
body {
384384
background: #fafafa url(/images/site-bg-portrait.jpg) 0 0 no-repeat;
385-
background-size: 100%;
385+
background-size: cover;
386386
background-attachment: fixed;
387387
}
388388
}

0 commit comments

Comments
 (0)