-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
140 lines (120 loc) · 2.26 KB
/
style.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
138
139
140
:root {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body {
background-color: rgb(29, 29, 29);
color: white;
}
.search-container {
display: flex;
justify-content: center;
align-items: center;
padding: 2ch;
gap: 2ch;
}
.search-container input {
font-size: 1.5rem;
padding: 0.2ch 1ch;
border: none;
background-color: rgb(191, 191, 191);
border-radius: 0.5ch;
max-height: 4rem;
width: 40ch;
}
.search-container button {
background-color: rgb(121, 0, 0);
border: none;
font-size: 1rem;
padding: 1ch 2ch;
font-weight: bold;
color: rgb(226, 226, 226);
border-radius: 0.5ch;
max-height: 4rem;
}
.result {
display: none;
justify-content: center;
align-items: center;
gap: 3ch;
padding: 5ch 4ch;
}
.result-data {
display: flex;
flex-direction: column;
justify-content: center;
padding: 2ch 5ch;
border: 1px solid rgb(66, 66, 66);
border-radius: 1rem;
}
.result p {
font-size: 1em;
font-weight: bold;
margin: 1ch;
}
.result img {
border-radius: 2em;
transition: 0.8s;
}
.result img:hover {
transform: rotate(5deg);
box-shadow: 0.8ch 0.5ch rgb(143, 143, 143);
}
.popup-message {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
display: none;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.833);
}
.popup-message .message {
background-color: white;
color: black;
padding: 2ch 4ch;
width: 350px;
border: 1px solid lightgray;
border-radius: 1rem;
text-align: center;
}
.popup-message .message img {
width: 10ch;
height: 10ch;
}
.popup-message .message p {
font-size: 1.5rem;
}
.popup-message .message button {
margin: 3ch auto 1ch auto;
padding: 0.8ch 3.5ch;
font-size: 0.8rem;
border: none;
background-color: black;
color: white;
font-weight: bold;
border-radius: 0.5ch;
}
@media (max-width: 576px) {
.search-container {
flex-direction: column;
}
.search-container input {
width: 100%;
}
.search-container button {
width: max-content;
}
.popup-message .message {
width: 250px;
}
.result {
flex-direction: column;
}
.result-data {
order: 2;
min-width: 200px;
}
}