Skip to content

Commit

Permalink
update css
Browse files Browse the repository at this point in the history
  • Loading branch information
zodman committed May 4, 2019
1 parent cb91507 commit 7b72d46
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
15 changes: 13 additions & 2 deletions app/templates/base.html
Expand Up @@ -12,8 +12,19 @@

<style type="text/css" media="screen">

body, html, .hero { height:100%; }

html {
height:100%;
min-height: 100%;
}
body {
height:100%;
min-height: 100%;
}
.hero-body {
padding-top:7rem !important;
height:100%;
min-height: 100%;
}
</style>

</head>
Expand Down
15 changes: 12 additions & 3 deletions app/templates/votes.html
Expand Up @@ -14,12 +14,21 @@

{% if votes %}

<div class="content">
<div class="content ">
<p>
{{url}}
{{url}}
</p>
<p class="is-size-4 has-text-weight-bold is-family-secondary ">
{{votes.result|length}} out of {{votes.total}} upvoters are from Makerlog.
</p>
</div>

<div class="content">

{{votes.result|length}} out of {{votes.total}} upvoters are from Makerlog.
<p class="is-size-3">
{% widthratio votes.result|length votes.total 100 %} %
</p>

</div>

<div class="content">
Expand Down

0 comments on commit 7b72d46

Please sign in to comment.