st-marcel-d-urfe.fr/assets/styles/main.sass

123 lines
2.2 KiB
Sass
Raw Normal View History

2020-09-02 16:54:03 +02:00
@import "./variables"
2020-10-21 16:23:05 +02:00
// @import "./reset"
// @import "./html"
// @import "./menu"
@import "./spectre.css/spectre"
// @import "./header"
@import "../fonts/source-sans-pro"
2020-09-02 16:54:03 +02:00
@import "./header"
2020-10-21 16:23:05 +02:00
@import "./index"
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
/* Make images easier to work with */
img
max-width: 100%
display: block
&.round
border-radius: 100%
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
.maire
img
margin: 2rem auto
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
.person
2020-09-02 16:54:03 +02:00
text-align: center
2020-10-21 16:23:05 +02:00
width: 250px
margin: 0 auto 2rem
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
body
font-family: 'Source Sans Pro', sans-serif
background-color: #f7f4f1
2020-07-02 11:01:36 +02:00
2020-10-21 16:23:05 +02:00
.card
border: 0
box-shadow: 0 .25rem 1rem rgba(48,55,66,.15)
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
.hero.hero-lg
padding: 12rem 0
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
h1
font-size: 3rem
font-weight: 500
line-height: 1
text-align: center
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
.cover
width: 100%
height: 40vh
object-fit: cover
z-index: 2
position: relative
.contenu
background: white
margin: 2rem auto
padding: 2rem
z-index: 3
position: relative
&.contenu-image
margin-top: -4rem
.btn.jaune
color: $jaune
&:hover, &.active, &.focus
color: darken($jaune, 10%)
&.btn-primary
background-color: $jaune
border-color: $jaune
color: black
&:hover, &.active, &.focus
background-color: darken($jaune, 10%)
border-color: $jaune
.btn.rouge
color: $rouge
&:hover, &.active, &.focus
color: darken($rouge, 10%)
&.btn-primary
background-color: $rouge
border-color: $rouge
color: white
&:hover, &.active, &.focus
background-color: darken($rouge, 10%)
border-color: $rouge
.btn.vert
color: $vert
&:hover
color: darken($vert, 10%)
&:active
color: darken($vert, 10%)
&:focus
color: darken($vert, 10%)
&.btn-primary
background-color: $vert
border-color: $vert
color: white
&:hover, &.active, &.focus
background-color: darken($vert, 10%)
border-color: $vert
.btn.bleu
color: $bleu
&:hover
&.active
&.focus
color: darken($bleu, 10%)
&.btn-primary
background-color: $bleu
border-color: $bleu
color: white
&:hover, &.active, &.focus
background-color: darken($bleu, 10%)
border-color: $bleu
2020-09-02 16:54:03 +02:00
.footer
2020-10-21 16:23:05 +02:00
margin: 2rem
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
.card
margin: 0 2rem
2020-09-02 16:54:03 +02:00
2020-10-21 16:23:05 +02:00
button
overflow-wrap: anywhere
word-break: break-all
white-space: normal
user-select: inherit