-
Notifications
You must be signed in to change notification settings - Fork 9
/
style.css
121 lines (86 loc) · 1.56 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
/*
Theme Name: Carter
Theme URL: https://github.com/gnehs/Carter
Description: Cater by Gnehs
Author: 棒棒勝
Author URI: https://github.com/gnehs/Carter
Version: 3.0.0
GitHub Theme URI: gnehs/Carter
*/
/*
文章內頁
*/
/*文章內頁標題用的CSS*/
.post .description>a {
color: #fff;
}
/*文章的文字可讀性提升*/
post p,
post {
font-size: 16px;
line-height: 1.8em;
}
/*文章內頁圖片修正及樣式美化*/
post img {
height: auto;
max-width: 100%;
max-width: calc(100% - 20px);
margin: 10px;
}
/* 文章內頁標籤修正 */
.post .ts.label {
text-shadow: 0 0 0px black;
}
/* 近期迴響 */
#recentcomments>.recentcomments {
line-height: 1.14286em;
padding: 5px 3px;
}
/*
卷軸樣式
很棒棒的卷軸這樣,還會影響到 NAV
*/
::-webkit-scrollbar-track {
background-color: #F5F5F5;
}
::-webkit-scrollbar {
width: 5px;
height: 5px;
background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
background-color: #555;
}
/*
圖片對齊(置右、置中)
*/
img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignright {
float: right;
}
img.alignleft {
float: left;
}
post.inverted code {
color: #bd4147 !important;
}
/*
SweetAlert
*/
.swal-overlay--show-modal {
background-color: #000000a3;
}
.swal-modal {
background-color: #fff;
}
.inverted .swal-modal {
background-color: #2b2b2b;
}
.inverted .swal-button--cancel {
color: #2b2b2b !important;
}