105 lines
1.7 KiB
Sass
105 lines
1.7 KiB
Sass
@import "../../themes/hugo-theme-lowtech/assets/styles/main"
|
|
|
|
// Couleur
|
|
$color-initial: #fff
|
|
$color-primary: #1d70b7
|
|
$color-secondary: #f29100
|
|
$color-tertiary: #f4f5f6
|
|
$color-quaternary: #d1d1d1
|
|
$color-quinary: #e1e1e1
|
|
|
|
@import "./header"
|
|
@import "./nav"
|
|
@import "./footer"
|
|
@import "./actu"
|
|
|
|
body
|
|
margin: 0
|
|
font-family: $font-family-serif2
|
|
font-size: 18px
|
|
color: hsla(0,0%,0%,0.8)
|
|
|
|
h1
|
|
font-size: 2.5rem
|
|
text-align: center
|
|
margin: 3rem 0
|
|
|
|
h2
|
|
font-size: 2rem
|
|
margin-top: 4rem
|
|
|
|
h1, h2, h3
|
|
font-family: $font-family-sans-serif7
|
|
color: $color-primary
|
|
|
|
hr
|
|
border: 0
|
|
height: 2px
|
|
margin: 2rem 0
|
|
background-color: rgba($color-primary, 0.25)
|
|
|
|
.txt-center
|
|
text-align: center
|
|
|
|
img
|
|
display: block
|
|
|
|
blockquote
|
|
border-left: 4px solid $color-primary
|
|
font-style: italic
|
|
margin-left: 0
|
|
padding-left: 2rem
|
|
|
|
a
|
|
color: $color-primary
|
|
text-decoration-color: $color-primary
|
|
|
|
@mixin container
|
|
max-width: $size-lg
|
|
margin: 0 auto
|
|
padding: 0 1rem
|
|
|
|
.container
|
|
@include container
|
|
|
|
img
|
|
max-width: 100%
|
|
|
|
&.small
|
|
max-width: 680px
|
|
line-height: 1.50
|
|
|
|
h2
|
|
line-height: 1.1
|
|
|
|
.cfa
|
|
text-align: center
|
|
padding: 2rem
|
|
|
|
a
|
|
padding: 1rem
|
|
background-color: $color-primary
|
|
color: white
|
|
text-decoration: none
|
|
|
|
&:hover
|
|
background: $color-secondary
|
|
|
|
// NAV
|
|
|
|
// #content
|
|
// https://freefrontend.com/css-link-styles/
|
|
// https://codepen.io/markmead/pen/drORWG
|
|
// a
|
|
// position: relative
|
|
|
|
// &::after
|
|
// content: ""
|
|
// background: rgba($color-primary, 0.25)
|
|
// position: absolute
|
|
// left: 6px
|
|
// bottom: -6px
|
|
// width: calc(100% - 8px)
|
|
// height: calc(100% - 8px)
|
|
// z-index: -1
|