-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponsive.css
More file actions
78 lines (65 loc) · 1.64 KB
/
responsive.css
File metadata and controls
78 lines (65 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@media (min-width:1279px) {
}
@media (max-width:1279px) {
section.banner{
background-image: url('https://raw.githubusercontent.com/PacktPublishing/web-development-projects/a3e4f06174d61713411bedfcba0c7898680231e6/spotify-landing-page/media/bg/main-tablet.svg');
background-size: 155%;
background-position: right 40% center;
background-repeat: no-repeat;
}
section.banner h1 {
font-size:10rem;
}
}
@media (max-width:768px) {
header{
height:6rem;
}
header .logo img{
height:30px;
}
section.banner h1 {
font-size:6rem;
}
header nav.desktop-menu{
display: none;
}
header nav.mobile-menu{
display: inline;
}
header nav.mobile-menu img{
height:25px;
width:25px;
}
header nav.mobile-menu img:hover{
cursor: pointer;
}
footer .links{
width:100%;
margin:2rem auto;
flex-direction: column;
}
footer .company , footer .communities, footer .useful-links{
margin-top: 2rem;
}
footer .extras span {
margin-top: 2rem;
}
}
@media (max-width:480px) {
header {
height: 5rem;
}
header .logo img {
height: 25px;
}
section.banner{
background-image: url('https://raw.githubusercontent.com/PacktPublishing/web-development-projects/a3e4f06174d61713411bedfcba0c7898680231e6/spotify-landing-page/media/bg/bursts-mobile.svg');
background-size: 195%;
background-position: center top 50%;
background-repeat: no-repeat;
}
section.banner h1 {
font-size:5rem;
}
}