Adjust formatting for mobile devices (#117)

pull/118/head
Alex Kern 6 years ago committed by GitHub
parent 9b6d999732
commit 65af7e3997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,7 +62,7 @@ export default class App extends React.Component {
</div> </div>
<footer className="footer"> <footer className="footer">
<p> <p>
<strong>Like FilePizza?</strong> Support it&apos;s development with a <a href="https://commerce.coinbase.com/checkout/247b6ffe-fb4e-47a8-9a76-e6b7ef83ea22">donation in crypto</a>. <strong>Like FilePizza?</strong> Support it&apos;s development! <a href="https://commerce.coinbase.com/checkout/247b6ffe-fb4e-47a8-9a76-e6b7ef83ea22" className="donate-button">donate</a>
</p> </p>
<p className="byline"> <p className="byline">

@ -3,10 +3,10 @@
beige = #F9F2E7 beige = #F9F2E7
dark-gray = #333 dark-gray = #333
gray = #777 gray = #777
green = #8FBE00 green = #3F6B29
light-blue = #40C0CB light-blue = #40C0CB
light-gray = #EEE light-gray = #EEE
light-green = #AEE239 light-green = #4BB74C
light-red = #E23430 light-red = #E23430
light-yellow = #FFE476 light-yellow = #FFE476
red = #B11C17 red = #B11C17
@ -166,7 +166,7 @@ small {
.spinner-image { .spinner-image {
display: block; display: block;
height: 150px; width: 40%;
} }
.spinner-name { .spinner-name {
@ -292,9 +292,9 @@ small {
.download-button { .download-button {
display: block display: block
box-shadow: inset 0 1px 1px light-green box-shadow: inset 0 1px 1px green
padding: 20px padding: 20px
background: green background: light-green
border: none border: none
color: white color: white
width: calc(100vw - 40px) width: calc(100vw - 40px)
@ -307,19 +307,19 @@ small {
text-transform: uppercase text-transform: uppercase
&:hover, &:focus { &:hover, &:focus {
box-shadow: inset 0 1px 1px green box-shadow: inset 0 1px 1px lighten(green, 10%)
background: light-green background: lighten(light-green, 10%)
} }
&:active { &:active {
background: green background: light-green
} }
} }
.progress-bar { .progress-bar {
height: 60px height: 60px
overflow: hidden overflow: hidden
background: green background: light-green
transition: all 1s ease transition: all 1s ease
width: calc(100vw - 40px) width: calc(100vw - 40px)
max-width: 800px max-width: 800px
@ -329,8 +329,8 @@ small {
.progress-bar-inner { .progress-bar-inner {
float: left float: left
height: 100% height: 100%
background: green background: light-green
box-shadow: inset 0 1px 1px light-green box-shadow: inset 0 1px 1px green
overflow: hidden overflow: hidden
border-radius: 4px border-radius: 4px
} }
@ -400,20 +400,20 @@ small {
} }
.donate-button { .donate-button {
border: 2px solid red border: 2px solid green
border-radius: 4px border-radius: 4px
padding: 2px 5px padding: 2px 5px
margin-right: 10px margin-right: 10px
background: yellow background: light-green
display: inline-block display: inline-block
cursor: pointer cursor: pointer
transition: all 0.25s ease transition: all 0.25s ease
font: 12px/1 "Quicksand", sans-serif font: 12px/1 "Quicksand", sans-serif
color: white color: white
text-decoration: none
&:hover, &:active { &:hover, &:active {
border-color: yellow border-color: light-green
background: white color: white
color: red
} }
} }

Loading…
Cancel
Save