Skip to content
Permalink
Browse files

Quick CSS fix

  • Loading branch information...
Depado committed May 17, 2018
1 parent 1709957 commit 36f77ac31b98024321cc1834b3cdb8df76b25395
Showing with 9 additions and 2 deletions.
  1. +7 −0 assets/style.css
  2. +2 −2 templates/post.tmpl
@@ -170,6 +170,13 @@ pre>code {
color: #fff;
border-radius: 16px;
}
.draftinfo {
background: grey;
color: #fff;
border-radius: 5px;
float: right;
text-align: center;
}
.footerinfo {
text-align: center;
margin-top: 70px;
@@ -51,8 +51,8 @@
</div>
{{ end }}
{{ if .post.Draft }}
<div class="btn tag" style="float: right; text-align: center;">
<i class="far fa-file-alt"></i> Draft Mode<br />This page is unlisted
<div class="btn draftinfo">
<b>Draft Mode</b><br />This page is unlisted
</div>
{{ end }}
</div>

0 comments on commit 36f77ac

Please sign in to comment.
You can’t perform that action at this time.