0%

Writefreely自定义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
/* 反选背景颜色 */
::selection {
background:#111;
color:#FFF;
}

/* 整体字体大小(默认值为1.2em)和行距 */
.hljs, body#post article, pre {font-size:1.1em;}
p{line-height:1.6em;}

/* 隐藏掉文章列表里标题后的浮现菜单 */
body#collection #wrapper article .hidden {display:none;}

/* 博客名高度、字体大小 */
body#collection header {margin:6em auto 5em;}
h1 {font-size:2.5em;}

/* 博客简介的样式 */
header p.description {
margin-top:2em;
font-size:1.05em;
color:#808080;
font-family:Inconsolata, Consolas, "Courier New", Courier, monospace
}

/* 博客置顶链接的样式 */
#collection header nav a.pinned {
border-bottom:dotted 1px #767676;
padding-bottom:2px;
}
#collection header nav a.pinned:hover {
color:#CA0;
text-decoration:none;
border-bottom:solid 1px #CA0;
}

/* 首页文章间加下划线 */
body#collection article, body#subpage article {padding-bottom:1em;}
[itemtype="http://schema.org/BlogPosting"] {border-bottom:#CCC dotted 1px;}
article:last-of-type {border-bottom:none;}

/* 链接颜色:翻页按钮 */
#paging a, #paging a:visited {color:#A9A9A9;}
#paging a:hover {color:#CA0;}

/* 链接颜色:文章标题 */
.post-title a:hover {text-decoration:none;color:#CCC;}

/* 链接颜色:文章中链接 */
.e-content a, .e-content a:visited {color:#90C;}
.e-content a:hover {color:#C09;}
.p-summary a, .p-summary a:visited {color:#90C;}
.p-summary a:hover {color:#C09;}

/* 首页“阅读更多”的样式 */
.read-more::before {content:'> ';}
body#collection a.read-more, body#subpage a.read-more {color:#A9A9A9;}
a.read-more {
border-bottom:dashed 1px #CCC;
padding-bottom:2px;
}
a.read-more:hover {
text-decoration:none;
border-bottom:solid 1px #CCC;
}

/* 文章内tag的样式 */
a.hashtag,a.hashtag:visited,a.hashtag:hover {
color:#CA0;
font-size:90%;
}
.p-category::selection {color:#CA0;} /* 反选时tag保持颜色 */

/* tag页面的标题样式 */
body#subpage #wrapper h1::before {content:'#';}
body#subpage #wrapper h1 {
letter-spacing:0;
word-wrap:break-word;
padding-bottom:2.5em;
color:#808080;font-family:'Yu Mincho',YuMincho,'Hiragino Mincho Pro',SimSun,serif;
}

/* 文章内自用样式 */
summary {cursor:pointer;}
.wordcounts {
color:#999;
font-family:Consolas, "Courier New", Courier, monospace, STXihei, "Source Han Sans CN";
}
#post .text-notes { /* #post指定只在文章详情页改变这部分样式 */
color:#808080;
font-size:0.95em;
}
.latin{margin:0 0.15em 0 0.1em;}
.shorthr {
width:50%;
text-align:center;
height:2px;
background-color:#A9A9A9;
}
.littlehr {
width:10%;
text-align:left;
margin:3em 0 3em;
height:1px;
background-color:#808080;}

Paper box

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
.hljs, body#post article, pre {font-size:1.1em;}
p {line-height:1.6em;}

body#collection header {margin:5em auto 5em;}
h1 {font-size:2.5em;}
body h1 a, body h1 a:hover {
background: linear-gradient(
to right,
#FFF,
#CCC 25%,
#A9A9A9 50%,
#CCC 75%,
#FFF 100%
);
-webkit-background-clip: text;
color: transparent;
}
header p.description {
margin-top:1.5em;
color:#808080;
font-family:Inconsolata, Consolas, "Courier New", Courier, monospace;
}

body#collection article, body#subpage article {padding-bottom:1em;}
[itemtype="http://schema.org/BlogPosting"] {border-bottom:#CCC dotted 1px;}
article:last-of-type {border-bottom:none;}

.post-title a:hover {color:#233B6C;}
.post-title time a:hover {color:#233B6C;}

#paging a, #paging a:visited {color:#A9A9A9;}
#paging a:hover {color:#CA0;}

.post-title a:hover {text-decoration:none;}

.e-content a, .p-summary a {color:#0067C0;}
.e-content a:hover, .p-summary a:hover {color:#ee827c;}
.e-content a:visited, .p-summary a:visited {color:#224B8F;}

.dt-published {color:#A9A9A9;}

.read-more::before {content:'> ';}
body#collection a.read-more, body#subpage a.read-more {color:#A9A9A9;}
body#collection a.read-more:hover, body#subpage a.read-more:hover {color:#ee827c;}
a.read-more {
border-bottom:dashed 1px #CCC;
padding-bottom:2px;
}
a.read-more:hover {
text-decoration:none;
border-bottom:solid 1px #ee827c;
}

a.hashtag,a.hashtag:visited,a.hashtag:hover {
color:#cca6bf;
font-size:90%;
}

body#subpage #wrapper h1::before {content:'#';}
body#subpage #wrapper h1 {
letter-spacing:0;
word-wrap:break-word;
padding-bottom:2.5em;
color:#808080;font-family:'Yu Mincho',YuMincho,'Hiragino Mincho Pro',SimSun,serif;
}

summary {cursor:pointer;}

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
::selection {
background:#FFE6C3;
}

p {line-height:1.6em;}

.hljs, body#post article, pre {font-size:1.1em;}
@media screen and (max-width: 720px){
.hljs, body#post article, pre {font-size:1em;}
}

body h1 a, body h1 a:hover {
-webkit-text-stroke: 1px #808080;
color:#FFF;
font-family:verdana,sans-serif;
}

body#collection {
color:#665A5A;
background-color:#FFFFF3;
}

body#collection h1 a, body#collection h1 a:hover {
font-size:1.5em;
-webkit-text-stroke: 1px #A99887;
}

body#collection header {margin:5em auto 5em;}

header p.description {
margin-top:1.5em;
color:#808080;
font-family:Inconsolata, Consolas, "Courier New", Courier, monospace;
}

#collection header nav a {
color:#A99887;
font-family:verdana,sans-serif;
padding:1px 2px 2px;
border:1px dotted #A99887;
border-radius:5px;
}
#collection header nav a:hover {
color:#A97676;
text-decoration:none;
padding:3px 4px 5px;
border:1px solid #A99887;
border-radius:5px;
background-color:#FFF;
}

[itemtype="http://schema.org/BlogPosting"] {
border:#A99887 dotted 1px;
border-radius:10px;
}
[itemtype="http://schema.org/BlogPosting"]:hover {
background-color:#FFF;
}

body#collection article {
padding:0.75em 1em 1.5em;
}

body#collection #wrapper article {
margin-bottom:3em;
}

body#collection article, body#subpage #wrapper h1, body#subpage article, pre {
max-width:35rem;
}

@media screen and (max-width: 720px){
body#collection article, body#subpage #wrapper h1, body#subpage article, pre {
max-width:80%;
}
body#collection article {
padding:0.75em 0.75em 1.5em;
}
}

#collection h2, #collection h3, #collection h4, #collection h5 {color:#665A5A;}
#collection .post-title a {color:#665A5A;}
#collection .post-title a:hover {color:#DFCAA0;}
#collection .post-title time a:hover {color:#DFCAA0;}

#paging a, #paging a:visited {color:#A99887;}
#paging a:hover {color:#C37545;}

.post-title a:hover {text-decoration:none;}

.e-content a, .p-summary a {color:#C37545;}
.e-content a:hover, .p-summary a:hover {color:#DFCAA0;}

.dt-published {color:#A99887;}

.read-more::before {content:'> ';}
body#collection a.read-more, body#subpage a.read-more {
color:#A99887;
border-bottom:dashed 1px #CCC;
padding-bottom:2px;
}
body#collection a.read-more:hover, body#subpage a.read-more:hover {
color:#DFCAA0;
text-decoration:none;
border-bottom:solid 1px #DFCAA0;
}

a.hashtag,a.hashtag:visited,a.hashtag:hover {
color:#C37545;
font-size:90%;
}

body#subpage #wrapper h1::before {content:'#';}
body#subpage #wrapper h1 {
letter-spacing:0;
word-wrap:break-word;
padding-bottom:2.5em;
color:#808080;
font-family:'Yu Mincho',YuMincho,'Hiragino Mincho Pro',SimSun,serif;
}

summary {cursor:pointer;}

body#collection blockquote, body#post blockquote, body#subpage blockquote {
border-left: 2px solid #D7CEC7;
color:#8B6735;
padding: 0 0.5em;
margin: 0 0.5em;
}
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
/* 翻译log排版 */
.date {
color:#808080;
font-size:0.9em;
}

.creamhr {
margin:3em 0 3em;
height:3px;
background: linear-gradient(to right, #EECFA1, transparent);
}

.twihr {
width:10em;
text-align:left;
margin:3em 0 3em;
height:3px;
background: linear-gradient(to right, #EECFA1, transparent);
}

.anotes {
font-size:0.9em;
color:#999;
}

.anotes a, .anotes a:hover, .anotes a:visited {
color:#BC9770;
text-decoration:underline 1px dotted #BC9770;
}

.bnotes {
color:#999;
}

.quote{margin: 0.75em 4em 0.75em 1.5em;padding-left: 0.5em;color: #6666AA;border-left: 3px double #AAA;}
.visitor {background-color:#999;color:#EEE;}
.visitor a:link {color:#EEE}
.visitor a:active {color:#EEE}
.visitor a:visited {color:#EEE}
.visitor a:hover {color:#EEE}
.visitor-light {background-color:#ccc;color:#000;}
.visitor-light a:link {color:#000}
.visitor-light a:active {color:#000}
.visitor-light a:visited {color:#000}
.visitor-light a:hover {color:#000}

.border-reddotted {border:dotted 2px #F00;padding:2px;}

/* color:blue */
.oregonblue {color:#41A1E9;font-weight:bold;}

/* color:purple */
.darkorchid {color:#9933CC;font-weight:bold;}