-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
137 lines (118 loc) · 2.11 KB
/
styles.css
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
:root {
--bg-color: #f8f8f8;
--theme-color: #1e5799;
--primary-color: #000;
--text-color: #333;
--distinct-color: #fff;
--hover-color: #6495ed;
--modal-bg: #f5f5f5;
}
html[data-theme="dark"] {
--bg-color: #1a1a1a;
--theme-color: #0c324c;
--primary-color: #fff;
--text-color: #ddd;
--hover-color: #4682b4;
--modal-bg: #2c3e50;
}
body {
font-family: system-ui, sans-serif;
text-align: center;
background-color: var(--bg-color);
color: var(--text-color);
transition: background-color 0.5s ease;
margin: 0;
}
#memeImg,
.wrapper img {
background-color: var(--bg-color);
color: var(--text-color);
max-width: 100%;
border: 0.5px solid var(--theme-color);
}
header {
background-color: var(--theme-color);
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px;
}
#logo {
border-radius: 50%;
height: 24px;
width: auto;
}
select,
button,
#container,
.wrapper {
margin: 10px;
padding: 5px;
border-radius: 5px;
border: 1px solid var(--primary-color);
}
select {
background: transparent;
color: var(--text-color);
cursor: pointer;
}
button {
background-color: var(--theme-color);
color: var(--distinct-color);
cursor: pointer;
transition: background-color 0.5s ease;
}
button:hover {
background-color: var(--hover-color);
}
dialog {
background-color: var(--modal-bg);
color: var(--text-color);
border: 0.7px solid var(--primary-color);
}
footer {
background-color: var(--theme-color);
color: var(--distinct-color);
padding: 0.5px;
font-size: small;
bottom: 0;
}
footer a {
color: var(--distinct-color);
}
#snackbar{
text-align: center;
}
.toast {
visibility: hidden;
background-color: var(--text-color);
color: var(--bg-color);
border-radius: 5px;
padding: 5px;
margin: 10px auto;
width: min(250px, 60%);
}
.toast.show {
visibility: visible;
animation: fadeIn 0.5s, fadeOut 0.5s 2.5s;
}
@keyframes fadeIn {
from {
bottom: 0;
opacity: 0;
}
to {
bottom: 30px;
opacity: 1;
}
}
@keyframes fadeOut {
from {
bottom: 30px;
opacity: 1;
}
to {
bottom: 0;
opacity: 0;
}
}