Skip to content

Commit 4f3c894

Browse files
committed
Move attribution to be visible on mobile
1 parent b08aa80 commit 4f3c894

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed

assets/static/_css/pycascades/pycascades.home.css

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,29 @@
1515
body.home header.headroom--not-top .logo {
1616
opacity: 1;
1717
}
18+
body.home #intro .image-attribution {
19+
position: relative;
20+
bottom: 5rem;
21+
right: 3rem;
22+
font-size: 1.2rem;
23+
color: #98D1D6;
24+
text-align: left;
25+
/* Match chevron height */
26+
margin-bottom: -24px;
27+
}
28+
}
29+
30+
@media (max-width: 750px) {
31+
body.home #intro .image-attribution {
32+
position: relative;
33+
top: 7rem;
34+
right: 1rem;
35+
font-size: 1.2rem;
36+
color: #98D1D6;
37+
text-align: left;
38+
/* Match chevron height */
39+
margin-bottom: -24px;
40+
}
1841
}
1942

2043
body.home header nav > ul > li.home {
@@ -39,18 +62,6 @@ body.home #intro .main .logo {
3962
}
4063
}
4164

42-
body.home #intro .image-attribution {
43-
position: relative;
44-
bottom: 1rem;
45-
left: 1rem;
46-
font-size: 1.2rem;
47-
color: #98D1D6;
48-
text-align: left;
49-
left: 1rem;
50-
/* Match chevron height */
51-
margin-bottom: -24px;
52-
}
53-
5465
body.home #intro .image-attribution a {
5566
color: #98D1D6;
5667
text-decoration: none;

0 commit comments

Comments
 (0)