test / CSS /dl_display_result.css
NagisaNao's picture
♻️
c1d0017 verified
raw
history blame
2.3 kB
/* General Styles */
.header_dl,
.header_outputs_dl {
font-family: cursive;
font-size: 20px;
font-weight: bold;
text-align: center;
}
.header_dl {
color: #AC8FA5;
margin-bottom: 15px;
}
.header_outputs_dl {
color: #0083C0;
}
hr {
border-color: grey;
background-color: grey;
opacity: 0.25;
width: 1000px;
}
/* Element text style */
.widget-html {
font-family: cursive;
font-size: 14px;
color: white !important;
user-select: none;
}
/* Container style */
.container_dl {
position: relative;
flex-direction: column;
align-items: center;
background-color: #232323;
width: 1200px;
height: auto;
margin: 40px 10px 10px 10px;
padding: 10px 15px;
border-radius: 15px;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.3);
transition: all 0.5s ease-in-out;
overflow: visible;
}
.container_dl::after {
position: absolute;
top: 5px;
right: 10px;
content: "ANXETY";
font-weight: bold;
font-size: 24px;
color: rgba(0, 0, 0, 0.2);
}
.result_output_dl {
flex-wrap: wrap;
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
border-radius: 8px;
background-color: #1F1F1F;
width: 95%;
padding: 10px 15px;
overflow: visible;
}
.outputs_dl {
flex-grow: 1;
flex-wrap: wrap;
background-color: #181818;
padding: 10px 15px;
border-radius: 15px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.3);
color: #C1C1C1;
margin: 8px;
transition: all 0.15s ease-in-out;
}
/* good use of space */
.extension {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
/* Animation of elements */
.container_dl,
.outputs_dl {
animation: showedResult 1s;
}
.items_dl {
animation: showedText 1s;
}
@keyframes showedResult {
0% {
transform: translate3d(0, 15%, 0);
opacity: 0;
}
100% {
transform: translate3d(0, 0, 0);
opacity: 1;
}
}
@keyframes showedText {
0% {
transform: translate3d(-30%, 0, 0);
opacity: 0;
}
100% {
transform: translate3d(0, 0, 0);
opacity: 1;
}
}