Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e51e40c

Browse files
authored
Merge pull request #3 from phpzlc/style
Style
2 parents f1af570 + f271c68 commit e51e40c

File tree

7 files changed

+24
-14
lines changed

7 files changed

+24
-14
lines changed

‎README.markdown‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ QQ群 ([645891927](https://jq.qq.com/?_wv=1027&k=ZpwdagVG))
107107
![](/assets/images/zxsjgzh-2.png)
108108

109109
> 知乎号(PHP知了虫)
110+
111+
![](/assets/images/zhihu-1.png)
110112

111113
## 赞赏支持
112114

‎_includes/content.html‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
}
3131

3232
#md-content img {
33-
max-width: 600px;
33+
width: 100%;
34+
/* max-width: 600px; */
3435
}
3536

3637
pre[class*="language-"] {
@@ -121,7 +122,7 @@ <h2 class="title">{{ page.title }}</h2>
121122
<p class="time"><span>{{ page.date | date: "%Y-%m-%d" }}&nbsp;&nbsp;by&nbsp;&nbsp;</span><span id="author"></span>
122123
</p>
123124
</div>
124-
<div class="a_link"></div>
125+
<ul class="a_link"></ul>
125126
<div id="md-content">
126127
{{ content }}
127128
<div class="nav-bottom">
@@ -198,12 +199,12 @@ <h2 class="title">{{ page.title }}</h2>
198199
<script>
199200
$(function () {
200201
var title = $("#md-content h2");
201-
console.log(title);
202+
// console.log(title);
202203
html = '';
203204
title.each(function () {
204205
var text = $(this)[0].innerText;
205206
var id = $(this).eq(0).attr("id");
206-
console.log(text, id)
207+
// console.log(text, id)
207208
html += `<li><a href="#${id}">${text}</a></li>`
208209
})
209210
$(".a_link").append(html)

‎_includes/footer.html‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
<p>扫码关注作者头条号</p>
4242
</div>
4343
</li>
44+
<li class="li-code">
45+
<div>
46+
<img src="/assets/images/zhihu-1.png">
47+
<p>扫码关注作者知乎号</p>
48+
</div>
49+
</li>
4450
</ul>
4551
</li>
4652
</ul>

‎assets/css/main.css‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.promo-block-inner-bottom{
22
padding: 30px;
3-
padding-left: 100px;
3+
/* padding-left: 100px; */
44
color: #fff;
55
-webkit-border-radius: 4px;
66
-moz-border-radius: 4px;
@@ -137,13 +137,16 @@
137137
padding-bottom: 20px;
138138
}
139139
.promo-block-inner-bottom .li-community ul .li-code {
140-
width: 30%;
140+
width: 40%;
141141
padding: 0;
142142
float: none;
143-
margin-right: 5%;
143+
margin:05%5% 5%;
144144
}
145145
.promo-block-inner-bottom .li-community ul .li-code:nth-last-of-type(1) {
146-
margin-right: 0;
146+
margin-bottom: 0;
147+
}
148+
.promo-block-inner-bottom .li-community ul .li-code:nth-last-of-type(2) {
149+
margin-bottom: 0;
147150
}
148151
.promo-block-inner-bottom .li-1 p font {
149152
color: #fff;

‎assets/images/zhihu-1.png‎

5.1 KB
Loading[フレーム]

‎assets/images/zhihu-2.png‎

14.9 KB
Loading[フレーム]

‎assets/plugins/elegant_font/css/style.css‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,29 +1625,27 @@ text-shadow: none;
16251625

16261626
.a_link {
16271627
margin: 30px 0 0 0;
1628+
padding: 0 15px 0 15px;
16281629
}
16291630

16301631
.a_link li {
16311632
list-style: disc;
16321633
}
16331634

1634-
.body-blue .a_link>a{
1635+
/* .body-blue .a_link>a{
16351636
display: block;
16361637
width: auto;
16371638
margin-bottom: 10px;
16381639
font-size: 14px;
16391640
line-height: 1;
1640-
/* color: #333333; */
1641-
}
1641+
color: #333333;
1642+
} */
16421643

16431644
/* .body-blue .a_link>a:hover {
16441645
color: #333333;
16451646
} */
16461647

16471648
@media screen and (max-width: 1199px) {
1648-
.a_link {
1649-
padding-left: 0;
1650-
}
16511649

16521650
.entry-shang .fork_update {
16531651
width: 100%;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /