-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
136 lines (122 loc) · 2.08 KB
/
styles.css
File metadata and controls
136 lines (122 loc) · 2.08 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;600;700&display=swap");
body {
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(to right, #ffffff 50%, #ffa800 50%);
font-family: "Poppins", sans-serif;
}
h1 {
margin: 40px 0px;
}
.mustard {
color: #ffa800;
margin: 0;
padding: 0;
font-size: 4.5rem;
line-height: 5rem;
text-transform: uppercase;
}
.white {
font-size: 4rem;
line-height: 4.5rem;
color: #2f2e41;
}
.main {
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
width: calc(50% - 50px);
padding-left: 50px;
}
img {
width: calc(50% - 50px);
padding-right: 50px;
}
.social-links {
display: flex;
width: 80%;
justify-content: space-between;
flex-wrap: wrap;
}
a {
text-decoration: none;
color: #2f2e41;
transition: color linear 500ms;
}
a:hover {
text-decoration: underline;
color: #ffa800;
}
.icon {
animation: spin infinite 4000ms linear;
}
@keyframes spin {
0% {
transform: rotate(0deg);
color: #2f2e41;
}
50% {
color: #ffa800;
}
100% {
transform: rotate(360deg);
color: #2f2e41;
}
}
@media screen and (max-width: 1250px) {
body {
background: linear-gradient(to bottom, #ffffff 50%, #ffa800 50%);
}
img {
display: none;
}
.main {
width: calc(100% - 120px);
}
}
@media screen and (max-width: 650px) {
body {
flex-direction: column;
}
.main {
height: 50%;
padding: 0px 20px;
width: calc(100% - 40px);
}
.mustard {
font-size: 3rem;
line-height: 100%;
}
.white {
font-size: 2.5rem;
line-height: 100%;
}
img {
display: block;
width: calc(100% - 20px);
height: 50%;
padding: 10px;
}
}
@media screen and (max-width: 650px) {
body {
background: linear-gradient(to bottom, #ffffff 60%, #ffa800 40%);
}
.mustard {
font-size: 2.5rem;
line-height: 100%;
}
.white {
font-size: 2rem;
line-height: 100%;
}
.main {
height: 70%;
}
}