-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
58 lines (51 loc) · 1.59 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
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*, html {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--white: #fff;
--bg-color: #151515;
--primary-color: #a91d3a;
--secondary-color: #C73659;
--text-color:#EEEEEE;
}
body {
height: 100vh;
background: var(--bg-color);
display: flex;
justify-content: center;
align-items: center;
}
.button-container {
border: 3px solid var(--primary-color);
padding: 10px;
border-radius: 10px;
box-shadow: inset 0 20px 4px -19px var(--primary-color);
}
button {
cursor: pointer;
outline: none;
width: 120px;
height: 75px;
font-family: Montserrat, sans-serif;
font-weight: 600;
padding: 10px;
border-radius: 6px;
background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
border: 3px solid var(--primary-color);
color: var(--text-color);
text-shadow: 0 2px 5px var(--bg-color);
font-size: 1.5rem;
letter-spacing: .2rem;
text-transform: uppercase;
box-shadow: inset 0 20px 4px -19px var(--primary-color), 0 10px 10px 0 var(--text-color);
}
button:hover {
background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}
button:active {
transform: translateY(3px);
box-shadow: 0 5px 5px 0 var(--text-color);
}