-
Notifications
You must be signed in to change notification settings - Fork 0
/
newIndex.css
87 lines (73 loc) · 1.75 KB
/
newIndex.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
body {
height: 100%;
margin: 0;
padding: 0;
}
.navbar {
background-color: #0a3a20 !important;
position: fixed;
}
.headlogo{
width:-80%;
height:80px;
float:left;
}
.SectionHead {
max-height: 100vh;
}
.slide img {
width: auto; /* Maintain the aspect ratio of the images */
height: 100%; /* Scale the height to fit the container */
z-index: -1000;
max-width: 100%; /* Ensure the width doesn't exceed the container */
object-fit: contain; /* Ensure images fit the container without distortion */
display: block;
margin: auto;
}
.slideshow-container {
position: relative;
max-width: 100%;
height: 500px; /* Set a fixed height for the slideshow */
margin: auto;
z-index: -1000;
overflow: hidden;
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
}
.slide img {
max-width: 100%; /* Ensure the width doesn't exceed the container */
max-height: 100%; /* Ensure the height doesn't exceed the container */
z-index: -1000;
object-fit: contain; /* Maintain the aspect ratio and fit the image within the container */
display: block;
margin: auto;
}
.slide::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
}
.carousel-item {
transition: transform 1s ease-in-out !important; /* 1s is the duration */
}
.unit {
display: flex;
justify-content: center;
align-content: center;
}
.unitPics {
display: flex !important;
align-content: center !important;
justify-content: center !important;
}
.content-section .unitPics {
display: flex;
justify-content: center;
}
.dagdag {
width:-100%;
height:200px;
}