-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
152 lines (132 loc) · 2.74 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
@import url('https://fonts.googleapis.com/css2?family=Barriecito&family=Tilt+Prism&family=Wavefont:wght@900&display=swap');
/* font-family: 'Barriecito', cursive;
font-family: 'Tilt Prism', cursive;
font-family: 'Wavefont', cursive; */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #000;
}
section.container h1 {
background: linear-gradient(to right, rgb(0, 26, 255), rgb(0, 217, 255));
padding: 1rem;
font-family: 'Tilt Prism', cursive;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: -5px 4px 4px rgba(0, 0, 0, 0.3);
}
.hidden-messege p {
font-family: 'Wavefont', cursive;
position: absolute;
bottom: 0;
left: 42vw;
font-size: 4rem;
}
.button,
.input {
display: flex;
justify-content: center;
}
button#colorChanger {
padding: 1rem !important;
margin: 1rem;
background: greenyellow;
border-radius: 12px;
text-align: center;
outline: 0;
border: 0;
cursor: pointer;
}
#colorChanger:hover {
background: rgba(153, 255, 0, 0.959);
}
#copyBtn:hover {
background: rgb(43, 43, 44);
}
#colorChanger:focus {
outline: 2px dashed greenyellow;
outline-offset: 3px;
}
/*input field design*/
input[type="text"] {
background: black;
color: #fff;
border: none;
outline: 1px dashed #FFF;
border-radius: 12px;
outline-offset: 3px;
padding: 2px 1.5rem;
}
#flexed-hashtag::before {
content: '\23';
color: #fff;
border: none;
padding: 3px 6px;
position: absolute;
display: inline-block;
font-size: 1.3rem;
font-weight: bolder;
}
input[type="color"] {
width: 2rem;
margin: 0 8px;
}
/* styling copy button */
#copyBtn {
padding: 4px;
background: black;
margin-left: 1rem;
border-radius: 2px;
color: white;
font-family: Barriecito;
}
/* toast messege styling */
.toastContainer {
width: 20%;
height: auto;
background: rgba(153, 255, 0, 0.959);
outline: 1px solid gray;
border: 1px solid black;
color: black;
padding: 8px;
text-align: center;
position: fixed;
top: 2%;
right: 3%;
/* display: none; */
cursor: pointer;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3)
}
.animation-coming {
animation: toastComing 0.2s ease-in;
}
.animation-going {
animation: toastGoing .2s ease-in;
}
@keyframes toastComing {
from {
transform: translateX(200px);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes toastGoing {
from {
transform: translateX(0);
opacity: 1;
}
to {
transform: translateX(200px);
opacity: 0;
}
}