-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinterviews.css
118 lines (116 loc) · 2.42 KB
/
interviews.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
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500&display=swap");
:root {
--card-bg-color: rgb(63, 63, 63);
--text-color: white;
--view-btn-bg-color: rgb(42, 42, 42);
--box-shadow-color: rgba(42, 42, 42, 0.883);
}
body {
background-color: black;
}
.page-heading {
font-family: "Noto Sans KR", sans-serif;
text-align: center;
font-weight: 500;
font-size: x-large;
margin-top: 1.5em;
/* letter-spacing: 1px; */
color: rgb(0, 174, 255);
}
.interviews {
font-family: "Noto Sans KR", sans-serif;
color: var(--text-color);
}
.interviews {
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
margin: 2em auto;
width: 80%;
}
.interviews .interview {
width: 30%; /* To set width of card */
border-radius: 5px;
background-color: var(--card-bg-color);
margin: 2em 2em;
transition: all 0.5s ease-out;
-webkit-box-shadow: 0 0 20px var(--box-shadow-color);
box-shadow: 0 0 20px var(--box-shadow-color);
}
.interview .student-info {
width: 100%;
}
.student-info .student-img {
position: relative;
width: 100%;
height: 30vh; /* To set height of student image */
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.student-img img {
position: absolute;
width: 100%;
height: 100%;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.student-info h4,
.batch {
text-align: center;
}
.batch {
font-style: italic;
}
.company-name {
font-size: large;
text-align: center;
margin: 1em auto;
}
.view-btn {
width: 100%;
height: 100%;
text-align: center;
background-color: var(--text-color);
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.view-btn a {
padding: 0.5em;
display: block;
text-decoration: none;
color: var(--card-bg-color);
background-color: var(--text-color);
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
transition: all 0.2s linear;
}
.view-btn a:hover {
color: var(--text-color);
background-color: var(--view-btn-bg-color);
}
@media (max-width: 1200px) {
.interviews .interview {
width: 40%;
margin: 2em auto;
}
}
@media (max-width: 992px) {
.interviews {
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.interviews .interview {
width: 90%;
margin: 2em auto;
}
}
@media (max-width: 539px) {
.interviews {
width: 90%;
}
.page-heading{
letter-spacing: normal;
}
}