-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
100 lines (99 loc) · 1.66 KB
/
index.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--violet-bg: hsl(257, 40%, 49%);
--soft-magneta-hover: hsl(300, 69%, 71%);
--white: rgb(255, 255, 255);
}
body {
height: 100vh;
font-family: "Open Sans", sans-serif;
background: var(--violet-bg) url("./images/bg-desktop.svg") center;
}
.logo {
position: absolute;
top: 30px;
left: 70px;
}
.main {
max-width: 75rem;
margin: 0 5rem;
padding-top: 7rem;
display: flex;
flex-direction: row;
/* align-items: center; */
justify-content: space-around;
}
.content {
padding-left: 50px;
}
.main-heading {
font-family: "Poppins", sans-serif;
color: var(--white);
font-weight: 600;
padding-top: 30px;
margin-bottom: 7px;
}
.text {
color: var(--white);
font-weight: 400;
padding-bottom: 1rem;
}
.btn {
margin-top: 1rem;
}
.btn a {
color: var(--violet-bg);
background-color: var(--white);
text-decoration: none;
border-radius: 1.7rem;
padding: 0.7rem 2.5rem;
}
.links {
height: 30px;
width: 100px;
position: absolute;
right: 70px;
display: flex;
flex-direction: row;
}
.links a {
height: 50px;
width: 50px;
padding-right: 10px;
}
a:hover {
color: var(--soft-magneta-hover);
}
.fab .fa-facebook {
color: var(--white);
}
@media screen and (max-width: 874px) {
.main {
height: 150vh;
padding-top: 5rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.image-mockup {
max-height: 500px;
max-width: 650px;
}
.btn a {
padding: 0.5rem 7rem;
}
.links {
position: absolute;
left: 50%;
right: 50%;
padding-top: 40px;
}
.content {
text-align: center;
}
}