Clean up the stylesheet

This commit is contained in:
Evert Prants 2018-02-07 19:36:21 +02:00
parent 5a706d2426
commit 14137e84fa
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
2 changed files with 3 additions and 242 deletions

View File

@ -25,74 +25,6 @@ body
cursor: pointer cursor: pointer
display: inline-block display: inline-block
.mobview
display: none !important
.navigator
position: relative
padding: 0 50px
transition: background-color 0.1s linear
background-color: rgb(0, 219, 247)
z-index: 5
height: 68px
&.fix
top: 0
left: 0
right: 0
position: fixed
background-color: rgba(0, 219, 247, 0.67)
#navlogo
float: left
&.hidden
display: none
ul
padding: 0
margin: 0
display: inline-block
list-style-type: none
li
font-size: 30px
display: inline-block
height: 68px
line-height: 2.2
a
text-decoration: none
padding: 20px
color: #007cde
font-weight: bold
text-transform: uppercase
font-size: 25px
transition: background-color 0.1s linear
&:hover
background-color: rgba(255, 255, 255, 0.25)
.showButton
margin: 0
padding: 20px
display: none
float: right
font-size: 150%
position: relative
cursor: pointer
color: green
.list
display: flex
flex-direction: row
.floating
margin-left: auto
input[type=checkbox]
display: none
&:checked ~ .list
max-height: 500px
.carousel .carousel
margin-bottom: 4rem margin-bottom: 4rem
@ -132,86 +64,16 @@ body
margin-bottom: 1.25rem margin-bottom: 1.25rem
color: #999 color: #999
.divboxes
text-align: center
.divbox
width: 300px
display: inline-block
margin: 20px
vertical-align: text-top
.head
display: block
font-size: 30px
.fa
color: white
height: 32px
width: 32px
padding: 10px
border-radius: 100px
margin-right: 15px
.fa-lock
background-color: orange
.fa-github
background-color: green
.wrapper
overflow: hidden
min-height: 100vh
width: 100%
.document
overflow: hidden
min-height: 100vh
padding: 50px
background-color: #fff
.tos
display: inline-block
width: 60%
font-size: 120%
.g-recaptcha .g-recaptcha
margin-top: 10px margin-top: 10px
code code
white-space: pre white-space: pre
.button .button
display: inline-block display: inline-block
margin-right: 5px margin-right: 5px
.boxcont
.box
padding: 20px
margin: auto
margin-top: 5%
background-color: #fff
box-shadow: 5px 5px 15px #868686
border: 1px solid #ddd
margin-bottom: 10%
h1:first-child, h3:first-child
margin-top: 0
.left, .right
display: inline-block
width: 50%
.left
border-right: 1px solid #ddd
.right
float: right
width: 46%
&#login
max-width: 700px
&#settings
max-width: 700px
min-height: 380px
&#totpcheck
max-width: 400px
&#donate
max-width: 400px
&#error
width: 200px
.check label .check label
display: inline-block display: inline-block
margin-right: 5px margin-right: 5px
@ -412,19 +274,6 @@ span.load
vertical-align: super vertical-align: super
margin-left: 10px margin-left: 10px
.newsfeed
.prvarticle
margin-bottom: 10px
.title
font-size: 200%
display: block
font-weight: bold
.timestamp
font-size: 80%
color: #565656
.prvcontent
margin: 10px 0
.content .content
hr hr
border-color: #ffffff border-color: #ffffff
@ -522,30 +371,6 @@ span.load
color: #fff color: #fff
background-color: #d0d0d0 background-color: #d0d0d0
select
width: 80px
background-color: #f5f5f5
border: 1px solid #c1c1c1
padding: 8px
vertical-align: top
margin-left: 5px
border-radius: 5px
.aligned-form
.cell
margin-top: 10px
label
width: 120px
float: left
margin: 0
padding: 8px 0
input[type="checkbox"]
margin-top: 10px
span
padding: 10px
display: inline-block
vertical-align: top
noscript noscript
position: fixed position: fixed
display: block display: block
@ -560,71 +385,7 @@ noscript
font-style: italic font-style: italic
color: #7d7d7d color: #7d7d7d
display: block display: block
@media all and (max-width: 800px)
.navigator
padding: 0 10px
.showButton
display: inline-block !important
.menu
.list
display: block
position: absolute
top: 68px
left: 0
right: 0
background-color: rgba(0, 188, 212, 0.72)
transition: max-height 0.1s linear
max-height: 0
overflow: hidden
ul, li, li a
display: block
li a
padding: 6px 20px
color: #ffffff
text-transform: none
.floating
border-top: 2px solid #00a1b5
#navlogo
display: inline-block !important
.banner
display: none
.logo
font-size: 10vw
.document
padding: 5px
.tos
width: auto
font-size: 4vw
.divbox
font-size: 80%
.head
font-size: 120%
.fa
width: 15px
height: 15px
section#home
h1
font-size: 150%
margin-top: 0
p
font-size: 100%
.box
.left, .right
float: initial !important
display: block !important
border: 0 !important
width: auto !important
margin: auto
.dialog
width: 100vw !important
min-width: 100vw !important
.btn-social .btn-social
width: 28px width: 28px
height: 28px height: 28px

View File

@ -22,9 +22,9 @@ block body
input(type="hidden" name="notify_url" value=ipn_url) input(type="hidden" name="notify_url" value=ipn_url)
label(for="amount") Amount label(for="amount") Amount
.row.form-group .row.form-group
.col-10 .col-md-10
input.form-control(type="number", name="amount" value="1.00") input.form-control(type="number", name="amount" value="1.00")
.col .col-md
select.form-control(name="currency_code") select.form-control(name="currency_code")
option(value="EUR") EUR option(value="EUR") EUR
option(value="USD") USD option(value="USD") USD