loppo-theme-doc 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/favicon.ico +0 -0
- package/index.js +3 -0
- package/package.json +39 -0
- package/postcss.config.js +22 -0
- package/sass/generic.scss +140 -0
- package/sass/highlight.sass +198 -0
- package/sass/highlight.sass.vs2015 +91 -0
- package/sass/social.scss +144 -0
- package/sass/wangdoc.sass +197 -0
- package/scripts/goTop.js +25 -0
- package/scripts/hashChange.js +10 -0
- package/scripts/index.js +38 -0
- package/scripts/insertArticleToc.js +15 -0
- package/scripts/menuHandler.js +67 -0
- package/scripts/navbarHandler.js +25 -0
- package/scripts/setMinHeight.js +31 -0
- package/scripts/social-share.js +1110 -0
- package/scripts/support.js +13 -0
- package/scripts/tocHide.js +19 -0
- package/theme/assets/css/app.css +22407 -0
- package/theme/assets/css/app.css.map +1 -0
- package/theme/assets/css/app.min.css +3 -0
- package/theme/assets/css/app.min.css.map +1 -0
- package/theme/assets/fonts/iconfont.eot +0 -0
- package/theme/assets/fonts/iconfont.svg +88 -0
- package/theme/assets/fonts/iconfont.ttf +0 -0
- package/theme/assets/fonts/iconfont.woff +0 -0
- package/theme/assets/icons/android-icon-144x144.png +0 -0
- package/theme/assets/icons/android-icon-192x192.png +0 -0
- package/theme/assets/icons/android-icon-36x36.png +0 -0
- package/theme/assets/icons/android-icon-48x48.png +0 -0
- package/theme/assets/icons/android-icon-72x72.png +0 -0
- package/theme/assets/icons/android-icon-96x96.png +0 -0
- package/theme/assets/icons/apple-icon-114x114.png +0 -0
- package/theme/assets/icons/apple-icon-120x120.png +0 -0
- package/theme/assets/icons/apple-icon-144x144.png +0 -0
- package/theme/assets/icons/apple-icon-152x152.png +0 -0
- package/theme/assets/icons/apple-icon-180x180.png +0 -0
- package/theme/assets/icons/apple-icon-57x57.png +0 -0
- package/theme/assets/icons/apple-icon-60x60.png +0 -0
- package/theme/assets/icons/apple-icon-72x72.png +0 -0
- package/theme/assets/icons/apple-icon-76x76.png +0 -0
- package/theme/assets/icons/apple-icon-precomposed.png +0 -0
- package/theme/assets/icons/apple-icon.png +0 -0
- package/theme/assets/icons/browserconfig.xml +2 -0
- package/theme/assets/icons/favicon-16x16.png +0 -0
- package/theme/assets/icons/favicon-32x32.png +0 -0
- package/theme/assets/icons/favicon-96x96.png +0 -0
- package/theme/assets/icons/favicon.ico +0 -0
- package/theme/assets/icons/manifest.json +41 -0
- package/theme/assets/icons/ms-icon-144x144.png +0 -0
- package/theme/assets/icons/ms-icon-150x150.png +0 -0
- package/theme/assets/icons/ms-icon-310x310.png +0 -0
- package/theme/assets/icons/ms-icon-70x70.png +0 -0
- package/theme/assets/icons/origin.png +0 -0
- package/theme/assets/js/app.js +31 -0
- package/theme/assets/js/social-share.min.js +1 -0
- package/theme/breadcrumb.template +27 -0
- package/theme/chapters.template +43 -0
- package/theme/favicon.ico +0 -0
- package/theme/favicon.template +9 -0
- package/theme/foot.template +7 -0
- package/theme/hero.template +11 -0
- package/theme/main.template +30 -0
- package/theme/nav.template +12 -0
- package/theme/page.template +24 -0
- package/theme/pre-next.template +24 -0
- package/theme/script.template +7 -0
package/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
文档页面的默认主题。
|
package/favicon.ico
ADDED
Binary file
|
package/index.js
ADDED
package/package.json
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"name": "loppo-theme-doc",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "a theme of Loppo",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"clean-css": "rm -rf ./theme/assets/css/*",
|
8
|
+
"build-css": "npm run clean-css && npm run build-sass && npm run build-postcss",
|
9
|
+
"build-postcss": "postcss --output theme/assets/css/app.min.css theme/assets/css/app.css",
|
10
|
+
"build-sass": "sass --style expanded --load-path=node_modules sass/wangdoc.sass theme/assets/css/app.css",
|
11
|
+
"build-js": "mkdir -p theme/assets/js && browserify -g uglifyify scripts/index.js > theme/assets/js/app.js",
|
12
|
+
"build": "npm run build-css && npm run build-js",
|
13
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
14
|
+
},
|
15
|
+
"keywords": [
|
16
|
+
"loppo",
|
17
|
+
"theme",
|
18
|
+
"template"
|
19
|
+
],
|
20
|
+
"homepage": "https://github.com/foryoufeng/loppo-theme-doc",
|
21
|
+
"repository": {
|
22
|
+
"type": "git",
|
23
|
+
"url": "https://github.com/foryoufeng/loppo-theme-doc"
|
24
|
+
},
|
25
|
+
"author": "foryoufeng",
|
26
|
+
"license": "MIT",
|
27
|
+
"devDependencies": {
|
28
|
+
"@fullhuman/postcss-purgecss": "^6.0.0",
|
29
|
+
"browserify": "17.x",
|
30
|
+
"bulma": "1.x",
|
31
|
+
"cssnano": "^7.0.1",
|
32
|
+
"postcss": "^8.3.6",
|
33
|
+
"postcss-cli": "11.x",
|
34
|
+
"postcss-prune-var": "^1.1.2",
|
35
|
+
"postcss-variable-compress": "^3.0.0",
|
36
|
+
"sass": "1.x",
|
37
|
+
"uglifyify": "^5.0.1"
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
const purgecss = require('@fullhuman/postcss-purgecss');
|
2
|
+
const cssnano = require('cssnano');
|
3
|
+
const pruneVar = require('postcss-prune-var');
|
4
|
+
const varCompress = require('postcss-variable-compress');
|
5
|
+
|
6
|
+
module.exports = {
|
7
|
+
map: true,
|
8
|
+
plugins: [
|
9
|
+
purgecss({
|
10
|
+
// file paths to your contents to remove unused styles.
|
11
|
+
// content: ['js/my.js','*.php'],
|
12
|
+
// other wise our aria-selected is removed (like with purgecss online)
|
13
|
+
content : [ './theme/*.template' ],
|
14
|
+
safelist: ['main', 'container', 'article', 'nav', 'navbar', 'a', 'hljs', 'pre', 'code', 'h1', 'h2', 'h3', 'has-dropdown', 'is-hoverable', /^article-/, /^page-/, /^menu-/, /^nav-/, /^navbar-/, /^icon-/, /^hljs-/, /^social-/, /^share-/, /^wechat-/],
|
15
|
+
}),
|
16
|
+
pruneVar(), // remove unused css variables
|
17
|
+
varCompress(), // compress css variables
|
18
|
+
cssnano({
|
19
|
+
preset: 'default',
|
20
|
+
}),
|
21
|
+
],
|
22
|
+
}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
html {
|
2
|
+
background-color: hsl(0, 0%, 100%);
|
3
|
+
font-size: 16px;
|
4
|
+
-moz-osx-font-smoothing: grayscale;
|
5
|
+
-webkit-font-smoothing: antialiased;
|
6
|
+
min-width: 300px;
|
7
|
+
overflow-x: hidden;
|
8
|
+
overflow-y: scroll;
|
9
|
+
text-rendering: optimizeLegibility;
|
10
|
+
-webkit-text-size-adjust: 100%;
|
11
|
+
-moz-text-size-adjust: 100%;
|
12
|
+
text-size-adjust: 100%;
|
13
|
+
}
|
14
|
+
|
15
|
+
article,
|
16
|
+
aside,
|
17
|
+
figure,
|
18
|
+
footer,
|
19
|
+
header,
|
20
|
+
hgroup,
|
21
|
+
section {
|
22
|
+
display: block;
|
23
|
+
}
|
24
|
+
|
25
|
+
body,
|
26
|
+
button,
|
27
|
+
input,
|
28
|
+
optgroup,
|
29
|
+
select,
|
30
|
+
textarea {
|
31
|
+
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
32
|
+
}
|
33
|
+
|
34
|
+
code,
|
35
|
+
pre {
|
36
|
+
-moz-osx-font-smoothing: auto;
|
37
|
+
-webkit-font-smoothing: auto;
|
38
|
+
font-family: monospace;
|
39
|
+
}
|
40
|
+
|
41
|
+
body {
|
42
|
+
color: hsl(0, 0%, 29%);
|
43
|
+
font-size: 1em;
|
44
|
+
font-weight: 400;
|
45
|
+
line-height: 1.5;
|
46
|
+
}
|
47
|
+
|
48
|
+
a {
|
49
|
+
color: hsl(229, 53%, 53%);
|
50
|
+
cursor: pointer;
|
51
|
+
text-decoration: none;
|
52
|
+
}
|
53
|
+
a strong {
|
54
|
+
color: currentColor;
|
55
|
+
}
|
56
|
+
a:hover {
|
57
|
+
color: hsl(0, 0%, 21%);
|
58
|
+
}
|
59
|
+
|
60
|
+
code {
|
61
|
+
background-color: hsl(0, 0%, 96%);
|
62
|
+
color: #da1039;
|
63
|
+
font-size: 0.875em;
|
64
|
+
font-weight: normal;
|
65
|
+
padding: 0.25em 0.5em 0.25em;
|
66
|
+
}
|
67
|
+
|
68
|
+
hr {
|
69
|
+
background-color: hsl(0, 0%, 96%);
|
70
|
+
border: none;
|
71
|
+
display: block;
|
72
|
+
height: 2px;
|
73
|
+
margin: 1.5rem 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
img {
|
77
|
+
height: auto;
|
78
|
+
max-width: 100%;
|
79
|
+
}
|
80
|
+
|
81
|
+
input[type=checkbox],
|
82
|
+
input[type=radio] {
|
83
|
+
vertical-align: baseline;
|
84
|
+
}
|
85
|
+
|
86
|
+
small {
|
87
|
+
font-size: 0.875em;
|
88
|
+
}
|
89
|
+
|
90
|
+
span {
|
91
|
+
font-style: inherit;
|
92
|
+
font-weight: inherit;
|
93
|
+
}
|
94
|
+
|
95
|
+
strong {
|
96
|
+
color: hsl(0, 0%, 21%);
|
97
|
+
font-weight: 700;
|
98
|
+
}
|
99
|
+
|
100
|
+
fieldset {
|
101
|
+
border: none;
|
102
|
+
}
|
103
|
+
|
104
|
+
pre {
|
105
|
+
-webkit-overflow-scrolling: touch;
|
106
|
+
background-color: hsl(0, 0%, 96%);
|
107
|
+
color: hsl(0, 0%, 29%);
|
108
|
+
font-size: 0.875em;
|
109
|
+
overflow-x: auto;
|
110
|
+
padding: 1.25rem 1.5rem;
|
111
|
+
white-space: pre;
|
112
|
+
word-wrap: normal;
|
113
|
+
}
|
114
|
+
pre code {
|
115
|
+
background-color: transparent;
|
116
|
+
color: currentColor;
|
117
|
+
font-size: 1em;
|
118
|
+
padding: 0;
|
119
|
+
}
|
120
|
+
|
121
|
+
table td,
|
122
|
+
table th {
|
123
|
+
vertical-align: top;
|
124
|
+
}
|
125
|
+
table td:not([align]),
|
126
|
+
table th:not([align]) {
|
127
|
+
text-align: inherit;
|
128
|
+
}
|
129
|
+
table th {
|
130
|
+
color: hsl(0, 0%, 21%);
|
131
|
+
}
|
132
|
+
|
133
|
+
@keyframes spinAround {
|
134
|
+
from {
|
135
|
+
transform: rotate(0deg);
|
136
|
+
}
|
137
|
+
to {
|
138
|
+
transform: rotate(359deg);
|
139
|
+
}
|
140
|
+
}
|
@@ -0,0 +1,198 @@
|
|
1
|
+
.hljs
|
2
|
+
margin-bottom: 1rem
|
3
|
+
border-radius: 0.5rem
|
4
|
+
overflow: auto
|
5
|
+
display: block
|
6
|
+
overflow-x: auto
|
7
|
+
padding: 0.5em
|
8
|
+
background: #23241f
|
9
|
+
code
|
10
|
+
background: #23241f
|
11
|
+
color: #f8f8f2
|
12
|
+
direction: ltr
|
13
|
+
font-family: Consolas,"Courier New",Courier,FreeMono,monospace
|
14
|
+
|
15
|
+
.hljs,
|
16
|
+
.hljs-tag,
|
17
|
+
.hljs-subst
|
18
|
+
color: #f8f8f2
|
19
|
+
|
20
|
+
.hljs-strong,
|
21
|
+
.hljs-emphasis
|
22
|
+
color: #a8a8a2
|
23
|
+
|
24
|
+
.hljs-bullet,
|
25
|
+
.hljs-quote,
|
26
|
+
.hljs-number,
|
27
|
+
.hljs-regexp,
|
28
|
+
.hljs-literal,
|
29
|
+
.hljs-link
|
30
|
+
color: #ae81ff
|
31
|
+
|
32
|
+
.hljs-code,
|
33
|
+
.hljs-title,
|
34
|
+
.hljs-section,
|
35
|
+
.hljs-selector-class
|
36
|
+
color: #a6e22e
|
37
|
+
|
38
|
+
.hljs-strong
|
39
|
+
font-weight: bold
|
40
|
+
|
41
|
+
.hljs-emphasis
|
42
|
+
font-style: italic
|
43
|
+
|
44
|
+
.hljs-keyword,
|
45
|
+
.hljs-selector-tag,
|
46
|
+
.hljs-name,
|
47
|
+
.hljs-attr
|
48
|
+
color: #f92672
|
49
|
+
|
50
|
+
.hljs-symbol,
|
51
|
+
.hljs-attribute
|
52
|
+
color: #66d9ef
|
53
|
+
|
54
|
+
.hljs-params,
|
55
|
+
.hljs-class .hljs-title
|
56
|
+
color: #f8f8f2
|
57
|
+
|
58
|
+
.hljs-string,
|
59
|
+
.hljs-type,
|
60
|
+
.hljs-built_in,
|
61
|
+
.hljs-builtin-name,
|
62
|
+
.hljs-selector-id,
|
63
|
+
.hljs-selector-attr,
|
64
|
+
.hljs-selector-pseudo,
|
65
|
+
.hljs-addition,
|
66
|
+
.hljs-variable,
|
67
|
+
.hljs-template-variable
|
68
|
+
color: #e6db74
|
69
|
+
|
70
|
+
.hljs-comment,
|
71
|
+
.hljs-deletion,
|
72
|
+
.hljs-meta
|
73
|
+
color: #57A64A
|
74
|
+
|
75
|
+
.hljs
|
76
|
+
background-color: #23241f
|
77
|
+
color: #586e75
|
78
|
+
.c
|
79
|
+
color: #93a1a1
|
80
|
+
.err,
|
81
|
+
.g
|
82
|
+
color: #586e75
|
83
|
+
.k
|
84
|
+
color: #859900
|
85
|
+
.l,
|
86
|
+
.n
|
87
|
+
color: #586e75
|
88
|
+
.o
|
89
|
+
color: #859900
|
90
|
+
.x
|
91
|
+
color: #cb4b16
|
92
|
+
.p
|
93
|
+
color: #586e75
|
94
|
+
.cm
|
95
|
+
color: #93a1a1
|
96
|
+
.cp
|
97
|
+
color: #859900
|
98
|
+
.c1
|
99
|
+
color: #93a1a1
|
100
|
+
.cs
|
101
|
+
color: #859900
|
102
|
+
.gd
|
103
|
+
color: #2aa198
|
104
|
+
.ge
|
105
|
+
color: #586e75
|
106
|
+
font-style: italic
|
107
|
+
.gr
|
108
|
+
color: #dc322f
|
109
|
+
.gh
|
110
|
+
color: #cb4b16
|
111
|
+
.gi
|
112
|
+
color: #859900
|
113
|
+
.go,
|
114
|
+
.gp
|
115
|
+
color: #586e75
|
116
|
+
.gs
|
117
|
+
color: #586e75
|
118
|
+
font-weight: bold
|
119
|
+
.gu
|
120
|
+
color: #cb4b16
|
121
|
+
.gt
|
122
|
+
color: #586e75
|
123
|
+
.kc
|
124
|
+
color: #cb4b16
|
125
|
+
.kd
|
126
|
+
color: #268bd2
|
127
|
+
.kn,
|
128
|
+
.kp
|
129
|
+
color: #859900
|
130
|
+
.kr
|
131
|
+
color: #268bd2
|
132
|
+
.kt
|
133
|
+
color: #dc322f
|
134
|
+
.ld
|
135
|
+
color: #586e75
|
136
|
+
.m,
|
137
|
+
.s
|
138
|
+
color: #2aa198
|
139
|
+
.na
|
140
|
+
color: #B58900
|
141
|
+
.nb
|
142
|
+
color: #586e75
|
143
|
+
.nc
|
144
|
+
color: #268bd2
|
145
|
+
.no
|
146
|
+
color: #cb4b16
|
147
|
+
.nd
|
148
|
+
color: #268bd2
|
149
|
+
.ni,
|
150
|
+
.ne
|
151
|
+
color: #cb4b16
|
152
|
+
.nf
|
153
|
+
color: #268bd2
|
154
|
+
.nl,
|
155
|
+
.nn,
|
156
|
+
.nx,
|
157
|
+
.py
|
158
|
+
color: #586e75
|
159
|
+
.nt,
|
160
|
+
.nv
|
161
|
+
color: #268bd2
|
162
|
+
.ow
|
163
|
+
color: #859900
|
164
|
+
.w
|
165
|
+
color: #586e75
|
166
|
+
.mf,
|
167
|
+
.mh,
|
168
|
+
.mi,
|
169
|
+
.mo
|
170
|
+
color: #2aa198
|
171
|
+
.sb
|
172
|
+
color: #93a1a1
|
173
|
+
.sc
|
174
|
+
color: #2aa198
|
175
|
+
.sd
|
176
|
+
color: #586e75
|
177
|
+
.s2
|
178
|
+
color: #2aa198
|
179
|
+
.se
|
180
|
+
color: #cb4b16
|
181
|
+
.sh
|
182
|
+
color: #586e75
|
183
|
+
.si,
|
184
|
+
.sx
|
185
|
+
color: #2aa198
|
186
|
+
.sr
|
187
|
+
color: #dc322f
|
188
|
+
.s1,
|
189
|
+
.ss
|
190
|
+
color: #2aa198
|
191
|
+
.bp,
|
192
|
+
.vc,
|
193
|
+
.vg,
|
194
|
+
.vi
|
195
|
+
color: #268bd2
|
196
|
+
.il
|
197
|
+
color: #2aa198
|
198
|
+
|
@@ -0,0 +1,91 @@
|
|
1
|
+
/*
|
2
|
+
* Visual Studio 2015 dark style
|
3
|
+
* Author: Nicolas LLOBERA <nllobera@gmail.com>
|
4
|
+
*/
|
5
|
+
|
6
|
+
.hljs
|
7
|
+
background: #1E1E1E
|
8
|
+
color: #DCDCDC
|
9
|
+
|
10
|
+
|
11
|
+
.hljs-keyword,
|
12
|
+
.hljs-literal,
|
13
|
+
.hljs-symbol,
|
14
|
+
.hljs-name
|
15
|
+
color: #569CD6
|
16
|
+
|
17
|
+
.hljs-link
|
18
|
+
color: #569CD6
|
19
|
+
text-decoration: underline
|
20
|
+
|
21
|
+
.hljs-built_in,
|
22
|
+
.hljs-type
|
23
|
+
color: #4EC9B0
|
24
|
+
|
25
|
+
.hljs-number,
|
26
|
+
.hljs-class
|
27
|
+
color: #B8D7A3
|
28
|
+
|
29
|
+
.hljs-string,
|
30
|
+
.hljs-meta .hljs-string
|
31
|
+
color: #D69D85
|
32
|
+
|
33
|
+
.hljs-regexp,
|
34
|
+
.hljs-template-tag
|
35
|
+
color: #9A5334
|
36
|
+
|
37
|
+
.hljs-subst,
|
38
|
+
.hljs-function,
|
39
|
+
.hljs-title,
|
40
|
+
.hljs-params,
|
41
|
+
.hljs-formula
|
42
|
+
color: #DCDCDC
|
43
|
+
|
44
|
+
.hljs-comment,
|
45
|
+
.hljs-quote
|
46
|
+
color: #57A64A
|
47
|
+
font-style: italic
|
48
|
+
|
49
|
+
.hljs-doctag
|
50
|
+
color: #608B4E
|
51
|
+
|
52
|
+
.hljs-meta,
|
53
|
+
.hljs-meta .hljs-keyword,
|
54
|
+
.hljs-tag
|
55
|
+
color: #9B9B9B
|
56
|
+
|
57
|
+
.hljs-variable,
|
58
|
+
.hljs-template-variable
|
59
|
+
color: #BD63C5
|
60
|
+
|
61
|
+
.hljs-attr,
|
62
|
+
.hljs-attribute
|
63
|
+
color: #9CDCFE
|
64
|
+
|
65
|
+
.hljs-section
|
66
|
+
color: gold
|
67
|
+
|
68
|
+
.hljs-emphasis
|
69
|
+
font-style: italic
|
70
|
+
|
71
|
+
.hljs-strong
|
72
|
+
font-weight: bold
|
73
|
+
|
74
|
+
.hljs-bullet,
|
75
|
+
.hljs-selector-tag,
|
76
|
+
.hljs-selector-id,
|
77
|
+
.hljs-selector-class,
|
78
|
+
.hljs-selector-attr,
|
79
|
+
.hljs-selector-pseudo
|
80
|
+
color: #D7BA7D
|
81
|
+
|
82
|
+
.hljs-addition
|
83
|
+
background-color: #144212
|
84
|
+
display: inline-block
|
85
|
+
width: 100%
|
86
|
+
|
87
|
+
.hljs-deletion
|
88
|
+
background-color: #600
|
89
|
+
display: inline-block
|
90
|
+
width: 100%
|
91
|
+
|
package/sass/social.scss
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
/* purgecss start ignore */
|
2
|
+
@font-face {font-family: "socialshare";
|
3
|
+
src: url('../fonts/iconfont.eot'); /* IE9*/
|
4
|
+
src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
5
|
+
url('../fonts/iconfont.woff') format('woff'), /* chrome, firefox */
|
6
|
+
url('../fonts/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('../fonts/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
|
8
|
+
}
|
9
|
+
|
10
|
+
.social-share {
|
11
|
+
font-family:"socialshare" !important;
|
12
|
+
font-size:16px;
|
13
|
+
font-style:normal;
|
14
|
+
-webkit-font-smoothing: antialiased;
|
15
|
+
-webkit-text-stroke-width: 0.2px;
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
17
|
+
* {
|
18
|
+
font-family:"socialshare" !important;
|
19
|
+
}
|
20
|
+
.icon-tencent:before { content: "\f07a"; }
|
21
|
+
.icon-qq:before { content: "\f11a"; }
|
22
|
+
.icon-weibo:before { content: "\f12a"; }
|
23
|
+
.icon-wechat:before { content: "\f09a"; }
|
24
|
+
.icon-douban:before { content: "\f10a"; }
|
25
|
+
.icon-heart:before { content: "\f20a"; }
|
26
|
+
.icon-like:before { content: "\f00a"; }
|
27
|
+
.icon-qzone:before { content: "\f08a"; }
|
28
|
+
.icon-linkedin:before { content: "\f01a"; }
|
29
|
+
.icon-diandian:before { content: "\f05a"; }
|
30
|
+
.icon-facebook:before { content: "\f03a"; }
|
31
|
+
.icon-google:before { content: "\f04a"; }
|
32
|
+
.icon-twitter:before { content: "\f06a"; }
|
33
|
+
|
34
|
+
a {
|
35
|
+
position:relative;
|
36
|
+
text-decoration:none;
|
37
|
+
margin: 4px;
|
38
|
+
display:inline-block;
|
39
|
+
outline: none;
|
40
|
+
cursor: pointer !important;
|
41
|
+
}
|
42
|
+
|
43
|
+
.social-share-icon {
|
44
|
+
position:relative;
|
45
|
+
display:inline-block;
|
46
|
+
width: 32px;
|
47
|
+
height: 32px;
|
48
|
+
font-size: 20px;
|
49
|
+
border-radius: 50%;
|
50
|
+
line-height: 32px;
|
51
|
+
border:1px solid #666;
|
52
|
+
color: #666;
|
53
|
+
text-align: center;
|
54
|
+
vertical-align: middle;
|
55
|
+
transition: background 0.6s ease-out 0s;
|
56
|
+
|
57
|
+
&:hover{
|
58
|
+
background: #666;
|
59
|
+
color: #fff;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.icon-weibo{
|
64
|
+
color:#ff763b;border-color:#ff763b;
|
65
|
+
&:hover{
|
66
|
+
background:#ff763b;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
.icon-tencent{
|
70
|
+
color:#56b6e7;border-color:#56b6e7;
|
71
|
+
&:hover{
|
72
|
+
background:#56b6e7;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
.icon-qq{
|
76
|
+
color:#56b6e7;border-color:#56b6e7;
|
77
|
+
&:hover{
|
78
|
+
background:#56b6e7;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
.icon-qzone{
|
82
|
+
color:#FDBE3D;border-color:#FDBE3D;
|
83
|
+
&:hover{
|
84
|
+
background:#FDBE3D;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
.icon-douban{
|
88
|
+
color:#33b045;border-color:#33b045;
|
89
|
+
&:hover{
|
90
|
+
background:#33b045;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
.icon-linkedin{
|
94
|
+
color:#0077B5;border-color:#0077B5;
|
95
|
+
&:hover{
|
96
|
+
background:#0077B5;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
.icon-facebook {
|
100
|
+
color:#44619D;border-color:#44619D;
|
101
|
+
&:hover{
|
102
|
+
background:#44619D;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
.icon-google {
|
106
|
+
color:#db4437;border-color:#db4437;
|
107
|
+
&:hover{
|
108
|
+
background:#db4437;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
.icon-twitter {
|
112
|
+
color:#55acee;border-color:#55acee;
|
113
|
+
&:hover{
|
114
|
+
background:#55acee;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
.icon-diandian {color:#307DCA; border-color:#307DCA;
|
118
|
+
|
119
|
+
&:hover{
|
120
|
+
background:#307DCA;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
.icon-wechat{
|
124
|
+
position:relative;color:#7bc549;border-color:#7bc549;
|
125
|
+
&:hover{
|
126
|
+
background:#7bc549;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
.icon-wechat .wechat-qrcode{display: none;border: 1px solid #eee;position:absolute;z-index:9;top:-205px;left:-84px;width:200px;height:192px;color:#666;font-size:12px;text-align:center;background-color:#fff;box-shadow:0 2px 10px #aaa;transition:all 200ms;-webkit-tansition:all 350ms;-moz-transition:all 350ms; }
|
130
|
+
.icon-wechat .wechat-qrcode.bottom {
|
131
|
+
top:40px;
|
132
|
+
left:-84px;
|
133
|
+
&:after {
|
134
|
+
display:none;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
.icon-wechat .wechat-qrcode h4{font-weight:normal;height:26px;line-height:26px;font-size:12px; background-color:#f3f3f3; margin:0;padding:0;color: #777; }
|
138
|
+
.icon-wechat .wechat-qrcode .qrcode{width:105px; margin:10px auto;}
|
139
|
+
.icon-wechat .wechat-qrcode .qrcode table{margin:0!important;}
|
140
|
+
.icon-wechat .wechat-qrcode .help p{font-weight:normal;line-height:16px;padding:0;margin:0;}
|
141
|
+
.icon-wechat .wechat-qrcode:after{content:'';position:absolute;left:50%;margin-left:-6px;bottom:-13px;width:0;height:0;border-width:8px 6px 6px 6px;border-style:solid;border-color:#fff transparent transparent transparent}
|
142
|
+
.icon-wechat:hover .wechat-qrcode{display: block;}
|
143
|
+
}
|
144
|
+
/* purgecss end ignore */
|