.elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated
padding: 0
+.elementor-column-gap-wide > .elementor-row > .elementor-column > .elementor-element-populated
+ +below(450px)
+ padding-left: 0
+ padding-right: 0
+
.arrow-link
display: inline-block
}
// Prevent vw / % units from getting too small
- +below(750px) {
+ +below(700px) {
// Only do this if we are dealing with a percentage or vw unit
if (unit(value) is '%' || unit(value) is 'vw') {
- $min = 750px * unit(value / 100, '') // Convert percentage to a decimal
+ $min = 700px * unit(value / 100, '') // Convert percentage to a decimal
{property}: $min
}
}
+above($content-max-width)
width: s('calc(100% + %s)', $content-max-width * 0.05) // 5vw cap for large screens
+ +below($breakpoint-columns)
+ width: 100%
+
&-left
.elementor-widget-container
transform: translateX(-5vw)
+below('large')
font-size: $font-size.large
- //&:after
- // content: ''
- // display: block
- // margin: 0.9em auto 0
- // width: 1.88em
- // height: 3px
- // background-color: currentColor
+ +below(600px)
+ white-space: normal
+ font-size: 30px
display: none
line-height: 1
padding-bottom: 0
- margin-left: 1.5em
+ margin-left: 1.7em
+ z-index: 2
&:hover
.menu-icon
horizontal-spacing(5vw)
box-sizing: content-box // So padding doesn't influence max-width
+ +below(450px)
+ horizontal-spacing(2.5vw)
+
//--- Reversed layout
// Handle column swapping when layout reversed toggle is set
.layout-reversed
text-align: center
border-radius: 4px
+ +below($breakpoint-columns)
+ border-radius: 0
+
// Make a circle within the square wrapper
.feature-block-circle &
+above($breakpoint-circles)
+below(1200px)
font-size: $font-size.extra-large
+ +below(600px)
+ font-size: 45px
&-subtitle-wrapper
position: absolute
- top: 0.93em // This moves the text down the height of ~1 character from the title
- left: 0
-
- +below(1000px)
- top: -0.2em
- horizontal-spacing(7.5vw)
+ left: 3%
+ //top: 0.93em // This moves the text down the height of ~1 character from the title
+ top: 0.2em
+ transform: rotate(-90deg) scaleX(-1)
+ transform-origin: top left
&-subtitle
- writing-mode: vertical-lr
- transform: rotate(180deg)
- text-orientation: sideways
margin: 0
- transform-origin: top right
- border-left: 2px solid
- padding-left: 0.25em
+ transform: scaleX(-1) // Reflection transform to offset the one on the parent
+ border-bottom: 2px solid
+ padding-bottom: 0.25em
text-transform: uppercase
font-size: $font-size.small fixed
color: $colors.orange
- +below(1000px)
- writing-mode: unset
- transform: none
- text-orientation: unset
- border-left: none
- border-bottom: 2px solid
-
&-title
// Use the font size from the parent, which is also used to help with positioning
&-background
width: 100%
- height: 120% // Give us some extra height to pan up and down
+ height: 100%
background-color: #333 // Dark default colour to show before image loads
background-position: center
background-size: cover
- //animation-name: kenburns
- //animation-direction: reverse
- //animation-timing-function: ease-in-out
- //animation-iteration-count: 1
- //animation-duration: 20s
- // Animation adds unnecessary load to mobile devices for minimal visual result so we disable it
- +below($breakpoint-hero)
- animation: none
- height: 100%
+ +below(680px)
+ &:before
+ content: ''
+ position: absolute
+ top: 0
+ right: 0
+ bottom: 0
+ left: 0
+ background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7) 40%, transparent)
&-content
+below(1100px)
white-space: normal
+ +below(450px)
+ font-size: 20px
width: 100%
box-sizing: content-box // So padding doesn't influence max-width
- // When in a "default" section layout, add some padding
- //.layout-default &
- // constrain(padding-left, 7.5vw)
+ +below(450px)
+ horizontal-spacing(2.5vw)
.text-block
@section('content')
@php
- // Fetch content from page named 'erreur-404'
+ // Fetch content from page named 'error-404'
// ToDo: make this more robust
- $post = get_page_by_path('erreur-404');
+ $post = get_page_by_path('error-404');
if ($post) {
echo \Elementor\Plugin::instance()->frontend->get_builder_content_for_display($post->ID);