-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
206 lines (196 loc) · 3.62 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
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
/* ------Reset------ */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
/* ------Variables------ */
:root {
--primary-color: #995f39;
}
/* ------Common------ */
/* body {
} */
#bg {
position: absolute;
top: 0;
left: 0;
background-image: url(https://images.pexels.com/photos/4480890/pexels-photo-4480890.jpeg);
background-position: center;
background-size: cover;
width: 100vw;
height: 100vh;
overflow-x: hidden;
z-index: -1;
}
#bg::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8); /* Change this color and opacity as needed */
pointer-events: none; /* Ensure overlay does not affect interactivity */
z-index: -1;
}
button {
cursor: pointer;
border: none;
padding: 5px 8px;
font-size: 0.8rem;
transition: all 0.3s ease-in;
}
button:hover {
background-color: #fff !important;
color: #000 !important;
}
input,
textarea,
table {
font-size: 1rem;
}
::placeholder {
font-size: 0.9rem;
}
/* ------Header------ */
header {
background-color: var(--primary-color);
max-width: 650px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
header .logo {
background-color: #fff;
color: #995f39;
padding: 5px;
}
header .search input {
width: 250px;
height: 30px;
padding: 16px 10px;
}
/* ------Container------ */
.container {
background-color: transparent;
max-width: 650px;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: flex-start;
padding: 20px;
border: 5px #995f39 solid;
}
/* Input Form */
.container .inp-frm {
background-color: #fff;
width: 40%;
padding: 10px;
margin-right: 10px;
}
.container .inp-frm form {
margin: auto;
background-color: #995f39;
padding: 15px;
}
.container .inp-frm form h3 {
margin-bottom: 5px;
color: #fff;
}
.container .inp-frm input {
width: 100%;
padding: 15px 10px;
height: 20px;
margin-bottom: 10px;
}
.container .inp-frm textarea {
width: 100%;
padding: 7px 10px;
resize: none;
}
.container .inp-frm button {
width: 100%;
margin-top: 10px;
}
.container .inp-frm #save {
background-color: #06612f;
color: #fff;
}
.container .inp-frm #reset {
background-color: #810404;
color: #fff;
}
/* Table */
.container .table {
background-color: #fff;
width: 50%;
max-height: 260px;
padding: 10px;
margin-left: 10px;
overflow: auto;
}
.container .table table {
width: 100%;
background-color: #995f39;
border-collapse: collapse;
}
.container .table .note-body {
display: none;
}
.container .table table,
.container .table table td {
border: 2px #fff solid;
padding: 5px;
}
.container .table table th {
padding: 5px;
text-align: left;
background-color: #636e72;
}
.container .table table th:last-child,
.container .table table th:nth-last-child(2) {
text-align: center;
}
.container .table table .btcellv,
.container .table table .btcelld {
text-align: center;
}
.container .table table td {
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
}
.container .table table .btcellv button {
background-color: #06612f;
color: #fff;
}
.container .table table .btcelld button {
background-color: #810404;
color: #fff;
}
/* ------Responsive------ */
@media (max-width: 600px) {
/* Header */
header {
flex-direction: column;
}
header .logo {
margin-bottom: 10px;
}
/* Container */
.container {
flex-direction: column;
align-items: center;
}
.container .inp-frm,
.container .table {
margin-bottom: 10px;
min-width: 250px;
margin-left: 0px;
margin-right: 0px;
}
}