-
Notifications
You must be signed in to change notification settings - Fork 1
/
project-2.css
121 lines (103 loc) · 1.86 KB
/
project-2.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
.part-2 .profile {
overflow: hidden;
/* padding: 1%; */
color: white;
background-color: #7fabd0;
max-width: 535px;
/* max-height: 300px; */
margin: 1rem;
/* margin: 3% 1% 1% 1%; */
display: flex;
}
.part-2 .moreInfo {
margin-top: 1em;
line-height: 1.5em;
/* padding: 1em; */
}
.part-2 .profilelist {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.part-2 .leftImage {
width: 45%;
height: 100%;
float: left;
}
.part-2 .leftImage img {
width: 100%;
height: 100%;
object-fit: cover;
overflow: hidden;
}
.part-2 .rightDesc {
position: relative;
padding: 1em;
padding-bottom: 80px;
}
.part-2 .icons {
position: absolute;
bottom: 1em;
display: flex;
}
.part-2 .icon:not(:last-child) {
margin-right: 5px;
}
.part-2 .icon img {
width: 40px;
height: 40px;
overflow: hidden;
border-radius: 70%;
/* margin-right: 0.05rem; */
/* padding-left: 10rem; */
background-color: white;
}
/* Text Formatting */
.part-2 .topName {
display: flex;
align-items: baseline;
}
@media only screen and (max-width: 500px) {
.part-2 .name {
font-size: 8vw !important;
}
.part-2 .engname {
font-size: 4vw;
}
}
.part-2 .name {
font-size: 40px;
font-weight: bold;
text-decoration: none;
text-align: center;
}
.part-2 .engname {
font-size: 20;
}
.part-2 .list {
color: #43464b;
font-size: 1rem;
}
.part-2 .ext {
font-size: 1.2rem;
}
/* CSS Animations */
.part-2 .profile {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-ms-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
}
.part-2 .profile:hover {
-webkit-transform: scale(1.05);
-moz-transform: scale(1.05);
-ms-transform: scale(1.05);
-o-transform: scale(1.05);
transform: scale(1.05);
}