tangled
alpha
login
or
join now
danielmorrisey.com
/
website
1
fork
atom
madebydanny.uk written in html, css, and a lot of JavaScript I don't understand
madeydanny.uk
html
css
javascript
1
fork
atom
overview
issues
pulls
pipelines
ge
Daniel Morrisey
4 months ago
2be7913c
38385476
+6
-4
1 changed file
expand all
collapse all
unified
split
css
index.css
+6
-4
css/index.css
···
1
1
body {
2
2
background-color: black;
3
3
color: white;
4
4
+
/* Desktop wallpaper */
4
5
background-image: url("https://upcloud.madebydanny.uk/cdn/madebydanny.uk/site-files/wallpaperflare.com_wallpaper.jpg");
5
6
background-position: center center;
6
7
background-size: cover;
7
7
-
background-attachment: scroll; /* Changed from fixed - fixes mobile issues */
8
8
+
background-attachment: fixed;
8
9
font-family: "Itim", cursive;
9
10
font-weight: 400;
10
11
font-style: normal;
···
13
14
line-height: 1.6;
14
15
}
15
16
16
16
-
/* Optional: Keep fixed effect on desktop only */
17
17
-
@media (min-width: 768px) {
17
17
+
/* Phone wallpaper */
18
18
+
@media (max-width: 767px) {
18
19
body {
19
19
-
background-attachment: fixed;
20
20
+
background-image: url("https://i.pinimg.com/736x/59/4b/a6/594ba69288c24bada88afac8de534400.jpg");
21
21
+
background-attachment: scroll; /* Better performance on mobile */
20
22
}
21
23
}
22
24