-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (83 loc) · 1.39 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
text-decoration: none;
font-family: 'Anton', sans-serif;
}
html {
font-size: 62.5%;
}
.container {
height: 100vh;
width: 100%;
background-color: #1b1f25;
position: relative;
overflow: hidden;
}
.navigation {
width: 100%;
height: 10rem;
display: flex;
}
.nav-link {
flex: 1;
font-size: 3rem;
text-transform: uppercase;
letter-spacing: 0.2rem;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--i);
}
.page {
position: absolute;
bottom: 0;
width: 100%;
height: calc(100vh - 10rem);
display: flex;
justify-content: center;
background-color: var(--i);
transform: translateX(100%);
transition: transform 0.5s 0.5s;
}
.page h1 {
margin-top: 15rem;
font-size: 10rem;
color: #eee;
width: 80rem;
letter-spacing: 0.5rem;
text-transform: uppercase;
text-align: center;
text-shadow: 0 0.5rem 3rem rgba(0, 0, 0, 0.2);
}
.page h1 span {
display: block;
font-family: 'Kanit', sans-serif;
text-transform: capitalize;
color: #fff;
letter-spacing: 0;
margin-top: 15rem;
}
.change.page {
transform: translateX(0);
z-index: 100;
transition: transform 0.5s;
}
/* Media Queries */
@media screen and (max-width: 820px) {
html {
font-size: 55%;
}
}
@media screen and (max-width: 430px) {
html {
font-size: 50%;
}
}
@media screen and (max-width: 375px) {
html {
font-size: 40%;
}
}