nova-web/web/static/css/home.sass

102 lines
2.2 KiB
Sass
Raw Permalink Normal View History

2023-07-21 23:50:17 +02:00
@import '_vars'
header
max-width: $main-width
margin: 0 auto
font-size: 40px
2023-09-08 22:13:34 +02:00
margin-bottom: 15rem
2023-07-21 23:50:17 +02:00
2023-07-23 02:07:22 +02:00
h1
line-height: 4rem
div.featured__facts
2023-09-22 01:00:00 +02:00
padding: 1.5rem
2023-09-08 22:13:34 +02:00
margin-block: 2rem
display: flex
vertical-align: middle
2023-09-08 22:17:14 +02:00
transition: all 200ms
2023-09-08 22:13:34 +02:00
&:hover
2023-09-11 14:05:12 +02:00
scale: 1.025
2023-09-08 22:13:34 +02:00
filter: brightness(1.1) saturate(1.1)
box-shadow: 0 0 30px $primary-glow
img, svg
width: 50px
2023-09-11 14:05:12 +02:00
height: 50px
2023-09-08 22:13:34 +02:00
object-fit: cover
h2
vertical-align: middle
2023-09-08 22:17:14 +02:00
margin-block: auto
2023-09-08 22:13:34 +02:00
margin-left: 1rem
2023-09-11 14:05:12 +02:00
font-size: 1.5rem
2023-09-08 22:13:34 +02:00
span
color: $primary-light
2023-08-29 21:02:50 +02:00
div.user-quotes
2023-09-08 22:13:34 +02:00
// display: grid
// grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))
// grid-gap: 2rem
2023-08-29 21:02:50 +02:00
div.user-quote__field
2023-09-22 01:00:00 +02:00
padding: 1.5rem
cursor: pointer
2023-09-08 22:13:34 +02:00
margin-block: 2rem
2023-08-29 21:02:50 +02:00
background: $primary-soft
2023-09-08 22:13:34 +02:00
border: 2px solid $primary-glow
2023-08-29 21:02:50 +02:00
border-radius: $edge
position: relative
transition: all 200ms
box-shadow: 0 0 30px transparent
min-height: 200px
&:hover
2023-09-11 14:05:12 +02:00
scale: 1.025
2023-08-29 21:02:50 +02:00
filter: brightness(1.1) saturate(1.1)
box-shadow: 0 0 30px $primary-glow
&::before
font-family: 'Times New Roman', Times, serif
content: '\201c'
font-size: 150px
color: $primary-soft
position: absolute
bottom: -1rem
left: 1rem
// show at the bottom left
transform: rotate(180deg)
img
cursor: pointer
width: 100px
height: 100px
border-radius: 50%
border: 3px solid $primary-glow
position: absolute
top: 1rem
right: 1rem
2023-09-08 22:13:34 +02:00
object-fit: scale-down
2023-08-29 21:02:50 +02:00
span.user-quote__username
font-size: 1rem
font-weight: 600
color: $primary-light
2023-08-29 21:02:50 +02:00
p
margin-block: 0
font-size: 1.5rem
padding-right: 7rem
2023-07-21 23:50:17 +02:00
@media (max-width: 800px)
header
font-size: 26px
h1
line-height: 3rem
2023-07-25 03:38:53 +02:00
h3
font-size: 28px