-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid.css
145 lines (121 loc) · 2.64 KB
/
grid.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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;900&display=swap');
body{
background-color: #336b89;
font-family: 'Nunito', sans-serif;
}
/*a {
cursor: url('./images/cursor.svg'), pointer;
}*/
html {
scroll-padding-top: calc(2vw + 50px + 2px * 2 + 20px);
}
.grid .grid-title {
text-align: center;
color: white;
font-size: 200%;
margin-top: 20px;
border: 3px solid white;
border-left: none;
border-right: none;
width: 90%;
margin-left: 5%;
}
.grid-container {
display: grid;
grid-template-columns: auto auto auto;
}
.grid-item {
display: flex;
padding: 20px;
justify-content: center;
margin: 1fr;
}
.card {
box-sizing: border-box;
width: 300px;
backface-visibility: hidden;
}
.card .card-inner {
transition: transform 1s;
position: relative;
height: 425px;
transform-style: preserve-3d;
/*background: red;*/
}
.card:hover .card-inner{
transform: rotateY(180deg);
}
.card .card-inner .card-front, .card .card-inner .card-back {
position: absolute;
height: 425px;
width: 300px;
/*transition: all 0.4s;*/
-webkit-backface-visibility: hidden; /* Safari */
backface-visibility: hidden;
/*transform-style: preserve-3d;*/
}
.card .card-inner .card-back {
background: black;
width: 300px;
transform: rotateY(180deg);
}
.card .image {
height: 274px;
background: url('images/member.jpg') no-repeat center rgba(255, 255, 255, 0.3);
background-size: cover;
background-position-y: 0;
}
.details {
/*height: 67px;*/
width: 100%;
background-color: white;
padding-top: 10px;
font-size: large;
font-weight: bold;
text-align: center;
color: #0D6A8A;
}
.details .bio {
font-size: 60%;
height: 50px;
padding: 7px;
margin: 5px;
border-radius: 5px;
color: #0D6A8A;
}
.details .portfolio {
border: 2px solid;
display: inline-block;
border-radius: 4px;
}
.details .portfolio a {
padding: 10px;
line-height: 30px;
text-decoration: none;
color: inherit;
}
.details .social-links {
display: inline-block;
min-width: 70%;
margin-top: 10px;
margin-bottom: 10px;
word-spacing: 10px;
}
.details .social-links .social {
height: 30px;
width: 30px;
display: inline-block;
background-size: 100% 100%;
}
.social.github {
background: url('./images/github.svg');
}
.social.linkedin {
background: url('./images/linkedin.svg');
}
/* TODO: Add other social media svg and classes when required*/
/*removed scrollbar*/
::-webkit-scrollbar {
display: none;
}
/*TODO: Add custom scroll-bar*/