summaryrefslogtreecommitdiff
path: root/client/assets/styles.css
blob: 983ca513588fdcbb411046e0f3c0394d4ee555ca (plain)
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
@import url('fonts.css');

body {
    background-color: #282828;
    color: #ebdbb2;
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', monospace;
}

#root {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: auto;
}

.header {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.upload__container,
.file__details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    min-width: 600px;
    border-radius: 2rem;
    gap: 1rem;
    padding: 1rem;
    background-color: #ebdbb2;
    color: #282828;
    overflow-wrap: anywhere;
    position: relative;
}

.file__details__text {
    font-size: 1.5rem;
}

.file__details__button__container {
    display: flex;
    gap: 1rem;
}

.upload__button,
.download__button {
    font-size: 1.5rem;
    padding: 1rem;
    background-color: #282828;
    border-radius: 16px;
    border: 1px solid #282828;
    color: #ebdbb2;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.upload__button:hover,
.download__button:hover {
    transform: scale(1.1);
}

.upload__button {
    position: absolute;
    bottom: 5%;
}

.upload__input {
    color: #282828;
    border: 2px solid #282828;
    padding: 2rem;
    border-radius: 0.5rem;
    min-height: 300px;
    min-width: 300px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

.upload__input__overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #282828;
    border: 2px solid #282828;
    padding: 2rem;
    border-radius: 0.5rem;
    min-height: 300px;
    min-width: 300px;
}

.upload__result {
    opacity: 0;
    padding: 1rem;
}

.upload__result__visible {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {

    .upload__container,
    .file__details {
        min-height: 400px;
        min-width: 300px;
        max-height: 400px;
        max-width: 300px;
    }

    .upload__input,
    .upload__input__overlay {
        min-height: 100px;
        min-width: 250px;
        max-width: 250px;
        padding: 0.5rem;
    }

    .upload__button,
    .download__button {
        font-size: 1.2rem;
    }

    .file__details__text {
        font-size: 1.2rem;
    }
}