|
9 | 9 | name="viewport" |
10 | 10 | content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" |
11 | 11 | /> |
12 | | - <link |
13 | | - rel="icon" |
14 | | - href="http://dunwu.test.upcdn.net/images/others/zp_50_50.png" |
15 | | - type="image/x-icon" |
16 | | - /> |
17 | | - <link |
18 | | - rel="stylesheet" |
19 | | - href="//unpkg.com/docsify/lib/themes/vue.css" |
20 | | - title="vue" |
21 | | - /> |
| 12 | + <link rel="icon" href="http://dunwu.test.upcdn.net/images/others/zp_50_50.png" type="image/x-icon" /> |
| 13 | + <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" title="vue" /> |
22 | 14 | <style> |
23 | 15 | h1 + ul { |
24 | 16 | display: block !important; |
|
52 | 44 | } |
53 | 45 |
|
54 | 46 | .cover-main p a:hover { |
55 | | - color: white !important; |
| 47 | + text-align: center; |
| 48 | + background-image: -webkit-linear-gradient(left, #ffdcb4, #b96972 25%, #e88a57 50%, #804170 75%, #a596cd); |
| 49 | + -webkit-text-fill-color: transparent; |
| 50 | + -webkit-background-clip: text; |
| 51 | + -webkit-background-size: 200% 100%; |
| 52 | + -webkit-animation: masked-animation 1.5s infinite linear; |
56 | 53 | } |
57 | 54 |
|
58 | 55 | /* content 样式内容 */ |
59 | 56 | .sidebar a, |
60 | 57 | .content a { |
61 | 58 | color: #399ab2 !important; |
62 | | - text-decoration: none; |
| 59 | + text-decoration: none !important; |
63 | 60 | } |
64 | 61 |
|
65 | 62 | .sidebar a:hover, |
66 | 63 | .content a:hover { |
67 | 64 | color: #fe4165 !important; |
| 65 | + text-decoration: underline !important; |
| 66 | + } |
| 67 | + |
| 68 | + .content h1 :hover, |
| 69 | + .content h2 :hover, |
| 70 | + .content h3 :hover, |
| 71 | + .content h4 :hover { |
| 72 | + text-align: center; |
| 73 | + background-image: -webkit-linear-gradient(left, #ffdcb4, #b96972 25%, #e88a57 50%, #804170 75%, #a596cd); |
| 74 | + -webkit-text-fill-color: transparent; |
| 75 | + -webkit-background-clip: text; |
| 76 | + -webkit-background-size: 200% 100%; |
| 77 | + -webkit-animation: masked-animation 1.5s infinite linear; |
| 78 | + } |
| 79 | + |
| 80 | + @-webkit-keyframes masked-animation { |
| 81 | + 0% { |
| 82 | + background-position: 0 0; |
| 83 | + } |
| 84 | + 100% { |
| 85 | + background-position: -100% 0; |
| 86 | + } |
68 | 87 | } |
69 | 88 |
|
| 89 | + .content h1 a, |
70 | 90 | .content h1 span { |
71 | 91 | color: #399ab2 !important; |
72 | | - font-size: 24px; |
| 92 | + font-size: 30px; |
73 | 93 | text-shadow: 0 -1px 5px rgba(0, 0, 0, 0.4); |
74 | 94 | } |
75 | 95 |
|
| 96 | + .content h2 a, |
76 | 97 | .content h2 span { |
77 | 98 | color: #60497c !important; |
78 | | - font-size: 20px; |
| 99 | + font-size: 26px; |
79 | 100 | text-shadow: 0 -1px 5px rgba(0, 0, 0, 0.4); |
80 | 101 | } |
81 | 102 |
|
| 103 | + .content h3 a, |
82 | 104 | .content h3 span { |
83 | 105 | color: #346093 !important; |
84 | | - font-size: 18px; |
| 106 | + font-size: 22px; |
85 | 107 | text-shadow: 0 -1px 5px rgba(0, 0, 0, 0.4); |
86 | 108 | } |
87 | 109 |
|
| 110 | + .content h4 a, |
88 | 111 | .content h4 span { |
89 | | - font-size: 16px; |
| 112 | + font-size: 18px; |
90 | 113 | color: #78943a; |
91 | 114 | text-shadow: 0 -1px 5px rgba(0, 0, 0, 0.4); |
92 | 115 | } |
|
164 | 187 | <div id="app">正在加载...</div> |
165 | 188 | <script> |
166 | 189 | window.$docsify = { |
167 | | - name: "Java Tutorial", |
| 190 | + name: "Java Tutoria", |
168 | 191 | repo: "https://github.com/dunwu/java-tutorial", |
169 | | - auto2top: true, |
170 | 192 | logo: "http://dunwu.test.upcdn.net/images/others/zp_100_100.png", |
| 193 | + auto2top: true, |
171 | 194 | coverpage: "coverpage.md", |
172 | | - subMaxLevel: 4, |
173 | 195 | maxLevel: 4, |
| 196 | + subMaxLevel: 4, |
174 | 197 | formatUpdated: "{MM}/{DD} {HH}:{mm}", |
175 | 198 | search: { |
176 | 199 | maxAge: 86400000, |
|
0 commit comments