Spaces:
Runtime error
Runtime error
File size: 1,368 Bytes
b2f488a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
/* || RESET CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Courier New', Courier, monospace;
font-size: 1.3em;
min-height: 100vh;
display: flex;
flex-direction: column;
background-color: #333;
margin-inline: 1em;
}
h1 {
color: #bbb;
}
/* || GENERAL STYLES */
header>h1 {
text-align: center;
margin: 0.5em 0;
}
main {
flex-grow: 1;
}
.group {
width:100%;
display: flex;
justify-content: center;
align-items: center;
column-gap: 1em;
row-gap: 2em;
flex-wrap: wrap;
position: relative;
}
.group .container {
width: 90%;
max-width:400px;
height: 300px;
overflow: hidden;
}
.container img {
width:100%;
height:90%;
border-radius: 10px;
border: 2px solid #fff;
object-fit: contain;
background-color: #222;
/* object-fit: cover; */
}
.container__label {
display: block;
color: #fff;
font-weight: 500;
font-size: 0.9em;
}
#image_file_input {
display: None
}
#original_img {
cursor: pointer;
}
footer {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-size: 0.9em;
margin-top: 2em;
padding: 0.4em 0;
color: #ccc;
}
footer a {
text-decoration: underline;
color: #fff;
} |