-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyStyles.css
103 lines (91 loc) · 1.51 KB
/
myStyles.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
96
97
98
99
100
101
102
103
html {
padding:0;
margin:0;
}
body {
overflow: scroll;
background-image: url("bg.png");
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
background-attachment: fixed;
height: 100%;
width: 100%;
color: #44272B;
position: absolute;
padding: 0;
margin: 0;
}
#title {
font-family: 'Montserrat', sans-serif;
text-align: center;
font-size: 72px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#down-arrow {
position: absolute;
display: block;
width: 2%;
top: 90%;
left: 49%;
animation: bounce 2s infinite;
cursor: pointer;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-30px);
}
60% {
transform: translateY(-15px);
}
}
#about-me {
position: absolute;
top: 100%;
height: 100%;
width: 100%;
background-color: #EBEDF0;
}
#blurb {
font-family: 'Montserrat', sans-serif;
position: relative;
top: 35%;
font-size: 24px;
line-height: 1.6;
text-align: center;
width: 80%;
margin: 0 auto;
}
#my-links {
font-family: 'Montserrat', sans-serif;
font-size: 20px;
position: relative;
top: 40%;
text-align: center;
width: 100%;
}
@media (max-width: 600px) {
body {
background-image: url("bg-mobile.png");
background-size: contain;
}
#down-arrow {
width: 5%;
}
#title {
font-size: 10vw;
}
#blurb {
width: 90%;
font-size: 4vw;
}
#my-links{
font-size: 4vw;
}
}