Skip to content
Snippets Groups Projects
Commit 4a843aa3 authored by alexisben's avatar alexisben
Browse files

Some stuff

parent 1ebab111
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ $link-color: $main-color !default
$body-font-family: "Georgia", serif !default
$heading-font-family: "Helvetica", "Arial", sans-serif !default
$font-size-base: 1rem
// $font-size-base: 1rem
$line-height-base: 1.4
// Fonts sizes
......@@ -41,7 +41,7 @@ $h5-weight: $heading-font-weight !default
$h6-weight: $heading-font-weight !default
// Breadcrumb
$breadcrumb-color: white !default
$breadcrumb-color: invert($main-color) !default
// Spacing
$spacing1: 24px !default
......@@ -56,15 +56,16 @@ $grid-max-width: 1980px
// Z-index
$zindex-nav-accessibility: 1010 !default
$zindex-stretched-link: 2 !default
// Header
$header-color: $main-color !default
$header-hover-color: rgba($main-color, 0.7) !default // TODO : Réflechir à plus élégant / générique
$header-hover-color: rgba($header-color, 0.7) !default // TODO : Réflechir à plus élégant / générique
$header-background-color: $main-background-color !default
$header-sticky-enabled: true
$header-sticky-transition: 0.3s
$header-height: 74px
$header-height-md: 74px
$header-sticky-enabled: true !default
$header-sticky-transition: 0.3s !default
$header-height: 74px !default
$header-height-md: 74px !default
// Footer
$footer-color: $main-color !default
......@@ -73,8 +74,8 @@ $footer-background-color: darken($main-background-color, 2.5) !default
// Hero
$hero-height: 375px !default
$hero-height-md: 450px !default
$hero-color: white !default
$hero-background-color: black !default
$hero-color: invert($main-color) !default
$hero-background-color: invert($main-background-color) !default
// Icons
$icons: ()
......
......@@ -8,11 +8,6 @@
$remSize: $size / 16 / 2
@return #{$remSize}rem
@function col($nb, $base: 12)
$nb: $nb/$base * 12
$nbCol: calc( (100% + #{$grid-gutter}) / 12 * #{$nb} )
@return #{$nbCol}
@mixin in-page-with-aside
aside ~ .blocks &
@content
......@@ -80,6 +75,11 @@
grid-gap: 0 $grid-gutter
grid-template-columns: repeat($cols, 1fr)
@function col($nb, $base: 12)
$nb: $nb/$base * 12
$nbCol: calc( (100% + #{$grid-gutter}) / 12 * #{$nb} )
@return #{$nbCol}
@mixin stretched-link($pseudo-element: after)
&::#{$pseudo-element}
position: absolute
......@@ -87,5 +87,6 @@
right: 0
bottom: 0
left: 0
z-index: 2
z-index: $zindex-stretched-link
content: ""
......@@ -439,3 +439,21 @@ Syntaxe de transformation type Shopify (à revoir)
- `https://demo.osuny.org/media/media-id/mon_image_500x500.webp`
- `https://demo.osuny.org/media/media-id/mon_image_500x500_crop_center.webp`
## Intégration
### CSS Grid Overlay
```
[
{
"columns": 12,
"from": 840,
"gutters": 30,
"margins": 60,
"maxWidth": 1980,
"to": 7680
}
]
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment