-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflex.css
More file actions
101 lines (93 loc) · 2.04 KB
/
Copy pathflex.css
File metadata and controls
101 lines (93 loc) · 2.04 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
html,
body {
width: 100%;
padding: 50px;
display: flex;
font-family: "Lexend Deca", sans-serif;
font-optical-sizing: auto;
font-weight: 350;
font-style: normal;
font-size: 15px;
color: hsla(0, 0%, 100%, 0.75);
line-height: 25px;
main {
width: inherit;
overflow: hidden;
display: flex;
border-radius: 8px;
justify-content: center;
}
section {
width: inherit;
padding: 40px;
h2 {
font-family: "Big Shoulders", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-size: 30px;
color: hsl(0, 0%, 95%);
}
button {
margin-top: 7em;
width: max-content;
padding: 1em 2em;
border-radius: 24px;
background-color: hsl(0, 0%, 95%);
border: 2px solid hsl(0, 0%, 95%);
resize: none;
cursor: pointer;
transition: all 0.5s ease-in;
}
&:first-child {
background-color: hsl(31, 77%, 52%);
button {
color: hsl(31, 77%, 52%);
&:hover {
transform: translate(2px, -2px);
color: hsl(0, 0%, 95%);
background: none;
}
}
}
&:nth-child(2) {
background-color: hsl(184, 100%, 22%);
button {
color: hsl(184, 100%, 22%);
&:hover {
transform: translate(2px, -2px);
color: hsl(0, 0%, 95%);
background: none;
}
}
}
&:last-child {
background-color: hsl(179, 100%, 13%);
button {
color: hsl(179, 100%, 13%);
&:hover {
transform: translate(2px, -2px);
color: hsl(0, 0%, 95%);
background: none;
}
}
}
}
}
@media screen and (max-width: 768px) {
html,
body {
flex-direction: column;
justify-content: center;
padding: 30px;
main {
flex-direction: column;
}
}
}