-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
118 lines (99 loc) · 1.89 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
{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
padding: 20px;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center 50%;
}
header {
background-color: #333;
color: #fff;
padding: 1rem;
text-align: center;
}
header h1 {
margin-bottom: 0.5rem;
}
header div {
margin-top: 1rem;
}
header button {
padding: 0.5rem 1rem;
background-color: #4caf50;
color: #fff;
border: none;
cursor: pointer;
font-size: 1rem;
margin-right: 0.5rem;
}
#search-form {
margin-top: 1rem;
text-align: center;
}
#search-input,
#search-type,
#search-button {
padding: 0.5rem;
font-size: 1rem;
}
#search-button {
background-color: #007bff;
color: #fff;
}
.search-results {
margin-top: 20px;
}
.card-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.card {
width: calc(33.33% - 20px);
margin-bottom: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.card img {
width: 100%;
height: auto;
}
.card-body {
padding: 20px;
}
.card h3 {
margin-bottom: 10px;
}
.card p {
margin-bottom: 10px;
}
footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
padding: 20px;
background-color: #333;
color: #fff;
}
@media (max-width: 768px) {
header div {
flex-direction: column;
}
header button {
margin-bottom: 1rem;
}
.card {
width: calc(50% - 20px);
}
}