This commit is contained in:
Minik Gaarde Lambrecht
2021-04-08 13:06:52 +02:00
parent 84d849c6dd
commit a0d9f880fd
5 changed files with 103 additions and 14 deletions
+68 -4
View File
@@ -1,6 +1,7 @@
body{
body {
text-align: center;
}
.HeaderPanel {
position: fixed;
overflow: hidden;
@@ -42,6 +43,10 @@ body{
position: center;
}
#createGameJam input:focus-visible {
outline: none;
}
#startTime {
border-radius: 15px;
color: #474747;
@@ -82,8 +87,6 @@ body{
border: double;
}
#description {
background-color: rgb(18, 18, 18);
color: rgba(255, 255, 255, .55);
@@ -99,4 +102,65 @@ body{
background-color: rgb(18, 18, 18);
border: double;
}
/*Create Game Jam end*/
/*Create Game Jam end*/
.FormField {
position: relative;
padding: 15px 0 0;
margin-top: 10px;
}
.FormFieldInput {
font-family: inherit;
width: 100%;
border: 0;
border-bottom: 2px solid #9b9b9b;
outline: 0;
font-size: 1.3rem;
color: #fff;
padding: 7px 0;
background: transparent;
transition: border-color 0.2s;
}
.FormFieldInput::placeholder {
color: transparent;
}
.FormFieldInput:placeholder-shown ~ .FormFieldLabel {
font-size: 1.3rem;
cursor: text;
top: 20px;
}
.FormFieldLabel {
position: absolute;
top: 0;
display: block;
transition: 0.2s;
font-size: 1rem;
color: #9b9b9b;
}
.FormFieldInput:focus {
padding-bottom: 6px;
font-weight: 700;
border-width: 3px;
border-image: linear-gradient(to right, #11998e, #38ef7d);
border-image-slice: 1;
}
.FormFieldInput:focus ~ .FormFieldLabel {
position: absolute;
top: 0;
display: block;
transition: 0.2s;
font-size: 1rem;
color: #11998e;
font-weight: 700;
}
.FormFieldInput:required,
.FormFieldInput:invalid {
box-shadow: none;
}