-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
139 lines (115 loc) · 2.03 KB
/
style.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
/*
Theme Name: Material Minimal
Author: Henry Zhang
Author URI: https://henryz.cc
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css?family=Titillium+Web&display=swap');
body{
font-family: 'Titillium Web', sans-serif;
background: #f5f5f5;
margin:0;
}
.padWidth{
margin-right: auto;
margin-left: auto;
max-width: 980px;
width: 90%;
}
.material_cover{
background: #3987cb;
height: 300px;
position: relative;
top:0;
}
.content{
position: relative;
padding:30px;
line-height: 30px;
top: -160px;
}
.header{
z-index: 1000;
padding: 30px 0;
color:white;
}
.title{
color:white;
}
.post_title{
font-size: 28px;
}
.post_title:hover{
text-shadow: 1px 6px 4px #a5a8ad88;
}
.block{
background: white;
box-shadow: 0 30px 50px 0 rgba(0,0,0,0.1);
/* border-radius: 10px; */
padding:50px;
animation: enter 1s ease-out;
margin: 30px 0;
transition: all 0.5s ease-out;
}
.block:hover{
box-shadow: 0 30px 50px 0 rgba(0, 101, 184, 0.2);
}
.block_zoom{
transform: scale(1.5);
opacity: -1;
}
.post_list{
display: flex;
align-items: center;
}
.footer{
text-align: center;
margin:50px;
opacity: 0.5;
animation: footer_enter 2s;
}
a{
text-decoration: none;
color: #3987cb;
transition: all 0.5s ease-out;
}
a:hover{
opacity:0.7;
}
img{
max-width: 100%;
height: auto;
transition: all 0.5s ease-out;
}
img:hover{
opacity: 0.85;
box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.2);
}
@keyframes footer_enter{
0% { opacity: 0; }
50% { opacity: 0; }
100% { opacity: 0.5; }
}
@keyframes enter{
0% {
opacity: 0;
margin-top: 200px;
transform: scale(0.93);
}
100% {
opacity: 1;
margin-top: 30px;
transform: scale(1);
}
}
@media only screen and (max-width: 500px) {
.block{
padding: 20px;
}
.content{
padding: 30px 10px;
}
.progress-wrapper{
margin: 0 10px 20px 0;
}
}