-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcourses.css
More file actions
88 lines (84 loc) · 1.35 KB
/
Copy pathcourses.css
File metadata and controls
88 lines (84 loc) · 1.35 KB
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
body {
font-family: Arial, sans-serif;
margin: 0px;
}
.slider {
margin: 10px 0;
}
.banner {
position: sticky;
top: 0;
background:#96004B;
color: #f1f1f1;
z-index: 1;
text-align: right;
padding: 10px
}
.divfooter {
top: 0;
background: #555;
color: #f1f1f1;
}
.text {
text-align: right;
}
.div {
margin: 20px;
}
section {
margin: 30px;
}
h1 {
margin: 10px;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 20%;
}
.image-container {
display: flex;
justify-content: center;
gap: 120px;
flex-wrap: wrap;
}
figure {
display: flex;
flex-direction: column;
align-items: center;
width: 600px; /* match your desired image width */
margin: 0;
box-sizing: border-box;
}
figure img {
width: 100%; /* fills figure width */
height: auto;
border-radius: 10px;
display: block;
}
figcaption {
margin-top: 8px;
text-align: center;
font-size: 0.95em;
color: #555;
font-style: italic;
width: 100%;
box-sizing: border-box;
}
.single-image-container {
display: flex;
justify-content: center; /* centers the figure horizontally */
margin: 20px 0; /* optional spacing */
}
/* Responsive adjustments */
@media (max-width: 1300px) {
.image-container { gap: 40px; }
}
@media (max-width: 700px) {
figure {
width: 100%;
max-width: 600px;
padding: 0 16px;
}
}