add line through

This commit is contained in:
oppofind 2020-01-18 23:33:23 +08:00
parent ca1a8be4bd
commit d806f5bf06
3 changed files with 11 additions and 3 deletions

View File

@ -32,7 +32,7 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<flexmark.version>0.50.46</flexmark.version>
<flexmark.version>0.50.48</flexmark.version>
</properties>
<dependencies>
<dependency>

View File

@ -28,7 +28,11 @@
for(doc in api.list){
%>
<li class="chapter " data-level="${api.alias}" data-path="${api.alias}.html">
<a href="javascript:void(0)" onclick="go('${api.alias}', '${doc.desc}');">${api.order}.${doc.order} ${doc.desc}</a></li>
<%if(doc.deprecated){%>
<a href="javascript:void(0)" onclick="go('${api.alias}', '${doc.desc}');">${api.order}.${doc.order}&nbsp;<span class="line-through">${doc.desc}</span></a></li>
<%}else{%>
<a href="javascript:void(0)" onclick="go('${api.alias}', '${doc.desc}');">${api.order}.${doc.order}&nbsp;${doc.desc}</a></li>
<%}%>
<%}%>
</ul>
</li>

View File

@ -62,7 +62,7 @@
display: inline
}
.book-summary ul.summary li a, .book-summary ul.summary li span {
.book-summary ul.summary li a, .book-summary {
display: block;
padding: 10px 15px;
border-bottom: 0;
@ -225,4 +225,8 @@ body {
.footer_link {
margin-bottom: 45px
}
.line-through {
text-decoration: line-through;
}