107 lines
2.2 KiB
CSS
Executable File
107 lines
2.2 KiB
CSS
Executable File
@property --gradient-x {
|
|
syntax: "<percentage>";
|
|
inherits: false;
|
|
initial-value: 100%;
|
|
}
|
|
@property --gradient-y {
|
|
syntax: "<percentage>";
|
|
inherits: false;
|
|
initial-value: 0%;
|
|
}
|
|
body {
|
|
background: rgb(16, 0, 43);
|
|
background: radial-gradient(
|
|
circle at var(--gradient-x) var(--gradient-y),
|
|
var(--bg-1) 0%,
|
|
var(--bg-2) 100%
|
|
);
|
|
background-size: 100vw 100vh;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed;
|
|
transition: --gradient-x 30s ease-in-out,
|
|
--gradient-y 30s ease-in-out;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
width: 100vw;
|
|
min-height: 100vh;
|
|
position: relative;
|
|
}
|
|
#particles-js {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: absolute;
|
|
z-index: -1000;
|
|
border: none;
|
|
overflow-y: hidden;
|
|
top: 0;
|
|
transition-duration: 0.05s;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
input[type=text] {
|
|
width: 70%;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
padding: 18px;
|
|
margin: 5px;
|
|
text-align: center;
|
|
border-radius: 10px;
|
|
background-color: var(--color-2);
|
|
border-color: var(--color-3);
|
|
color: var(--text-color);
|
|
outline: none;
|
|
transition-duration: 0.25s;
|
|
font-size: 20px;
|
|
text-shadow: var(--color-1) 0 0 10px;
|
|
}
|
|
input[type=text]:focus {
|
|
filter:brightness(1.25) !important;
|
|
}
|
|
input[type=text]:hover {
|
|
filter:brightness(1.1);
|
|
}
|
|
input[type=text]::placeholder {
|
|
color: color-mix(in srgb, var(--text-color) 20%, #00000000 80%);
|
|
text-shadow: color-mix(in srgb, var(--text-color) 40%, #00000000 60%) 0 0 10px;
|
|
}
|
|
/* Chrome, Edge and Safari */
|
|
*::-webkit-scrollbar {
|
|
height: 10px;
|
|
width: 8px;
|
|
}
|
|
*::-webkit-scrollbar-track {
|
|
border-radius: 5px;
|
|
background-color: var(--color-4);
|
|
}
|
|
|
|
*::-webkit-scrollbar-track:hover {
|
|
filter:brightness(1.1);
|
|
}
|
|
|
|
*::-webkit-scrollbar-track:active {
|
|
filter:brightness(1.25);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
border-radius: 5px;
|
|
background-color: var(--color-2);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
filter:brightness(1.1);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:active {
|
|
filter:brightness(1.25);
|
|
}
|
|
|
|
.title {
|
|
color: var(--color-1);
|
|
text-shadow: var(--color-1) 0 0 24px;
|
|
} |