311 lines
4.2 KiB
CSS
311 lines
4.2 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 0px;
|
|
height: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background: hsla(215, 10%, 77%, 0);
|
|
border-radius: 4px;
|
|
}
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background: hsla(0, 0%, 59%, 0.524);
|
|
}
|
|
|
|
.grids {
|
|
background-image: linear-gradient(
|
|
0deg,
|
|
rgba(122, 122, 122, 0.05) 1px,
|
|
transparent 0
|
|
),
|
|
linear-gradient(90deg, rgba(122, 122, 122, 0.05) 1px, transparent 0);
|
|
background-position: 50%;
|
|
background-size: 24px 24px;
|
|
}
|
|
|
|
.cool-btn {
|
|
--btn-default-bg: rgb(41, 41, 41);
|
|
--btn-padding: 15px 20px;
|
|
--btn-hover-bg: rgb(51, 51, 51);
|
|
--btn-transition: 0.3s;
|
|
--btn-letter-spacing: 0.1rem;
|
|
--btn-animation-duration: 1.2s;
|
|
--btn-shadow-color: rgba(0, 0, 0, 0.137);
|
|
--btn-shadow: 0 2px 10px 0 var(--btn-shadow-color);
|
|
--hover-btn-color: #0a9ec4;
|
|
--default-btn-color: #fff;
|
|
--font-size: 18px;
|
|
--font-weight: 800;
|
|
--font-family: Menlo, Roboto Mono, monospace;
|
|
}
|
|
|
|
.cool-btn {
|
|
box-sizing: border-box;
|
|
padding: var(--btn-padding);
|
|
padding-left: 0px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--default-btn-color);
|
|
font: var(--font-weight) var(--font-size);
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: var(--btn-transition);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cool-btn span {
|
|
letter-spacing: var(--btn-letter-spacing);
|
|
transition: var(--btn-transition);
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
background: inherit;
|
|
}
|
|
|
|
.cool-btn span::before {
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
content: "";
|
|
background: inherit;
|
|
}
|
|
|
|
.cool-btn:hover span,
|
|
.cool-btn:focus span {
|
|
color: var(--hover-btn-color);
|
|
}
|
|
|
|
.cool-btn:hover span::before,
|
|
.cool-btn:focus span::before {
|
|
animation: chitchat linear both var(--btn-animation-duration);
|
|
}
|
|
|
|
@keyframes chitchat {
|
|
0% {
|
|
content: "#";
|
|
}
|
|
|
|
5% {
|
|
content: ".";
|
|
}
|
|
|
|
10% {
|
|
content: "^{";
|
|
}
|
|
|
|
15% {
|
|
content: "-!";
|
|
}
|
|
|
|
20% {
|
|
content: "#$_";
|
|
}
|
|
|
|
25% {
|
|
content: "№:0";
|
|
}
|
|
|
|
30% {
|
|
content: "#{+.";
|
|
}
|
|
|
|
35% {
|
|
content: "@}-?";
|
|
}
|
|
|
|
40% {
|
|
content: "?{4@%";
|
|
}
|
|
|
|
45% {
|
|
content: "=.,^!";
|
|
}
|
|
|
|
50% {
|
|
content: "?2@%";
|
|
}
|
|
|
|
55% {
|
|
content: "\;1}]";
|
|
}
|
|
|
|
60% {
|
|
content: "?{%:%";
|
|
right: 0;
|
|
}
|
|
|
|
65% {
|
|
content: "|{f[4";
|
|
right: 0;
|
|
}
|
|
|
|
70% {
|
|
content: "{4%0%";
|
|
right: 0;
|
|
}
|
|
|
|
75% {
|
|
content: "'1_0<";
|
|
right: 0;
|
|
}
|
|
|
|
80% {
|
|
content: "{0%";
|
|
right: 0;
|
|
}
|
|
|
|
85% {
|
|
content: "]>'";
|
|
right: 0;
|
|
}
|
|
|
|
90% {
|
|
content: "4";
|
|
right: 0;
|
|
}
|
|
|
|
95% {
|
|
content: "2";
|
|
right: 0;
|
|
}
|
|
|
|
100% {
|
|
content: "";
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
.loader {
|
|
scale: 3;
|
|
height: 50px;
|
|
width: 40px;
|
|
}
|
|
|
|
.box {
|
|
position: relative;
|
|
opacity: 0;
|
|
left: 10px;
|
|
}
|
|
|
|
.side-left {
|
|
position: absolute;
|
|
background-color: #0891b2;
|
|
width: 19px;
|
|
height: 5px;
|
|
transform: skew(0deg, -25deg);
|
|
top: 14px;
|
|
left: 10px;
|
|
}
|
|
|
|
.side-right {
|
|
position: absolute;
|
|
background-color: #0b9fc4;
|
|
width: 19px;
|
|
height: 5px;
|
|
transform: skew(0deg, 25deg);
|
|
top: 14px;
|
|
left: -9px;
|
|
}
|
|
|
|
.side-top {
|
|
position: absolute;
|
|
background-color: #19b6dd;
|
|
width: 20px;
|
|
height: 20px;
|
|
rotate: 45deg;
|
|
transform: skew(-20deg, -20deg);
|
|
}
|
|
|
|
.box-1 {
|
|
animation: from-left 4s infinite;
|
|
}
|
|
|
|
.box-2 {
|
|
animation: from-right 4s infinite;
|
|
animation-delay: 1s;
|
|
}
|
|
|
|
.box-3 {
|
|
animation: from-left 4s infinite;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
.box-4 {
|
|
animation: from-right 4s infinite;
|
|
animation-delay: 3s;
|
|
}
|
|
|
|
@keyframes from-left {
|
|
0% {
|
|
z-index: 20;
|
|
opacity: 0;
|
|
translate: -20px -6px;
|
|
}
|
|
|
|
20% {
|
|
z-index: 10;
|
|
opacity: 1;
|
|
translate: 0px 0px;
|
|
}
|
|
|
|
40% {
|
|
z-index: 9;
|
|
translate: 0px 4px;
|
|
}
|
|
|
|
60% {
|
|
z-index: 8;
|
|
translate: 0px 8px;
|
|
}
|
|
|
|
80% {
|
|
z-index: 7;
|
|
opacity: 1;
|
|
translate: 0px 12px;
|
|
}
|
|
|
|
100% {
|
|
z-index: 5;
|
|
translate: 0px 30px;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes from-right {
|
|
0% {
|
|
z-index: 20;
|
|
opacity: 0;
|
|
translate: 20px -6px;
|
|
}
|
|
|
|
20% {
|
|
z-index: 10;
|
|
opacity: 1;
|
|
translate: 0px 0px;
|
|
}
|
|
|
|
40% {
|
|
z-index: 9;
|
|
translate: 0px 4px;
|
|
}
|
|
|
|
60% {
|
|
z-index: 8;
|
|
translate: 0px 8px;
|
|
}
|
|
|
|
80% {
|
|
z-index: 7;
|
|
opacity: 1;
|
|
translate: 0px 12px;
|
|
}
|
|
|
|
100% {
|
|
z-index: 5;
|
|
translate: 0px 30px;
|
|
opacity: 0;
|
|
}
|
|
}
|