-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.css
137 lines (126 loc) · 2.62 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
* {
margin: 0;
padding: 0;
}
body {
background-image: url('./images/3.png');
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
width: 100%;
}
.container {
display: flex;
flex-direction: column;
justify-content: start;
align-items: center;
}
.play-button-outer {
/* margin-bottom: 50rem; */
/* position: absolute; */
top: 60%;
}
.blockname {
position: relative;
width: 100%;
z-index: 1;
font-size: 300px;
color: #33b6c7;
font-family: 'Righteous', cursive, 'shortened';
text-align: center;
/* margin-bottom: 100px; */
top: -60%;
}
:root {
--clr-neon: hsl(158, 88%, 14%);
--clr-bg: #3edbf0;
}
.neon-button {
font-size: 4rem;
cursor: pointer;
color: #af3ef0;
font-family: 'Balsamiq Sans', cursive;
border: #e0a4f8 0.2em solid;
margin: 1em 0.15em;
padding: 0.25em 1em;
border-radius: 1em;
background: #082b3b;
text-shadow: 0 0 0.05em rgb(186, 123, 202), 0 0 0.1em #e13ef0;
box-shadow: 0 0 0.5em 0 #3edbf0;
}
.button {
border: 1px solid green;
backdrop-filter: blur(10px);
transform: skewX(-10deg);
height: 50px;
width: 200px;
border-radius: 20px 5px 20px 0px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
font: 22px sans-serif;
font-weight: bolder;
text-shadow: 0 0 20px #fff;
text-transform: uppercase;
animation: breath2 2s 0.5s infinite alternate;
transition: all 0.2s ease;
cursor: pointer;
}
.button:before {
content: '';
display: block;
width: calc(100% - 22px);
height: calc(50px - 8px);
animation: breath 2s infinite alternate;
left: 10px;
top: 3px;
position: absolute;
background-color: transparent;
border: 1px solid #fff;
border-radius: 15px 3px 15px 3px;
}
.button.fire {
border-color: #ffeca8;
background-image: linear-gradient(
to bottom,
rgba(255, 138, 48, 0.6),
rgba(240, 96, 29, 0.6)
);
box-shadow: 0 0 70px rgba(255, 138, 48, 0.6),
0 5px 20px rgba(255, 138, 48, 0.6), inset 0 1px #ffeca8,
inset 0 -1px #ffeca8;
color: #08262e;
}
.button.fire:before {
box-shadow: inset 0 0 30px 0 #ffeca8;
}
.button:hover.fire {
box-shadow: 0 0 70px rgba(255, 138, 48, 0.8),
0 5px 20px rgba(255, 138, 48, 0.8), inset 0 1px #ffeca8,
inset 0 -1px #ffeca8;
}
.button:hover.fire:before {
box-shadow: inset 0 0 50px 0 #ffeca8;
}
.button + .button {
margin-top: 15px;
animation-delay: 0.3s;
}
@keyframes breath {
0% {
transform: scaleX(1);
}
100% {
transform: scaleX(0.95);
}
}
@keyframes breath2 {
0% {
transform: skewX(-10deg) scaleX(1);
}
100% {
transform: skewX(-10deg) scaleX(0.95);
}
}