-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (85 loc) · 1.68 KB
/
style.css
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(
to bottom right,
rgba(248, 165, 194, .9),
rgba(99, 205, 218, .9)
),
url(./mountain.jpg);
background-position: center;
background-size: cover;
}
h1 {
font-size: 20rem;
font-weight: 900;
letter-spacing: 2rem;
text-transform: uppercase;
background: url(./mountain.jpg);
background-position: center;
background-size: cover;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
background-clip: text;
cursor: pointer;
}
p {
position: absolute;
font-size: 2.6rem;
letter-spacing: .5rem;
color: #303952;
margin-bottom: -25rem;
margin-left: -2rem;
}
.nav {
height: 100vh;
position: absolute;
left: 1rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.nav .btn {
width: 1rem;
height: 1rem;
border-radius: 50%;
background-color: #303952;
cursor: pointer;
}
.nav .btn:not(:last-child) {
margin-bottom: .5rem;
}
@media only screen and (max-width: 1000px) {
h1 {
font-size: 14rem;
}
}
@media only screen and (max-width: 600px) {
.wrapper {
background: linear-gradient(
to bottom right,
rgba(248, 165, 194, .9),
rgba(99, 205, 218, .9)
),
url(./mountain-mob.jpg);
background-position: center;
background-size: cover;
}
h1 {
font-size: 10rem;
letter-spacing: 1rem;
transform: rotate(90deg);
}
p {
display: none;
}
}