-
Notifications
You must be signed in to change notification settings - Fork 2
/
NativeStyle.css
188 lines (156 loc) · 3.87 KB
/
NativeStyle.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
/* Mobile styles */
@media only screen and (max-width: 768px) {
body, html {
width: 100%;
margin: 0;
padding: 0;
overflow-x: hidden; /* Prevent horizontal scrolling */
}
/* Banner */
.banner img {
width: 100%; /* Make the banner image full width */
height: auto; /* Keep aspect ratio */
}
.banner {
padding-left: 0%;
padding-right: 0%;
}
.banner_text {
font-size: 40px; /* Adjust font size */
position: relative; /* Position the text absolutely within the banner */
top: 60%; /* Position from the top */
left: 0%; /* Position from the left */
z-index: 999; /* Ensure the text appears above other elements */
color: white; /* Text color */
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
border-radius: 5px; /* Rounded corners */
max-width: 100%; /* Limit maximum width */
text-align: center; /* Center align the text */
}
/* Navbar */
.navbar {
font-size: 14px; /* Adjust font size for navbar links */
font-weight: ;
}
/* Middle section */
.middle {
text-align: center; /* Center align text */
margin-top: 59%; /* Add some top margin */
font-size: 16px; /* Adjust font size */
}
/* Slideshow container */
.slideshow-container {
max-width: 100% !important; /* Adjust maximum width for mobile version */
margin: 0 auto; /* Center the slideshow */
position: relative;
overflow: hidden;
padding-top: 1%;
}
#about-us-logo {
width: 100px; /* Adjust logo size */
height: auto;
margin-bottom: 20px;
}
#h1_style {
font-size: 24px;
}
.about-us-content {
max-width: 800px;
margin: 0 auto;
text-align: justify;
}
.heading_font {
font-weight: bold;
margin-top: 20px;
}
#aboutus_para {
margin-top: 10px;
}
#team-container {
display: flex;
flex-wrap: wrap;
width: 100%; /* Make the container full width */
margin: 0; /* Remove default margin */
}
.member {
width: 100%;
margin-bottom: 20px;
}
.member img {
width: 80px; /* Adjust member image size */
height: 80px;
border-radius: 50%;
margin-bottom: 10px;
}
.mem_name {
font-weight: bold;
}
.mem_title {
font-size: 14px;
margin-bottom: 5px;
}
.mem_socials {
margin-top: 10px;
}
.mem_soc_rec {
width: 20px;
height: 20px;
display: inline-block;
margin-right: 5px;
cursor: pointer;
}
.mem_soc_rec:hover {
opacity: 0.7;
}
/* Slideshow container */
.slideshow-container {
max-width: 100%; /* Adjust maximum width */
}
/* Previous and next button */
.prev, .next {
padding: 12px;
}
/* Footer column */
.footer-column {
flex: 1;
padding: 0 10px;
}
/* Middle section font size */
.middle {
font-size: 14px;
}
/* Navbar link padding */
.navbar a {
padding: 20px 2%;
}
/* Gallery item width */
.gallery a {
flex: 0 0 calc(50% - 20px);
}
/* Article menu width */
.faculty_section {
width: 30%;
}
.photo-square {
max-width: 98% !important;
}
}
/* Ensure proper rendering on smaller screens */
@media screen and (max-width: 600px) {
/* Navbar link font size */
.navbar a {
font-size: 14px;
}
/* Footer column padding */
.footer-column {
padding: 0 5px;
}
/* Faculty section width */
.faculty_section {
width: 45%;
}
/* Slideshow container width */
.slideshow-container {
max-width: 90%; /* Adjust maximum width */
}
}