-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaculty.css
121 lines (98 loc) · 2.17 KB
/
faculty.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
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
/* Style the content */
.wrapper-main{
color: #00000b; /* Set text color */
font-family: "Roboto", sans-serif; /* Set font family */
height: 100vh;
margin-top: 300px;
}
.main{
display: grid;
justify-content: center;
align-items: center;
text-align: center;
}
.content h1 {
font-size: 36px; /* Set heading font size */
margin-bottom: 40px; /* Add space below heading */
}
.content p {
font-size: 18px; /* Set paragraph font size */
line-height: 1.5; /* Set line height for better readability */
margin-bottom: 10px; /* Add space below paragraphs */
}
.flip-card {
background-color: transparent;
width: 255px;
height: 305px;
border:none;
border-radius: 8px;
margin: 20px;
}
.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform ease 1.3s;
transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.flip-card-front {
background-color: #bbb;
color: black;
border: 5PX solid #5c3c00;
box-shadow: 8px 8px 9px rgba(32, 32, 32, 0.834);
}
.flip-card-back {
padding: 30px 10px;
background-color: rgb(0, 26, 52);
color: white;
border-radius: 8px;
transform: rotateY(180deg);
}
.flip-card-back p{
font-size: small;
font-weight: 600;
gap: 10px;
margin: 10px 0;
}
.faculty-container1{
overflow-x: auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
padding: 40px 0;
margin: 0 auto;
}
@media (max-width:450px){
.navbar{
display: flex;
position: relative !important;
z-index: 1;
}
.gap{
height: 1260px;
}
}
@media (min-width:450px) and (max-width:550px){
.gap{
height: 100px;
}
}