Switch to Manrope font

Fix inconsistent buttons
Removed default header background
Added info button with version and ❤️
Random fixes
This commit is contained in:
Michał Gdula 2023-03-23 15:47:35 +00:00
parent ad8da1ae4e
commit 4e7301b9de
15 changed files with 169 additions and 64 deletions

View file

@ -1,11 +1,11 @@
.banner
width: 100%
height: 40vh
height: 50vh
position: relative
background-color: $black
color: $black
color: $white
overflow: hidden
transition: opacity 0.3s ease-in-out
@ -18,7 +18,7 @@
width: 100%
height: 100%
background-color: $black
background-color: $black2
object-fit: cover
object-position: center center
@ -46,7 +46,6 @@
display: flex
flex-direction: column
justify-content: flex-end
gap: 0.5rem
z-index: +2
@ -55,22 +54,19 @@
padding: 0
font-size: 6.9rem
font-weight: 700
line-height: 1
font-weight: 800
text-align: left
color: $black
color: $primary
p
margin: 0
padding: 0
font-size: 1rem
font-weight: 600
font-weight: 500
line-height: 1
text-align: left
color: $black
text-align: left
@media (max-width: $breakpoint)
.banner

View file

@ -26,7 +26,7 @@
font-weight: 600
text-align: center
background-color: transparent
background-color: rgba($white, 0.1)
color: $white
border: none
border-radius: $rad-inner
@ -36,10 +36,10 @@
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out
&:hover
background-color: $black
background-color: rgba($white, 0.3)
&:focus-visible
outline: 2px solid rgba($black, 0.5)
outline: 2px solid rgba($white, 0.5)
&.primary
@include btn-block($primary)
@ -152,6 +152,10 @@
opacity: 0
cursor: pointer
&:hover
background-color: rgba($white, 0.2)
color: $white
&.active
background-color: rgba($primary, 0.2)
color: $primary

View file

@ -0,0 +1,41 @@
.info-button
margin: 0
padding: 0
width: auto
height: auto
position: fixed
bottom: 0.75rem
right: -3rem
display: flex
justify-content: center
align-items: center
background-color: $black2
color: $white
border-radius: $rad
border: none
opacity: 0
z-index: 20
cursor: pointer
transition: all 0.2s cubic-bezier(.86, 0, .07, 1)
&:hover
color: $info
svg
margin: 0.5rem
width: 1.25rem
height: 1.25rem
&.show
right: 0.75rem
opacity: 1
@media (max-width: $breakpoint)
.info-button
bottom: 4.25rem

View file

@ -1,33 +1,37 @@
.top-of-page
margin: 0
padding: 0.55rem
padding: 0
width: 2.5rem
height: 2.5rem
width: auto
height: auto
position: fixed
bottom: 0.75rem
right: -3rem
display: flex // hidden
display: flex
justify-content: center
align-items: center
border-radius: 50%
background-color: $black
background-color: $black2
color: $white
opacity: 0 // hidden
z-index: 2
border-radius: $rad
border: none
opacity: 0
z-index: 20
cursor: pointer
transition: all 0.2s cubic-bezier(.86, 0, .07, 1)
&:hover
background-color: $black
color: $primary
svg
margin: 0.5rem
width: 1.25rem
height: 1.25rem
&.show
right: 0.75rem
opacity: 1

View file

@ -70,9 +70,8 @@
top: 0
font-size: 2.25rem
font-weight: 600
font-weight: 700
text-align: center
line-height: 1
color: $white
background-color: $black
@ -85,10 +84,30 @@
font-size: 1rem
font-weight: 500
text-align: center
line-height: 1
color: $white
svg
width: 1rem
height: 1rem
display: inline-block
vertical-align: middle
a, .link
font-size: 1rem
font-weight: 500
text-align: center
line-height: 1
color: $primary
cursor: pointer
text-decoration: none
&:hover
text-decoration: underline
img
margin: auto
padding: 0
@ -133,18 +152,10 @@
.pop-up-wrapper
transform: translate(-50%, 50%) scale(1)
.pop-up__link
color: $primary
text-decoration: none
&:hover
text-decoration: underline
cursor: pointer
@media (max-width: $breakpoint)
.pop-up
.pop-up-wrapper
width: calc(100% - 1rem)
width: calc(100% - 0.75rem)
max-height: 95vh
.pop-up-content

View file

@ -18,10 +18,10 @@
margin: 0
padding: 0
font-size: 1.5rem
font-weight: 600
font-size: 1.75rem
font-weight: 700
color: $white
color: $primary
p
margin: 0