55 lines
852 B
CSS
55 lines
852 B
CSS
|
* {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
box-sizing: border-box;
|
||
|
font-family: "Poppins", sans-serif;
|
||
|
}
|
||
|
body {
|
||
|
background-color: #f5f8ff;
|
||
|
}
|
||
|
|
||
|
input[type="file"] {
|
||
|
display: none;
|
||
|
}
|
||
|
label {
|
||
|
display: block;
|
||
|
position: relative;
|
||
|
background-color: #050E49;
|
||
|
color: #ffffff;
|
||
|
font-size: 1.1em;
|
||
|
text-align: center;
|
||
|
width: 16em;
|
||
|
padding: 1em 0;
|
||
|
border-radius: 0.3em;
|
||
|
margin: 0 auto 1em auto;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
#file-display {
|
||
|
position: relative;
|
||
|
width: 90%;
|
||
|
margin: 0 auto;
|
||
|
display: flex;
|
||
|
justify-content: space-evenly;
|
||
|
gap: 1.25em;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
#file-display figure {
|
||
|
width: 45%;
|
||
|
}
|
||
|
#file-display img {
|
||
|
width: 100%;
|
||
|
}
|
||
|
#file-display figcaption {
|
||
|
font-size: 1em;
|
||
|
font-weight: 600;
|
||
|
text-align: center;
|
||
|
color: #5a5861;
|
||
|
}
|
||
|
.active {
|
||
|
border: 0.2em dashed #025bee;
|
||
|
}
|
||
|
#error {
|
||
|
text-align: center;
|
||
|
color: #ff3030;
|
||
|
}
|