ed.brz9.dev/proj/y2t/assets/css/style.css

125 lines
2.4 KiB
CSS

@import url("https://file.brz9.dev/web/css/normalize.css");
@import url("https://file.brz9.dev/cdn/fonts/byl-iconfont-v4.0/icons.css");
@import url("./layout.css");
@import url("./colors.css");
@import url("./fonts.css");
@import url("./ux.css");
input[type=text] {
border: 5px solid var(--black);
border-right: 0px;
padding: 10px;
border-radius: 0px;
background-color: var(--white);
font-family: inherit;
font-weight: inherit;
display: flex;
margin: 0px;
width: auto;
outline: none;
}
select#lang {
border: 5px solid var(--black);
padding: 10px;
border-radius: 0px;
background-color: var(--white);
font-family: inherit;
font-weight: inherit;
display: flex;
margin: 0px;
width: auto;
outline: none;
}
input[type=submit] {
border: 5px solid var(--black);
padding: 10px;
border-radius: 0px;
background-color: var(--black);
color: var(--white);
font-family: inherit;
font-weight: inherit;
width: 100%;
}
form section.input {
display: flex;
}
section.input select, section.input input[type=text] {
flex-grow: 1;
}
/* Loading screen */
div.loading {
position: fixed;
background-color: var(--black);
color: var(--white);
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
}
div.loading span {
width: 1rem;
height: 1rem;
margin-left: 20px;
background-color: var(--white);
border-radius: 50%;
display: inline-block;
animation-name: dots;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
margin-top: 23px;
}
div.loading span:nth-child(1){
animation-delay: 0s;
}
div.loading span:nth-child(2){
animation-delay: 0.4s;
}
div.loading span:nth-child(3){
animation-delay: 1.2s;
}
@keyframes dots{
50%{
opacity: 0.2;
transform: scale(0.4) translate(1px);
}
}
div.y2t-output div.top span {
font-size: 1.5rem;
}
section#output {
max-width: 70vw;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
}
section#output div.y2t-output {
margin-top: 40px;
}
div.y2t-output {
color: linear-gradient(0deg, rgba(35,45,55,1) 0%, rgba(35,45,55,0.47100847174807425) 29%, rgba(35,45,55,0) 100%);
padding-bottom: 10px;
}