-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylesheet.css
183 lines (142 loc) · 3.91 KB
/
stylesheet.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
/* CSS Stylesheet */
@import url("css/normalize.css");
:root {
--main-bg-color: rgb(20, 20, 20);
--main-text-color: white;
--input-text-bg: rgba(16,16,16,0.5);
--button-bg: #242424;
--button-bg-hovered: #2c2c2c;
--button-bg-click: #202020;
--button-border-color: #434343;
--button-font-color: white;
--result-item-container_bg: var(var(--main-bg-color));
--result-item-container_bg-hovered: rgb(25,25,25);
--result-item-container_bg-click: rgb(22,22,22);
--result-item-container_border-color: rgb(65,65,65);
--result-item-container_border-color-hovered: rgb(145,145,155);
--result-item-container_border-color-click: rgb(125,125,125);
}
/** Main Style **/
body {
background-color: var(--main-bg-color);
font-family: Arial, Helvetica, sans-serif;
color: var(--main-text-color);
}
#header_container {
text-align: center;
box-shadow: 0px -2px 15px 0px black;
padding: 8px;
margin-bottom: 15px;
}
#page_header_title {
font-size: 24px;
}
#form_container {
display: block;
text-align: center;
padding: 5px;
}
#searchbar_container {
display: block;
text-align: center;
padding: 5px;
}
/* Form Input */
input[type="text"] {
background-color: var(--input-text-bg);
border-style: none;
padding: 2px 5px;
color: inherit;
}
input[type="submit"] {
background: var(--button-bg);
border: 1px solid var(--button-border-color);
color: var(--button-font-color);
}
input[type="reset"] {
background: var(--button-bg);
border: 1px solid var(--button-border-color);
color: var(--button-font-color);
}
input[type="button"] {
background: var(--button-bg);
border: 1px solid var(--button-border-color);
color: var(--button-font-color);
}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
background: var(--button-bg-hovered);
}
input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active {
background: var(--button-bg-click);
}
.form-small-side-btn {
font-size: 12px;
}
/* Results Container */
#listing-container {
display: flex;
padding: 5px 15px;
flex-wrap: wrap;
justify-content: center;
}
#listing-container .item-container {
margin: 5px;
}
/* Container for the results */
.item-container {
display: flex;
border-width: 2px;
border-radius: 5px;
border-style: solid;
border-color: var(--result-item-container_border-color);
background-color: var(--main-bg-color);
text-align: center;
}
.item-container._nodesc:hover, .item-container._nodesc:focus {
cursor: pointer;
background-color: var(--result-item-container_bg-hovered);
border-color: var(--result-item-container_border-color-hovered);
outline: none;
}
.item-container:hover , .item-container:focus {
border-color: var(--result-item-container_border-color-hovered);
outline: none;
}
.item-container._nodesc:active {
cursor: pointer;
background-color: var(--result-item-container_bg-click);
border-color: var(--result-item-container_border-color-click);
}
.item-container .item {
text-align: center;
display: flex;
flex-direction: column;
}
.item-container._nodesc .item .item-desc-container {
display: none;
}
.item-container .item .item-image:hover {
cursor: pointer;
}
.item-container .item .item-image {
padding: 10px 10px 5px 10px;
}
.item-container .item .item-desc-container {
padding: 5px;
background-color: rgba(0,0,0,0.1);
height: 50%;
}
.item-container .item .item-desc-container .item-desc-unicode {
font-size: 14px;
font-family: "Consolas", "Courier new", "monospace";
}
.item-container .item .item-desc-container .item-desc-unicode span {
padding: 0px 2px;
background-color: rgba(0,0,0,0.2);
}
.item-container .item .item-desc-container .item-desc-name {
/*font-size: 16px;*/
font-size: small;
font-family: monospace;
width: 80px;
}