forked from ECSA-SJCET/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexecom.css
More file actions
145 lines (124 loc) · 2.37 KB
/
execom.css
File metadata and controls
145 lines (124 loc) · 2.37 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
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
/* Global styles */
body {
background: #172238 url("../images/choosing-bg.jpg") no-repeat;
}
#mentors {
width: 100%;
}
.mentors-heading,
.execom-heading {
height: 12rem;
color: white;
text-align: center;
padding: 4rem;
margin: auto;
}
.mentor-container {
margin-top: 80px !important;
margin: auto;
}
.mentors-heading h2,
.execom-heading h2 {
margin: auto;
color: white;
width: fit-content;
padding: 1rem;
border: 2px solid #2e384b;
}
.mentors-img {
width: 100%;
}
/* Hide scrollbars */
::-webkit-scrollbar {
display: none;
}
/* Gallery styles */
#container {
overflow: scroll hidden;
height: auto;
width: 100vw;
}
.gallery {
background: #172238 url(../images/choosing-bg.jpg) no-repeat;
}
ul.images {
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
width: auto;
overflow-x: auto;
list-style: none;
}
ul.images li {
flex: 0 0 auto;
width: auto;
height: auto;
margin-right: 5px;
}
ul.images li:not(:last-child) {
margin-right: 5px;
}
ul.images li img {
width: 70rem;
height: 40rem;
object-fit: fit;
}
/* Responsive styles for screens <= 768px */
@media screen and (max-width: 768px) {
#container {
overflow: hidden auto;
height: 100%;
width: 100%;
}
ul.images li {
height: auto;
}
ul.images {
margin: 5px;
padding: 0;
display: flex;
flex-direction: column;
width: 100%;
}
ul.images li img {
width: 100%;
height: auto;
object-fit: cover;
}
}
@media screen and (max-width: 950px) {
.main-menu { padding-right: 0!important; }
.main-header .logo {
line-height: 73px;
}
.main-menu li {
display: none;
line-height: 1;
margin-left: 0 !important;
}
.main-menu li .sub-menu {
opacity: 1;
visibility: visible;
position: static;
margin-left: auto;
margin-right: auto;
width: 100%;
}
.main-menu li .sub-menu li:last-child {
border-bottom: 1px solid rgba(250,250,250,0.25);
}
}
@media screen and (max-width: 950px) and (max-height: 400px) {
nav[role="navigation"].active {
max-height: calc(80px + 100vh);
overflow-y: auto;
}
}
@media screen and (max-width: 767px) {
footer p {
font-size: 12px;
font-weight: 600;
letter-spacing: 0.25px;
}
}