This repository has been archived by the owner on Sep 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
296 lines (235 loc) · 4.83 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
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
/*
Theme Name: TigerMaterial
Theme URI: https://jakting.com/archives/tigermaterial.html
Author: hjthjthjt
Author URI: https://jakting.com
Description: Another Material Design WordPress Theme.
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, light, one-column, material
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/*
更新内容记录:
1. 从此版本开始,TigerMaterial 主题的升级将支持 WordPress 的检测更新
2. 为文章和页面添加了快捷「编辑文章/页面」入口
3. 全局引入 Font Awesome 图标字体
4. 优化了评论 UA 匹配及其图标
5. 为置顶文章添加标识
6. 其他小的修改
*/
@font-face {
font-display: swap!important;
}
/* 消除元素 */
.tm-nav-gone {
display: none;
margin-bottom: 60px;
}
/* 首页 */
.tm-index {
display: table;
width: 100%;
max-width: 1000px;
margin: 0 auto;
position: relative;
}
html {
height: 100%;
}
body {
min-height: 100%;
margin: 0;
padding: 0;
position: relative;
}
.tm-top {
padding-top: 165px;
}
.tm-mobile {
padding-top: 56px;
}
/* 首页头部 */
.tm-header {
display: flex;
margin-bottom: 50px;
}
.tm-headar-right {
height: 100%;
}
.tm-index-img {
width: 100%;
height: auto;
margin: 0 auto;
}
.tm-index-avatar {
width: 32px !important;
height: auto !important;
}
.tm-index-img-side {
width: 200px !important;
}
/* 抽屉 */
.tm-sidebar-img {
width: 100%;
}
.tm-sidebar-img-avatar {
width: 40px !important;
}
#menu-nav > li > a > .mdui-icon, .mdx-sub-menu-a > .mdui-icon {
margin-right: 20px;
}
.menu-item > a {
font-size: 16px;
width: 100%;
}
.menu-item {
position: relative;
}
.menu-item > a > span {
position: absolute;
margin-top: 5px;
}
/* 工具栏 */
#tm-toolbar {
z-index: 99;
}
/* 首页文章主循环 */
.tm-index-archives {
}
.tm-index-single {
margin-bottom: 50px;
}
.tm-index-single-img {
height: 250px;
position: relative;
align-content: center;
overflow: hidden;
}
.tm-index-single-img > img {
position: absolute;
overflow: hidden;
min-height: 100%;
max-width: 100%;
object-fit: cover;
vertical-align: middle;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
.tm-index-single-title {
text-decoration: none;
}
.tm-chip-icon {
top: 5px !important;
left: 5px !important;
font-size: 22px !important;
}
/* 文章循环 */
.tm-single-end-blockquote {
border-left: 4px solid rgba(10, 7, 7, 0.42) !important;
line-height: 1 !important;
margin-left: 0px !important;
margin-top: 50px !important;
}
.tm-single-end-blockquote p {
font-size: 15px !important;
margin-top: 10px !important;
margin-bottom: 10px !important;
}
#toc_container {
float: right;
}
.toc_list a {
text-decoration: none;
}
/* 底部 */
.tm-footer {
height: 40px;
padding: 50px 100px;
}
.tm-footer a, .mdui-typo a {
color: #424242 !important;
}
.tm-footer a:before, .mdui-typo a:before {
background-color: #424242 !important;
}
/* 手机 */
@media screen and (max-width: 840px) {
.tm-footer {
height: 100px;
padding: 50px 0px;
}
.footer-develop-div {
width: 100%;
text-align: center;
}
.tm-footer .mdui-float-left, .tm-footer .mdui-float-right, #toc_container {
float: none !important;
}
.tm-footer .mdui-m-l-5 {
margin-left: 0px !important;
}
#tm-single-footer .mdui-float-left {
display: flex !important;
}
#tm-single-footer .mdui-float-right, .tm-single-time-none, .tm-chip-mobile {
display: none;
}
#tm-single-footer {
margin: 0 auto;
}
.tm-fab-toc {
bottom: 96px !important;
right: 10px !important;
}
}
pre.wp-block-code {
margin-left: -40px !important;
margin-right: -40px !important;
}
pre[class*="language-"] {
border-radius: 0 !important;
}
.tm-fab-toc {
bottom: 96px !important;
right: 32px !important;
}
.mdui-typo h2, .mdui-typo h3, .mdui-typo h4 {
font-weight: bold !important;
}
.tm-toc {
padding: 20px;
display: inline-block;
min-width: 250px !important;
width: auto;
}
.tm-toc ul, .tm-toc ul li {
text-align: left;
background: 0 0;
list-style-type: none;
list-style: none;
margin: 0;
padding: 0;
}
.tm-toc ul ul {
margin-left: 1.5em !important;
}
.tm-spinner {
margin-top: 71px !important;
margin-bottom: 71px !important;
}
.page-numbers {
text-decoration: none !important;
}
.comments-loading {
display: none;
background: none !important;
height: 50px;
text-align: center;
margin-bottom: 20px;
}