first commit

v1.2.0
kun.peng 2019-10-07 00:01:33 +08:00
parent f46b7495ea
commit 82b9a40c08
6 changed files with 15 additions and 6 deletions

View File

@ -53,7 +53,7 @@
</#if> </#if>
</h1> </h1>
<#else> <#else>
<h1 class="title is-size-5 is-size-4-mobile has-text-weight-normal"> <h1 class="title is-size-5 is-size-5-mobile has-text-weight-normal">
<#if index> <#if index>
<a class="has-link-black-ter" href="${context!}/archives/${post.url!}">${post.title!}</a> <a class="has-link-black-ter" href="${context!}/archives/${post.url!}">${post.title!}</a>
<#else> <#else>

View File

@ -13,7 +13,7 @@
&copy; ${.now?string('yyyy')} ${user.nickname!}&nbsp; &copy; ${.now?string('yyyy')} ${user.nickname!}&nbsp;
Powered by <a href="https://halo.run/" target="_blank">Halo</a> Powered by <a href="https://halo.run/" target="_blank">Halo</a>
<br> <br>
&nbsp;&nbsp;&nbsp;Theme <a href="#">Fantastic</a> by <a href="https://github.com/imkundev" target="_blank">Quinn</a> &nbsp;&nbsp;&nbsp;Theme <a href="https://github.com/imkundev/halo-theme-fantastic">Fantastic</a> by <a href="https://github.com/imkundev" target="_blank">Quinn</a>
<br /> <br />
<@global.footer /> <@global.footer />
</p> </p>

View File

@ -86,6 +86,11 @@ textarea {
flex: 12; flex: 12;
padding: 1rem; padding: 1rem;
} }
@media screen and (max-width: 769px) {
.card-image img {
height: 80% !important;
}
}
img.thumbnail { img.thumbnail {
object-fit: cover; object-fit: cover;
width: 100%; width: 100%;

View File

@ -87,7 +87,10 @@ body, button, input, select, textarea
.card-content .card-content
flex: 12 flex: 12
padding: 1rem padding: 1rem
@media screen and (max-width: screen-tablet)
.card-image
img
height: 80% !important
img.thumbnail img.thumbnail

View File

@ -44,7 +44,8 @@ pre[class*="language-"] {
padding: -2em; padding: -2em;
margin: .5em 0; margin: .5em 0;
overflow: auto; overflow: auto;
border-radius: 4px; border-radius: 2px;
overflow: hidden;
} }
/* Inline code */ /* Inline code */

View File

@ -12,8 +12,8 @@ pre.line-numbers > code {
.line-numbers .line-numbers-rows { .line-numbers .line-numbers-rows {
position: absolute; position: absolute;
pointer-events: none; pointer-events: none;
top: -2rem; top: -1.8rem;
padding-top: 2rem; padding-top: 1.6rem;
font-size: 100%; font-size: 100%;
/*background-color: #EBEDED;*/ /*background-color: #EBEDED;*/
left: -3.8em; left: -3.8em;