-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfaculty-category-style.css
More file actions
197 lines (197 loc) · 4.2 KB
/
faculty-category-style.css
File metadata and controls
197 lines (197 loc) · 4.2 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
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
189
190
191
192
193
194
195
196
197
.faculty-category-block {
background: #f9f6fd;
border-radius: 24px;
box-shadow: 0 6px 32px 0 rgba(123,31,162,0.08);
margin: 0 auto 56px auto;
padding: 38px 3vw 36px 3vw;
max-width: 1300px;
}
.faculty-category-block .section-title-wrapper {
text-align: center;
}
.faculty-category-block .section-title {
color: #7b1fa2;
font-size: 2rem;
margin-bottom: 0;
}
.program-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 32px;
margin-top: 10px;
}
.program-card-new {
background: #fff;
border-radius: 20px;
box-shadow: 0 6px 28px 0 rgba(123,31,162,0.10);
max-width: 390px;
flex: 1 1 350px;
min-width: 320px;
display: flex;
flex-direction: column;
margin-bottom: 14px;
transition: box-shadow 0.22s, transform 0.22s;
position: relative;
overflow: hidden;
}
.program-card-new:hover {
box-shadow: 0 12px 40px 0 rgba(123,31,162,0.19);
transform: translateY(-8px) scale(1.019);
}
.program-card-new-header {
display: flex;
align-items: center;
gap: 18px;
padding: 22px 20px 8px 22px;
background: linear-gradient(90deg, #e1bee7 60%, #fff 100%);
min-height: 86px;
}
.program-card-logo {
width: 54px;
height: 54px;
object-fit: contain;
border-radius: 16px;
box-shadow: 0 2px 10px 0 rgba(123,31,162,0.07);
background: #fff;
}
.uni-program-name h5 {
margin: 0 0 2px 0;
font-weight: 700;
color: #512da8;
font-size: 1.09rem;
}
.program-card-subheader {
color: #7b1fa2;
font-size: 0.97rem;
opacity: 0.92;
}
.program-card-new-body {
padding: 12px 24px 8px 24px;
flex: 1 1 auto;
}
.requirements-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px 16px;
margin-bottom: 10px;
}
.requirement-block h6 {
margin: 0 0 2px 0;
color: #512da8;
font-size: 0.98rem;
font-weight: 600;
}
.requirement-block p {
margin:0;
font-size: 0.97rem;
color: #444;
}
.score {
color: #b39ddb;
font-weight: 700;
font-size: 1.06em;
}
.popular-majors-info {
margin: 10px 0 0 0;
font-size: 0.97rem;
}
.popular-majors-trigger {
display: inline-block;
color: #7b1fa2;
cursor: pointer;
background: #f3e5f5;
border-radius: 8px;
padding: 4px 13px 4px 9px;
font-weight: 500;
box-shadow: 0 2px 10px 0 rgba(123,31,162,0.07);
position: relative;
transition: background 0.18s;
}
.popular-majors-trigger:hover, .popular-majors-trigger:focus {
background: #d1b3e0;
}
.popular-majors-popup {
display: none;
position: absolute;
left: 0; top: 120%;
z-index: 20;
min-width: 320px;
max-width: 380px;
background: #fff;
color: #522da8;
border-radius: 16px;
box-shadow: 0 10px 40px 0 rgba(123,31,162,0.16);
padding: 22px 22px 14px 18px;
font-size: 0.98rem;
text-align: left;
margin-top: 8px;
animation: fadeInPop 0.35s cubic-bezier(.4,0,.2,1);
}
.popular-majors-trigger:hover .popular-majors-popup,
.popular-majors-trigger:focus .popular-majors-popup {
display: block;
}
.popular-majors-popup h5 {
margin: 0 0 7px 0;
color: #7b1fa2;
font-size: 1.04rem;
font-weight: 700;
}
.general-criteria-heading, .rounds-info-heading {
color: #512da8;
font-weight: 600;
margin-top: 11px;
font-size: 0.99rem;
}
.rounds-info-list {
padding-left: 19px;
margin: 0;
font-size: 0.95rem;
}
.program-card-new-footer {
padding: 13px 24px 17px 24px;
background: linear-gradient(90deg, #f3e5f5 60%, #fff 100%);
border-radius: 0 0 20px 20px;
text-align: right;
}
.program-card-link {
color: #7b1fa2;
font-weight: 600;
text-decoration: underline;
transition: color 0.2s;
}
.program-card-link:hover {
color: #512da8;
}
@media (max-width: 1100px) {
.program-list {
flex-direction: column;
gap: 22px;
align-items: center;
}
.program-card-new {
min-width: 0;
max-width: 98vw;
width: 98vw;
}
}
@media (max-width: 600px) {
.faculty-category-block {
padding: 10px 2vw 20px 2vw;
}
.program-card-new-header, .program-card-new-body, .program-card-new-footer {
padding-left: 9px;
padding-right: 9px;
}
.program-card-logo {
width: 40px; height: 40px;
}
.popular-majors-popup {
min-width: 210px; max-width: 92vw; padding: 10px 6px 8px 6px;
}
}
@keyframes fadeInPop {
0% { opacity: 0; transform: translateY(10px) scale(.97); }
100% { opacity: 1; transform: translateY(0) scale(1);}
}