-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
122 lines (110 loc) · 2.03 KB
/
index.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
* {
margin: 0;
padding: 0;
font-family: 'Times New Roman', 'Arial', 'DoHyeon-Regular',
'Microsoft yahei', 'SimSun', 'MaShanZheng';
}
html,
body {
font-size: 18px;
}
@font-face {
font-family: 'MaShanZheng';
src: url('./asset/font/MaShanZheng-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'DoHyeon-Regular';
src: url('./asset/font/DoHyeon-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Monaco';
src: url('./asset/font/monaco.ttf') format('truetype');
}
.page-header {
line-height: 80px;
background-color: #fff;
color: #151513;
text-align: center;
}
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
#pageContent {
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-around;
}
.job-item {
position: relative;
flex-grow: 1;
flex-shrink: 1;
box-sizing: border-box;
margin: 1em 2em;
padding: 1em;
border: 3px solid #151513;
flex-basis: 360px;
}
.job-title {
text-align: center;
margin: 4px 0;
}
.job-title a {
text-decoration: none;
color: #333;
}
.job-title a:hover {
color: #888;
}
.job-desc {
clear: both;
width: 100%;
text-indent: 1em;
margin: 4px auto;
}
.job-date {
float: right;
color: #333;
font-family: 'Monaco';
}
.job-content {
display: block;
width: 100%;
height: 256px;
border: 2px dashed #151513;
margin: 0 auto;
}
.job-iframe {
width: 100%;
height: 100%;
border: none;
}
.clearfix::after {
display: block;
content: '';
height: 0;
clear: both;
visibility: hidden;
}