-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
175 lines (145 loc) · 3.09 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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;600&display=swap');
:root {
/* Primary colors */
--violet: hsl(257 40% 49%);
--soft-magenta: hsl(300 69% 71%);
--white: hsl(0 0% 100%);
--blackish: hsl(0 0% 20%);
}
.flex {
display: flex;
}
.col {
flex-direction: column;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
font-weight: 400;
color: var(--white);
text-decoration: none;
}
.body {
align-items: center;
background: var(--violet) url(bg-mobile.svg);
background-size: cover;
background-attachment: fixed;
background-repeat: no-repeat;
background-position: top center;
}
.body > * {
width: 100%;
padding: 2em 4em;
}
.logo {
max-width: 18ch;
}
.main {
align-items: center;
gap: 4em;
}
.main > * {
max-width: 710px;
}
.mockup {
display: block;
width: 100%;
}
.text {
align-items: center;
gap: 1em;
text-align: center;
}
.title {
font-family: 'Poppins', sans-serif;
font-weight: 600;
}
.register-link {
margin-top: 1em;
}
.register-button {
padding: 1em 6em;
background: var(--white);
color: var(--violet);
font-size: 1em;
border: none;
border-radius: 2em;
box-shadow: 0 .3em 1em #333;
cursor: pointer;
transition: background 300ms ease-in-out, color 500ms ease-in-out;
}
.register-button:hover {
background: var(--soft-magenta);
color: var(--white);
transition: background 200ms ease-in-out, color 300ms ease-in-out;
}
.footer {
align-items: center;
gap: 2em
}
.socials {
width: 100%;
justify-content: center;
gap: 1em;
}
.brand-link {
position: relative;
width: 2.5em;
height: 2.5em;
border: 1px solid var(--white);
border-radius: 50%;
transition: transform 100ms ease-in-out;
}
.brand-link:hover {
background: radial-gradient(circle at top left, hsl(0 0% 100% / .5), hsl(300 69% 71% / .5));
border: 1px solid var(--soft-magenta);
box-shadow: inset 0 0 .5em var(--soft-magenta), inset .1em .1em hsl(0 0% 100% / .5), inset -.05em -.05em hsl(0 0% 0% / .2);
transform: scale(1.3);
transition: transform 300ms ease-in-out;
}
.brand-link:hover .fa-brands {
color: var(--soft-magenta);
}
.fa-brands {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.attribution {
width: 100%;
font-size: .8em;
text-align: center;
}
.attribution a {
color: var(--soft-magenta);
}
.attribution a:hover {
filter: brightness(150%);
}
@media only screen and (min-width: 1180px) {
.body {
background: var(--violet) url(bg-desktop.svg);
background-size: cover;
background-attachment: fixed;
background-repeat: no-repeat;
}
.main {
flex-direction: row;
align-items: flex-start;
gap: 3em;
}
.text {
margin-top: 3em;
align-items: flex-start;
text-align: left;
}
.footer {
gap: 1em;
}
.socials {
justify-content: flex-end;
}
}