-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
217 lines (197 loc) · 7.39 KB
/
main.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
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
body { background: #efefef; margin: 0; }
a { color: inherit; text-decoration: none; }
* { margin: 0; padding: 0; }
hr { height: 0; border: none; border-top: 1px solid #dedede; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6{ font-weight: normal; }
.clearfix::after { content: ''; display: block; clear: both; }
#Anylogic{
width: 100%;
height: 503px;
margin-bottom: -4px;
}
[data-x].active{
outline: 10px solid red;
}
[data-x].offset{
transform: translateY(100px);
}
[data-x]{
transform: translateY(0);
transition: all 0.5s;
}
@keyframes slideUp{
0%{
transform: translateY(-30px);
}
100%{
transform: translateY(0);
}
}
.icon { width: 1em; height: 1em; vertical-align: -0.15em; fill: currentColor; overflow: hidden; }
.topNavBar { padding: 20px 0; position: fixed; top: 0; left: 0; width: 100%;
transition: all 0.5s; color: #b7b7b7;
}
.topNavBar.sticky{background: white;padding: 10px 0; z-index: 1;
box-shadow: 0 0 10px rgba(0,0,0,0.25);color: #3d4451;
}
.topNavBar-inner {padding: 0 16px; display: flex;flex-direction: column;align-items: center;}
.topNavBar nav { padding-top: 5px; }
.topNavBar nav > ul { list-style: none; margin: 0; padding: 0; }
.topNavBar nav > ul > li { float: left; margin-left: 17px; margin-right: 17px; position: relative;}
.topNavBar nav > ul > li > a { font-size: 12px; color: inherit; font-weight: bold; border-top: 3px solid transparent; border-bottom: 3px solid transparent;
padding-top: 5px; padding-bottom: 5px; display: block; position: relative;}
.topNavBar nav > ul > li.active > a::after,
.topNavBar nav > ul > li.highlight > a::after {
content: '';
display: block;
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: #007ACC;
height: 3px;
animation: menuSlide .3s;
}
@keyframes menuSlide{
0%{ width: 0; }
100%{ width: 100%; }
}
.topNavBar .submenu{
display: none;
position: absolute;
right: 0;
top: 100%;
background: white;
color: #3d4451;
box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.topNavBar li.active> .submenu{
display: block;
animation: submenuSlide .3s;
}
@keyframes submenuSlide{
0%{
margin-right: 100%;
}
100%{
margin-right: 0%;
}
}
.topNavBar .submenu > li{
white-space: nowrap;
padding: 5px 10px;
}
.topNavBar .logo { font-size: 24px; font-family: 'Arial Black'; padding-top: 3px; padding-bottom: 4px; }
.topNavBar .logo .rs { margin-right: 4px; color: #007ACC; }
.topNavBar .logo .card { color: #9a9da2; }
.banner { height: 510px;background-image: url(./img/5.jpg);padding: top 2px;background-size: cover ;background-position: top; }
.banner .mask { height: 510px; background-color: rgba(0, 0, 0, 0.5); }
.userCard { margin-top: 166px;max-width: 940px; margin-left: auto; margin-right: auto; background-color: #ffffff; box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5); }
.userCard .welcome { background: #007ACC; color: white; display: inline-block; padding: 4px 16px;
line-height: 22px; position: relative; margin-bottom: 10px; }
.userCard .welcome .triangle { display: block; border: 10px solid transparent; width: 0px; border-left-color: #007ACC;
border-top-width: 0px; position: absolute; left: 4px; top: 100%; }
.userCard .picture { float: left; }
.userCard .text { float: left; margin-left: 65px; width: 470px; }
.userCard .text h1 { margin-top: 18px; font-weight: bold; }
.userCard .text p {font-weight: bold;margin-top: 6px;}
.userCard .text hr { margin: 20px 0; }
.userCard .pictureAndText { padding: 50px; }
.userCard dl dt, .userCard dl dd { float: left; padding: 15.5px 0; }
.userCard dl dt { width: 30%; font-weight: bold;font-size: 18px; }
.userCard dl dd { width: 70%; color: #9da0a7;font-size: 18px; font-weight: bold;}
.userCard > footer.media { background: #007ACC; text-align: center; }
.userCard > footer.media > a { display: inline-block; width: 40px; line-height: 30px; padding: 5px 0;
border-radius: 50%; margin: 16px; }
.userCard > footer.media > a:hover { background: #cf5d5f; }
.userCard svg { width: 30px; height: 30px; fill: white; vertical-align: top; }
body > main { margin-top: -340px; }
body > main .downloadResume-wrapper { text-align: center; }
body > main .downloadResume { font-size: 14px; line-height: 16px; padding: 21px 55px; ;
display: inline-block; border-radius: 2px; color: #3d4451; font-weight: bold; margin: 32px 0; transition: box-shadow 0.2s; }
/* body > main .downloadResume:hover {
box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.2);
} */
.selfIntroduction {max-width: 940px; margin-left: auto; margin-right: auto; text-align: center; font-family: KaiTi; line-height: 1.8; font-size: 18px; }
section.skills,
section.portfolio{max-width: 940px;margin-left: auto;margin-right: auto;margin-top: 97px;}
section.skills > h2 ,
section.message > h2 ,
section.portfolio > h2 { text-align: center; color: #3d4451; font-size: 34px; line-height: 1.2; font-weight: 600; }
section.skills h3 { font-size: 14px; line-height: 1.1; padding-right: 40px; }
section.skills > ol { background: white; box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5); padding: 42px 50px 10px; margin-top: 30px; }
section.skills > ol > li { float: left; width: 48%; box-sizing: border-box; }
section.skills > ol > li:nth-child(even) { float: right; }
section.skills .progressBar { height: 5px; background: #FAE1E1;
border-radius: 2px; margin: 4px 0 40px; overflow: hidden; }
section.skills .progressBar > .progress { height: 100%; background: #007ACC;
width: 70%; border-radius: 2px; transform: translateX(0); transition: all 1s; }
section.skills.offset .progress{
transform: translateX(-100%);
}
section.portfolio { text-align: center; margin-bottom: 100px; max-width: 720px;}
section.portfolio h2{ margin-bottom: 32px; }
section.portfolio .swiper-container { width: 668px; height: 501px; }
section.portfolio .swiper-button-prev,
section.portfolio .swiper-button-next{
background-color: white;
width: 64px;
height: 64px;
right: 100%;
left: auto;
border-radius: 50%;
}
section.portfolio .swiper-button-next{ left: 100%;right: auto; }
section.works{
border-radius: 5px; max-width: 940px;margin-left: auto;margin-right: auto;margin-top: 97px;
}
section.works >h2{
text-align: center;color: #3d4451;font-size: 34px;line-height: 1.2;font-weight: 600;
}
.workimg{
width:300px;height:300px;border-radius: 5px;
}
.descri{
font-size: 21px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin-top: 15px;
margin-bottom: 19px;
font-weight: bolder;
}
.descridt{
width: 30%;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin-top: 30px;
padding-top: 3px;
padding-bottom: 2px;
font-size: 17px;
float: left;
font-weight: bold;
}
.descridd{
width:56%;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin-top: 30px;
padding-top: 5px;
padding-bottom: 2px;
font-size: 15px;
float: left;
font-weight: bolder;
color: #9da0a7;
}
section.works .clearfix{
width: 940px; height: 300px; background-color:white;box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.5); margin-top :30px; border-radius: 5px;
}
/* section.works .clearfix:hover{
box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.2);
} */
section.message > ol{
max-width: 700px;
margin: 0 auto;
border-top: 1px solid #DDD;
}
section.message > ol > li {
padding: 16px;
border-bottom: 1px solid #DDD;
}