mirror of
https://github.com/Gabi-Zar/Images-Scrapper-JS.git
synced 2026-04-17 05:36:06 +02:00
184 lines
3.0 KiB
CSS
184 lines
3.0 KiB
CSS
* {
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
font-family: "Segoe UI", sans-serif;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border-color) transparent;
|
|
}
|
|
|
|
:root {
|
|
--border-color: #ffffff;
|
|
--text-color: #eee;
|
|
--transparent-white: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
body {
|
|
background: black;
|
|
color: var(--text-color);
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 2px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--border-color);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.app {
|
|
display: flex;
|
|
height: 100vh;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
padding: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.content h1 {
|
|
font-size: 50px;
|
|
margin-bottom: 20px;
|
|
color: var(--text-color);
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.content button {
|
|
width: 200px;
|
|
height: 50px;
|
|
background: var(--transparent-white);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
color: var(--text-color);
|
|
font-size: 20px;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.content input {
|
|
flex: 1;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
background: var(--transparent-white);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 12px;
|
|
color: var(--text-color);
|
|
font-size: 17px;
|
|
outline: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.content form {
|
|
display: flex;
|
|
flex: 1;
|
|
}
|
|
|
|
.content hr {
|
|
border: none;
|
|
border-top: 1px solid var(--border-color);
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.view {
|
|
width: 100%;
|
|
max-width: 1280px;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 32px;
|
|
padding: 40px;
|
|
|
|
z-index: 0;
|
|
overflow: hidden;
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
|
|
.horizontal-div {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.scroll-div {
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.stars-canvas {
|
|
position: fixed;
|
|
z-index: -1;
|
|
}
|
|
|
|
.images-div {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, 150px);
|
|
gap: 20px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.image-box {
|
|
width: 150px;
|
|
height: 150px;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.image-box:hover {
|
|
transform: scale(3);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.image-box img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.loader {
|
|
border: 16px solid var(--transparent-white);
|
|
border-top: 16px solid var(--border-color);
|
|
border-radius: 50%;
|
|
width: 300px;
|
|
height: 300px;
|
|
animation: spin 2s linear infinite;
|
|
margin: 20px;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.loader-div {
|
|
display: none;
|
|
margin-top: 50px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.loader-div.show {
|
|
display: flex;
|
|
}
|