-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
66 lines (62 loc) · 1.18 KB
/
styles.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
* {
box-sizing: border-box;
}
/* Custom Scrollbar */
/* width */
::-webkit-scrollbar {
width: 9px;
}
/* Track */
::-webkit-scrollbar-track {
background: transparent;
border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: rgb(48, 48, 48);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: rgb(36, 36, 36);
}
body {
font-family: "Poppins", sans-serif;
background-color: #282828;
color: white;
margin: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
text-align: center;
height: 100vh;
margin: auto auto;
}
.container {
display: flex;
flex-direction: column;
}
.btn {
background: linear-gradient(90deg, rgb(245, 51, 132), rgb(194, 65, 211));
border-radius: 500px;
border: none;
color: #f1f1f1;
margin: 0.8rem;
padding: 0.25rem 1.8rem;
font-size: 1.1rem;
font-family: inherit;
cursor: pointer;
}
.btn:active {
transform: scale(1.05);
}
.btn:hover {
box-shadow: 0 2px 5px rgba(255, 255, 255, 0.3);
}
@media (max-width: 900px) {
h1 {
font-size: 1.3rem;
margin: 0.5rem 2rem;
}
}