-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (84 loc) · 1.54 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
margin: 0;
background: linear-gradient( #1b1b2f 0%, #1f4068 50%, #162447 100%);
background-size: cover;
color: #fff;
font-family: 'Poppins';
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.container {
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
h1 {
font-size: 2.5rem;
color: #e84949;
margin-bottom: 1rem;
font-weight: 600;
font-size: 3.5rem;
}
p {
font-size: 1.2rem;
color: #ffffff;
font-family:'Poppins';
}
.btn {
background-color: #e84949;
width: fit-content;
color: white;
padding: 0.8rem 2.3rem;
font-weight: 700;
position: relative;
z-index: 1;
border: none;
border-radius: 5px;
transition: all 0.3s ease;
}
.btn::before {
content: "";
position: absolute;
background-color: rgba(0, 0, 0, 0.5);
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: -1;
transform: scaleX(0);
transform-origin: left;
transition: 0.5s ease;
border-radius: 5px;
}
.btn:hover {
color: #e84949;
transform: scale(1.05);
}
.btn:hover::before {
transform: scaleX(1);
}
#punch {
align-self: center;
color: #e84949;
margin-top: 1.5rem;
font-size: 1.2rem;
font-weight: 600;
}
#joke {
font-size: 1.5rem;
margin-top: 2rem;
align-self: center;
color: #ffffff;
font-weight: 600;
}