Skip to content

Commit dd00c1f

Browse files
committed
style change to mobile
1 parent ec7c6c0 commit dd00c1f

26 files changed

+1341
-133
lines changed

archives.html

+25-8
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
<a href="./" class="navbar-brand">
4747
<img src="./logo.png" width="40" height="40"/> </a>
48-
<div class="brand">工匠实验室 - 专注工控安全研究</div>
48+
<div class="brand" id="titlename">工匠实验室 - 专注工控安全研究</div>
4949
</div>
5050
<div class="collapse navbar-collapse navbar-ex1-collapse navbar-right">
5151
<ul class="nav navbar-nav">
@@ -76,15 +76,17 @@
7676
<h1>归档文件列表</h1>
7777

7878
<dl>
79+
<dt>2017-02-23 17:27:44</dt>
80+
<dd><a href='./tool/icstools.html'>工控安全工具集</a></dd>
7981
<dt>2017-02-22 20:50:01</dt>
8082
<dd><a href='./news/Ransomware for Industrial Control Systems.html'>失控:工业控制系统勒索软件</a></dd>
8183
<dt>2017-02-12 16:05:56</dt>
82-
<dd><a href='./other/about.html'>关于本站</a></dd>
84+
<dd><a href='./other/about.html'>关于</a></dd>
8385
</dl>
8486
</section>
8587
</div>
8688
<div class="col-sm-3" id="sidebar">
87-
<div class="row sidebar_main">
89+
<div class="sidebar_main">
8890
<div class="well well-sm" id="sidebar">
8991
<aside>
9092
<section>
@@ -94,14 +96,19 @@ <h1>归档文件列表</h1>
9496
<h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span></h4>
9597
</div>
9698
<ul class="list-group" id="recentposts">
99+
<li class="list-group-item">
100+
<a href="./tool/icstools.html">
101+
工控安全工具集
102+
</a>
103+
</li>
97104
<li class="list-group-item">
98105
<a href="./news/Ransomware for Industrial Control Systems.html">
99106
失控:工业控制系统勒索软件
100107
</a>
101108
</li>
102109
<li class="list-group-item">
103110
<a href="./other/about.html">
104-
关于本站
111+
关于
105112
</a>
106113
</li>
107114
</ul>
@@ -111,7 +118,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
111118
</div>
112119
</div>
113120

114-
<div class="row sidebar_main">
121+
<div class="sidebar_main">
115122
<div class="well well-sm" id="sidebar">
116123
<aside>
117124
<section>
@@ -139,7 +146,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
139146
</div>
140147
</div>
141148

142-
<div class="row sidebar_main">
149+
<div class="sidebar_main">
143150
<div class="well well-sm" id="sidebar">
144151
<aside>
145152
<section>
@@ -154,7 +161,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
154161
</div>
155162
</div>
156163

157-
<div class="row sidebar_main">
164+
<div class="sidebar_main">
158165
<div class="well well-sm" id="sidebar">
159166
<aside>
160167
<section>
@@ -180,10 +187,17 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
180187
<div class="col-xs-10">&copy; 2017 W3H
181188
<a href="http://docs.getpelican.com/" target="_blank">Pelican</a>,
182189
<a href="http://getbootstrap.com" target="_blank">Bootstrap</a> </div>
183-
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#">Back to top</a></p></div>
190+
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#" id="pull-right-link">Back to top</a></p></div>
184191
</div>
185192
</div>
186193
</footer>
194+
195+
196+
<script type="text/javascript">
197+
if(document.body.scrollWidth < 700){
198+
document.getElementById('pull-right-link').style.display = 'none';
199+
}
200+
</script>
187201
<script src="http://code.jquery.com/jquery.js"></script>
188202
<script src="http://cdn.bootcss.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
189203
<!-- <script src="./theme/js/bootstrap.min.js"></script> -->
@@ -193,6 +207,9 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
193207

194208
<!-- For the Tags Cloud -->
195209
<script type="text/javascript">
210+
if(document.body.scrollWidth < 700){
211+
document.getElementById("titlename").innerHTML="工匠实验室";
212+
}
196213
</script>
197214

198215
<!-- GitHub JS -->

category/index.html

+35-8
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
<a href="../" class="navbar-brand">
4747
<img src="../logo.png" width="40" height="40"/> </a>
48-
<div class="brand">工匠实验室 - 专注工控安全研究</div>
48+
<div class="brand" id="titlename">工匠实验室 - 专注工控安全研究</div>
4949
</div>
5050
<div class="collapse navbar-collapse navbar-ex1-collapse navbar-right">
5151
<ul class="nav navbar-nav">
@@ -95,7 +95,19 @@ <h4 class="panel-title">
9595
</div>
9696
<div id="collapse-other" class="panel-collapse collapse">
9797
<div class="panel-body">
98-
<p><span class="categories-timestamp"><time datetime="2014-05-19T05:24:00+08:00">2017-02-12 16:05:56</time></span> <a href="../other/about.html">关于本站</a></p>
98+
<p><span class="categories-timestamp"><time datetime="2014-05-19T05:24:00+08:00">2017-02-12 16:05:56</time></span> <a href="../other/about.html">关于</a></p>
99+
</div>
100+
</div>
101+
</div>
102+
<div class="panel panel-default">
103+
<div class="panel-heading">
104+
<h4 class="panel-title">
105+
<a data-toggle="collapse" data-parent="#accordion" href="#collapse-tool">tool <span class="badge pull-right">1</span></a>
106+
</h4>
107+
</div>
108+
<div id="collapse-tool" class="panel-collapse collapse">
109+
<div class="panel-body">
110+
<p><span class="categories-timestamp"><time datetime="2017-02-23T15:24:00+08:00">2017-02-23 17:27:44</time></span> <a href="../tool/icstools.html">工控安全工具集</a></p>
99111
</div>
100112
</div>
101113
</div>
@@ -104,7 +116,7 @@ <h4 class="panel-title">
104116
</section>
105117
</div>
106118
<div class="col-sm-3" id="sidebar">
107-
<div class="row sidebar_main">
119+
<div class="sidebar_main">
108120
<div class="well well-sm" id="sidebar">
109121
<aside>
110122
<section>
@@ -114,14 +126,19 @@ <h4 class="panel-title">
114126
<h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span></h4>
115127
</div>
116128
<ul class="list-group" id="recentposts">
129+
<li class="list-group-item">
130+
<a href="../tool/icstools.html">
131+
工控安全工具集
132+
</a>
133+
</li>
117134
<li class="list-group-item">
118135
<a href="../news/Ransomware for Industrial Control Systems.html">
119136
失控:工业控制系统勒索软件
120137
</a>
121138
</li>
122139
<li class="list-group-item">
123140
<a href="../other/about.html">
124-
关于本站
141+
关于
125142
</a>
126143
</li>
127144
</ul>
@@ -131,7 +148,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
131148
</div>
132149
</div>
133150

134-
<div class="row sidebar_main">
151+
<div class="sidebar_main">
135152
<div class="well well-sm" id="sidebar">
136153
<aside>
137154
<section>
@@ -159,7 +176,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
159176
</div>
160177
</div>
161178

162-
<div class="row sidebar_main">
179+
<div class="sidebar_main">
163180
<div class="well well-sm" id="sidebar">
164181
<aside>
165182
<section>
@@ -174,7 +191,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
174191
</div>
175192
</div>
176193

177-
<div class="row sidebar_main">
194+
<div class="sidebar_main">
178195
<div class="well well-sm" id="sidebar">
179196
<aside>
180197
<section>
@@ -200,10 +217,17 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
200217
<div class="col-xs-10">&copy; 2017 W3H
201218
<a href="http://docs.getpelican.com/" target="_blank">Pelican</a>,
202219
<a href="http://getbootstrap.com" target="_blank">Bootstrap</a> </div>
203-
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#">Back to top</a></p></div>
220+
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#" id="pull-right-link">Back to top</a></p></div>
204221
</div>
205222
</div>
206223
</footer>
224+
225+
226+
<script type="text/javascript">
227+
if(document.body.scrollWidth < 700){
228+
document.getElementById('pull-right-link').style.display = 'none';
229+
}
230+
</script>
207231
<script src="http://code.jquery.com/jquery.js"></script>
208232
<script src="http://cdn.bootcss.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
209233
<!-- <script src="../theme/js/bootstrap.min.js"></script> -->
@@ -213,6 +237,9 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
213237

214238
<!-- For the Tags Cloud -->
215239
<script type="text/javascript">
240+
if(document.body.scrollWidth < 700){
241+
document.getElementById("titlename").innerHTML="工匠实验室";
242+
}
216243
</script>
217244

218245
<!-- GitHub JS -->

category/news.html

+18-8
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
<a href="../" class="navbar-brand">
4747
<img src="../logo.png" width="40" height="40"/> </a>
48-
<div class="brand">工匠实验室 - 专注工控安全研究</div>
48+
<div class="brand" id="titlename">工匠实验室 - 专注工控安全研究</div>
4949
</div>
5050
<div class="collapse navbar-collapse navbar-ex1-collapse navbar-right">
5151
<ul class="nav navbar-nav">
@@ -73,7 +73,7 @@
7373
<div class="col-sm-9">
7474

7575
<article>
76-
<div class="entry-content">
76+
<div class="article-list">
7777
<div class="panel panel-default">
7878
<div class="panel-title">
7979
<h2>&nbsp&nbsp<a href="../news/Ransomware for Industrial Control Systems.html">失控:工业控制系统勒索软件</a></h2>
@@ -86,7 +86,7 @@ <h2>&nbsp&nbsp<a href="../news/Ransomware for Industrial Control Systems.html">
8686

8787
<blockquote>
8888
<p>摘要 – 勒索软件最近成为网络犯罪的热门新商业模式,对医院进行了高调攻击,揭示了操作关键资产用于获取勒索赎金盈利的技术 ...</p></blockquote>
89-
<a class="btn btn-default btn-xs" href="../news/Ransomware for Industrial Control Systems.html">阅读更多 ...</a>
89+
<a class="readmore" href="../news/Ransomware for Industrial Control Systems.html">READ MORE</a>
9090
</div>
9191
</div>
9292
</div>
@@ -95,7 +95,7 @@ <h2>&nbsp&nbsp<a href="../news/Ransomware for Industrial Control Systems.html">
9595

9696
</div>
9797
<div class="col-sm-3" id="sidebar">
98-
<div class="row sidebar_main">
98+
<div class="sidebar_main">
9999
<div class="well well-sm" id="sidebar">
100100
<aside>
101101
<section>
@@ -117,7 +117,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
117117
</div>
118118
</div>
119119

120-
<div class="row sidebar_main">
120+
<div class="sidebar_main">
121121
<div class="well well-sm" id="sidebar">
122122
<aside>
123123
<section>
@@ -145,7 +145,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
145145
</div>
146146
</div>
147147

148-
<div class="row sidebar_main">
148+
<div class="sidebar_main">
149149
<div class="well well-sm" id="sidebar">
150150
<aside>
151151
<section>
@@ -160,7 +160,7 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
160160
</div>
161161
</div>
162162

163-
<div class="row sidebar_main">
163+
<div class="sidebar_main">
164164
<div class="well well-sm" id="sidebar">
165165
<aside>
166166
<section>
@@ -186,10 +186,17 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
186186
<div class="col-xs-10">&copy; 2017 W3H
187187
<a href="http://docs.getpelican.com/" target="_blank">Pelican</a>,
188188
<a href="http://getbootstrap.com" target="_blank">Bootstrap</a> </div>
189-
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#">Back to top</a></p></div>
189+
<div class="col-xs-2"><p class="pull-right"><i class="fa fa-arrow-up"></i> <a href="#" id="pull-right-link">Back to top</a></p></div>
190190
</div>
191191
</div>
192192
</footer>
193+
194+
195+
<script type="text/javascript">
196+
if(document.body.scrollWidth < 700){
197+
document.getElementById('pull-right-link').style.display = 'none';
198+
}
199+
</script>
193200
<script src="http://code.jquery.com/jquery.js"></script>
194201
<script src="http://cdn.bootcss.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
195202
<!-- <script src="../theme/js/bootstrap.min.js"></script> -->
@@ -199,6 +206,9 @@ <h4><i class="fa fa-home fa-lg"></i><span class="icon-label">近期文章</span>
199206

200207
<!-- For the Tags Cloud -->
201208
<script type="text/javascript">
209+
if(document.body.scrollWidth < 700){
210+
document.getElementById("titlename").innerHTML="工匠实验室";
211+
}
202212
</script>
203213

204214
<!-- GitHub JS -->

0 commit comments

Comments
 (0)