Skip to content

Commit

Permalink
Restyle PoW page (#377)
Browse files Browse the repository at this point in the history
* restyle pow page

* update screenshot
  • Loading branch information
RuiSiang committed Jul 16, 2022
1 parent 0a81de9 commit b4de7a0
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 17 deletions.
Binary file added public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 21 additions & 12 deletions public/stylesheets/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
font-family: 'Courier New', Courier, monospace;
font-family: Helvetica, Arial, sans-serif;
}

a {
Expand All @@ -9,32 +9,41 @@ a {
/* divs */
.container {
height: 100vh;
width: fit-content;
width: 300px;
text-align: center;
text-align: -moz-center;
justify-content: center;
margin: 0 auto;
padding-top: 30vh;
transition: all 0.5s;
position: relative;
}
h1{
margin-bottom:0px;
h1 {
margin-bottom: 0px;
}
.rayid{
margin-top:0px;
font-size:80%;
.rayid {
margin-top: 0px;
font-size: 80%;
}
.submitting {
display:none;
display: none;
}
.success {
display:none;
display: none;
}
.failed {
display:none;
display: none;
}
.w30{
width:30px;
table{
padding-left:20px;
padding-right:20px;
}
.w-full {
text-align:left;
width: 100%;
}
.w30 {
width: 30px;
}
.blink {
animation: blinker 1s linear infinite;
Expand Down
Binary file modified screenshot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions views/pow.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ html
script(src='/javascripts/bundle.min.js')
body
.container
h1 PoW Shield
img(src='/logo.png' width='300px')
p.rayid Ray ID: #{prefix}-#{difficulty}
table
tr.calculating
td Calculating Nonce
td.w-full Calculating Nonce
td.w30.blink ...
tr.submitting
td Submitting Result
td.w-full Submitting Result
td.blink ...
tr.success
td Redirecting
td.w-full Redirecting
td.blink ...
tr.failed
td Failed, Retrying
td.w-full Failed, Retrying
td.blink ...
script(src='/javascripts/main.min.js')
script.
Expand Down

0 comments on commit b4de7a0

Please sign in to comment.