-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
98 lines (79 loc) · 1.29 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
body {
background-color: light;
}
h1 {
color: black;
font-size: 32px;
text-align: center;
}
p {
color: black;
text-align: center;
font-size: 16px;
line-height: 1.5;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
li {
padding: 5px;
border: 1px solid skyblue;
margin-bottom: 10px;
}
header {
text-align: center;
font-size: 10px
}
img {
display: block;
margin: auto;
}
label {
color: black;
}
.subtitles {
display: inline-block;
}
.subtitle {
color: black;
display: inline-block;
margin: 0 20px;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 20px;
/*
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
padding: 20px;
*/
}
.item {
border: 1px solid #ddd;
padding: 15px;
background-color: #ccc;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
width: 48%;
text-align: center;
}
.gallery {
display: flex;
gap: 10px;
justify-content: center;
}
@media (max-width: 768px) {
.item {
width: 100%; /* Full width for smaller screens */
}
.gallery {
justify-content: center; /* Keep images centered */
}
.gallery img {
max-width: 100%; /* Ensure images fit within their container */
}
}