You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Scripted/WEB/View/src/CSS/FirstTest.css

100 lines
1.6 KiB

@font-face {
font-family: Fauna;
src: url("../../assets/fonts/Fauna.ttf");
}
@font-face {
font-family: Equinox;
src: url("../../assets/fonts/Equinox.otf");
}
body {
min-height: 100vh;
font-family: "Equinox", sans-serif;
color: white;
scroll-behavior: smooth;
background-color: #050e15;
}
nav {
background-color: #050e15;
}
p {
font-family: "Fauna", sans-serif;
font-size: 14px;
}
li {
font-family: "Fauna", sans-serif;
font-size: 14px;
}
#editor {
width: 100%;
min-height: 80vh;
height: auto;
}
#console {
font-family: DejaVu Sans Mono, monospace;
font-size: 0.8rem;
letter-spacing: 1px;
background-color: #222831;
resize: none;
color: #fff;
border: 1px solid #44fff6;
box-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 5px #44fff6, 0 0 5px #44fff6,
inset 0 0 5px #44fff6;
}
.btn {
position: relative;
width: 120px;
height: 60px;
background: transparent;
}
.btn:before,
.btn:after {
content: "";
position: absolute;
inset: 0;
transition: 0.5s;
background: #f00;
}
.btn:nth-child(1):before,
.btn:nth-child(1):after {
background: linear-gradient(45deg, #00ccff, #0e1538, #d400d4);
}
.btn:nth-child(2):before,
.btn:nth-child(2):after {
background: linear-gradient(45deg, #d400d4, #0e1538, #fb5942);
}
.btn:hover:before {
inset: -3px;
}
.btn:hover:after {
inset: -3px;
filter: blur(10px);
}
.btn span {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #0e1538;
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
text-transform: uppercase;
letter-spacing: 2px;
color: #fff;
}