-
Notifications
You must be signed in to change notification settings - Fork 0
/
style1.css
77 lines (65 loc) · 1.52 KB
/
style1.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
* {
margin: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
}
.head1 {
font-size: 10vh;
font-family: Kalnia;
text-align: center;
margin: 15% 2%;
margin-left: 25%;
}
#b1 {
font-size: 3vw;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
text-align: center;
font-weight: lighter;
font-style: italic;
}
.body {
min-height: 100%;
padding: 2%;
background-color: rgb(241, 241, 239);
display: flex;
flex-direction: column;
/* Adjustments for larger screens */
@media screen and (min-width: 768px) {
flex-direction: row;
justify-content: space-between;
align-items: center;
}
}
.first {
width: 100%;
height: auto;
max-width: 100%;
}
/* ... (previous styles) ... */
.con2 {
display: flex;
flex-direction: column; /* Arrange items in a column on smaller screens */
justify-content: center; /* Center items horizontally */
align-items: center;
}
.slide {
text-align: center;
margin-bottom: 20px; /* Adjust margin as needed */
}
span {
font-size: 2vw;
margin-bottom: 1%; /* Adjust margin as needed */
box-sizing: border-box;
}
.img-container {
width: 200px; /* Set a fixed width for the container */
height: 200px; /* Set a fixed height for the container */
overflow: hidden; /* Hide overflow to maintain aspect ratio */
margin-bottom: 2%; /* Adjust margin as needed */
}
img {
width:100%; /* Make the image fill the container */
height:auto;
}