Skip to content

Commit

Permalink
Improve style
Browse files Browse the repository at this point in the history
  • Loading branch information
sebousan committed Dec 14, 2023
1 parent cd2622d commit d105059
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
3 changes: 2 additions & 1 deletion assets/sass/abstracts/_variables.sass
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ $btn-padding-x: 1.25rem
// Font
$font-family-sans-serif: "Hanken Grotesk", sans-serif
$font-weight-bold: 600
$headings-line-height: 1.1
$headings-margin-bottom: 1rem
$h1-font-size: 2.5rem
$h2-font-size: 2rem
Expand Down Expand Up @@ -88,7 +89,7 @@ $spacer: 1.25rem
$header-height: 80px
$header-background-color: white
$header-color: $black
$footer-background-color: $gray-100
$footer-background-color: #E7ECFF
$footer-color: $secondary
$global-spacing: 5rem
$global-spacing-double: 10rem
2 changes: 2 additions & 0 deletions assets/sass/hugolify-theme-3.sass
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// Theme 3
@import "theme/abstracts/functions"
@import "theme/base/details"
@import "theme/base/img"
@import "theme/base/typography"
@import "theme/components/blocks/block"
@import "theme/components/blocks/cta"
@import "theme/components/blocks/editorial"
@import "theme/components/blocks/figure"
@import "theme/components/breadcrumb"
@import "theme/components/card"
@import "theme/components/hero"
@import "theme/components/list-tags"
@import "theme/components/pagination"
Expand Down
3 changes: 3 additions & 0 deletions assets/sass/theme/base/_img.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
img
@include media-breakpoint-up(md)
border-radius: $border-radius
4 changes: 4 additions & 0 deletions assets/sass/theme/components/_card.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.card:not(aside.person)
@include media-breakpoint-up(md)
.media
border-radius: $border-radius !important
4 changes: 2 additions & 2 deletions assets/sass/theme/components/blocks/_cta.sass
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.block-cta
&.block-bg
background: $dark
background: rgba($footer-background-color,.5)
border: 0
color: $white
color: $footer-color
overflow: hidden
position: relative
.btn
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/theme/layout/_header.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header[role=banner]
box-shadow: 0 0 10px rgba(0,0,0,.1)
// box-shadow: 0 0 10px rgba(0,0,0,.1)
.nav-primary
@include media-breakpoint-down(lg)
--bs-nav-link-font-size: 1.5rem
4 changes: 0 additions & 4 deletions assets/sass/theme/pages/_expertise.sass
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.page-expertises
.featured-image
img
@include media-breakpoint-up(md)
border-radius: $border-radius-xl
.expertise-persons
@include shape
4 changes: 0 additions & 4 deletions assets/sass/theme/pages/_post.sass
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
.page-posts
.featured-image
img
@include media-breakpoint-up(md)
border-radius: $border-radius-xl
.content-body
> blockquote
border-left: 4px solid $primary
Expand Down

0 comments on commit d105059

Please sign in to comment.