diff --git a/config/sync/core.entity_form_display.node.partie.default.yml b/config/sync/core.entity_form_display.node.partie.default.yml index e4fc1f7..a39b902 100644 --- a/config/sync/core.entity_form_display.node.partie.default.yml +++ b/config/sync/core.entity_form_display.node.partie.default.yml @@ -22,8 +22,8 @@ third_party_settings: children: - group_corps - group_principes_reflexion_en_pra - - group_ressources - group_pour_aller_plus_loin + - group_ressources label: Tabs region: content parent_name: '' @@ -95,7 +95,7 @@ third_party_settings: label: Ressources region: hidden parent_name: group_tabs - weight: 22 + weight: 23 format_type: tab format_settings: classes: '' @@ -108,10 +108,10 @@ third_party_settings: group_pour_aller_plus_loin: children: - field_pour_aller_plus_loin - label: 'Pour aller plus loin' + label: 'Bulle conceptuelle' region: hidden parent_name: group_tabs - weight: 23 + weight: 22 format_type: tab format_settings: classes: '' diff --git a/config/sync/core.entity_view_display.paragraph.complement.default.yml b/config/sync/core.entity_view_display.paragraph.complement.default.yml index fc8f43d..46799e0 100644 --- a/config/sync/core.entity_view_display.paragraph.complement.default.yml +++ b/config/sync/core.entity_view_display.paragraph.complement.default.yml @@ -23,14 +23,14 @@ content: weight: 1 region: content field_liens: - type: link - label: visually_hidden + type: link_separate + label: above settings: trim_length: 80 url_only: false url_plain: false - rel: nofollow - target: '0' + rel: '0' + target: _blank third_party_settings: { } weight: 2 region: content diff --git a/config/sync/field.field.node.partie.field_pour_aller_plus_loin.yml b/config/sync/field.field.node.partie.field_pour_aller_plus_loin.yml index 03f2446..472b4a4 100644 --- a/config/sync/field.field.node.partie.field_pour_aller_plus_loin.yml +++ b/config/sync/field.field.node.partie.field_pour_aller_plus_loin.yml @@ -12,7 +12,7 @@ id: node.partie.field_pour_aller_plus_loin field_name: field_pour_aller_plus_loin entity_type: node bundle: partie -label: 'Pour aller plus loin' +label: 'Bulle conceptuelle' description: '' required: false translatable: false diff --git a/config/sync/field.field.paragraph.complement.field_liens.yml b/config/sync/field.field.paragraph.complement.field_liens.yml index 241283e..2d1da30 100644 --- a/config/sync/field.field.paragraph.complement.field_liens.yml +++ b/config/sync/field.field.paragraph.complement.field_liens.yml @@ -11,7 +11,7 @@ id: paragraph.complement.field_liens field_name: field_liens entity_type: paragraph bundle: complement -label: Liens +label: 'Pour aller plus loin' description: '' required: false translatable: false diff --git a/web_main/themes/custom/mathallo/assets/dist/main.css b/web_main/themes/custom/mathallo/assets/dist/main.css index 25ff8b7..51eb336 100644 --- a/web_main/themes/custom/mathallo/assets/dist/main.css +++ b/web_main/themes/custom/mathallo/assets/dist/main.css @@ -1 +1 @@ -@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.svg#FredokaSemiExpanded-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.svg#FredokaSemiExpanded-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.svg#Fredoka-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.svg#FredokaCondensed-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.svg#Fredoka-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.svg#FredokaSemiCondensed-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.svg#Fredoka-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.svg#FredokaSemiExpanded-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.svg#FredokaExpanded-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.svg#FredokaSemiExpanded-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.svg#Fredoka-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.svg#FredokaExpanded-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.svg#FredokaCondensed-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.svg#FredokaExpanded-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.svg#FredokaSemiCondensed-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.svg#FredokaCondensed-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.svg#FredokaExpanded-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.svg#FredokaCondensed-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.svg#FredokaSemiCondensed-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.svg#FredokaExpanded-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.svg#FredokaSemiExpanded-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.svg#FredokaSemiCondensed-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.svg#FredokaCondensed-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.svg#Fredoka-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.svg#FredokaSemiCondensed-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.svg#SchibstedGrotesk-BlackItalic) format("svg");font-weight:900;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.svg#SchibstedGrotesk-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.svg#SchibstedGrotesk-ExtraBold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.svg#SchibstedGrotesk-BoldItalic) format("svg");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.svg#SchibstedGrotesk-Black) format("svg");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.svg#SchibstedGrotesk-ExtraBoldItalic) format("svg");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.svg#SchibstedGrotesk-SemiBoldItalic) format("svg");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.svg#SchibstedGrotesk-Italic) format("svg");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.svg#SchibstedGrotesk-MediumItalic) format("svg");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.svg#SchibstedGrotesk-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.svg#SchibstedGrotesk-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.svg#SchibstedGrotesk-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}body{font-family:Schibsted Grotesk;font-weight:400;font-style:normal;color:#0b1e52}a,a:visited{text-decoration:none;color:inherit;transition:color .15s ease-out}body{margin:0}div.layout-container header[role=banner]{padding:.5em;z-index:100;position:fixed;top:0;width:100vw;height:50px}div.layout-container nav[role=breadcrumb]{position:fixed;z-index:90;top:80px;left:15px}div.layout-container main[role=main]{padding:5em 0;overflow-y:scroll}div.layout-container footer[role=contentinfo]{z-index:100;position:fixed;bottom:0;width:100vw}header[role=banner]{background-color:#fff;box-shadow:0 -5px 15px #000}header[role=banner] .header-middle{display:flex;justify-content:space-between;align-items:center;padding:.2em 2em}header[role=banner] #block-mathallo-formulairederecherche form{display:flex;align-items:baseline}header[role=banner] #block-mathallo-identitedusite a{color:#1642bc;text-decoration:none;font-family:Fredoka;font-size:2em;text-transform:uppercase;font-weight:500}header[role=banner] #block-mathallo-identitedusite a:hover{color:#f661e2}header[role=banner] .header-right{height:20px;width:20px;cursor:pointer}header[role=banner] .header-right>div#burger-btn{position:relative;transition-duration:.5s;transition-property:transform;top:8.5px}header[role=banner] .header-right>div#burger-btn,header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{width:20px;height:3px;background-color:#1642bc}header[role=banner] .header-right>div#burger-btn:hover,header[role=banner] .header-right>div#burger-btn:hover:before,header[role=banner] .header-right>div#burger-btn:hover:after{background-color:#f661e2}header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{content:"";position:absolute;left:0}header[role=banner] .header-right>div#burger-btn:before{top:6px}header[role=banner] .header-right>div#burger-btn:after{bottom:6px}header[role=banner] .header-right>div#burger-btn[opened]{transform:rotate(90deg)}header[role=banner] .header-right>div.wrapper{position:absolute;top:50px;left:0;background-color:#000000bf;width:100vw;height:0;overflow:hidden;transition-duration:.5s}header[role=banner] .header-right>div.wrapper[opened]{height:calc(100vh - 50px)}header[role=banner] .header-right>div.wrapper>nav{padding-top:10px;background-color:#fff}header[role=banner] .header-right>div.wrapper>nav>ul{margin:0}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu{padding:1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu ul,header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu li{padding:0;margin:0;list-style:none}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu .wrapper{position:relative}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu label{color:#1642bc;font-weight:600;display:block;font-size:.756em;padding:0 0 .25em;transition:color .25s ease-out;position:absolute;z-index:0}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu label:has(+a:hover){color:#f661e2}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu a{font-size:1.13em;transition:color .15s ease-out;display:block;position:relative;z-index:1;padding-top:1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu a:hover{color:#1642bc}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu li{padding:0 0 1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu li:first-child{padding:.25em 0 1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu>ul{display:flex;flex-direction:row;gap:2em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu>ul>li>ul{margin:.75em 0 0;padding:0 0 0 1em;border-left:2px solid #1642bc}header[role=banner] .header-right>div.wrapper nav#block-mathallo-navigationprincipale{padding:2em 1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-navigationprincipale ul{display:flex;justify-content:flex-end;list-style:none}header[role=banner] .header-right>div.wrapper nav#block-mathallo-navigationprincipale ul li{margin-right:1em;background-color:#1642bc;color:#fff;padding:.5em 1em}nav[role=breadcrumb]{background-color:#fff;box-shadow:0 0 10px #00000040;padding:0}nav[role=breadcrumb] ul{margin:0;padding-left:.5em}nav[role=breadcrumb] ul li{list-style:none}nav[role=breadcrumb] #block-mathallo-contenu-2{padding:.5em 1em}nav[role=breadcrumb] #block-mathallo-contenu-2 ul,nav[role=breadcrumb] #block-mathallo-contenu-2 li{padding:0;margin:0;list-style:none}nav[role=breadcrumb] #block-mathallo-contenu-2 .wrapper{position:relative}nav[role=breadcrumb] #block-mathallo-contenu-2 label{color:#1642bc;font-weight:600;display:block;font-size:.756em;padding:0 0 .25em;transition:color .25s ease-out;position:absolute;z-index:0}nav[role=breadcrumb] #block-mathallo-contenu-2 label:has(+a:hover){color:#f661e2}nav[role=breadcrumb] #block-mathallo-contenu-2 a{font-size:1.13em;transition:color .15s ease-out;display:block;position:relative;z-index:1;padding-top:1em}nav[role=breadcrumb] #block-mathallo-contenu-2 a:hover{color:#1642bc}nav[role=breadcrumb] #block-mathallo-contenu-2 li:not(.in-active-trail){display:none}nav[role=breadcrumb] #block-mathallo-contenu-2 ul,nav[role=breadcrumb] #block-mathallo-contenu-2 li{display:flex;flex-direction:row;align-items:baseline;gap:1em}nav[role=breadcrumb] #block-mathallo-contenu-2 a{font-size:1em}nav[role=breadcrumb] #block-mathallo-contenu-2>ul>li>ul>li{padding-left:1em;border-left:2px solid #1642bc}main[role=main]{position:relative}main[role=main]>div.layout-content{position:relative}main[role=main]>div.layout-content div#parallax-bg{position:absolute;z-index:-1;top:0;left:0;margin-top:-40vh;width:100vw;height:400%;background-image:url(/themes/custom/mathallo/assets/img/grid_0.svg);background-repeat:repeat;background-position:center}main[role=main]>div.layout-content>.wrapper{position:relative;padding-bottom:100vh}main[role=main]>div.layout-content nav.prev-chapitre,main[role=main]>div.layout-content nav.next-chapitre{position:absolute;padding:.5em 1em}main[role=main]>div.layout-content nav.prev-chapitre ul,main[role=main]>div.layout-content nav.prev-chapitre li,main[role=main]>div.layout-content nav.next-chapitre ul,main[role=main]>div.layout-content nav.next-chapitre li{padding:0;margin:0;list-style:none}main[role=main]>div.layout-content nav.prev-chapitre label,main[role=main]>div.layout-content nav.next-chapitre label{color:#1642bc;font-weight:600;display:block;font-size:.756em;padding:0 0 .25em;transition:color .25s ease-out;position:absolute;z-index:0}main[role=main]>div.layout-content nav.prev-chapitre label:has(+a:hover),main[role=main]>div.layout-content nav.next-chapitre label:has(+a:hover){color:#f661e2}main[role=main]>div.layout-content nav.prev-chapitre a,main[role=main]>div.layout-content nav.next-chapitre a{font-size:1.13em;transition:color .15s ease-out;display:block;position:relative;z-index:1;padding-top:1em}main[role=main]>div.layout-content nav.prev-chapitre a:hover,main[role=main]>div.layout-content nav.next-chapitre a:hover{color:#1642bc}main[role=main]>div.layout-content nav.prev-chapitre .wrapper,main[role=main]>div.layout-content nav.next-chapitre .wrapper{position:relative}main[role=main]>div.layout-content nav.prev-chapitre ul,main[role=main]>div.layout-content nav.next-chapitre ul{margin:0;padding-left:.5em}main[role=main]>div.layout-content nav.prev-chapitre ul li,main[role=main]>div.layout-content nav.next-chapitre ul li{list-style:none;display:none}main[role=main]>div.layout-content nav.prev-chapitre.prev-chapitre,main[role=main]>div.layout-content nav.next-chapitre.prev-chapitre{top:-10em;left:0}main[role=main]>div.layout-content nav.prev-chapitre.prev-chapitre a:after,main[role=main]>div.layout-content nav.next-chapitre.prev-chapitre a:after{transform:rotate(180deg)}main[role=main]>div.layout-content nav.prev-chapitre.prev-chapitre li:has(+li.in-active-trail),main[role=main]>div.layout-content nav.next-chapitre.prev-chapitre li:has(+li.in-active-trail){display:block}main[role=main]>div.layout-content nav.prev-chapitre.next-chapitre,main[role=main]>div.layout-content nav.next-chapitre.next-chapitre{bottom:500px;right:0}main[role=main]>div.layout-content nav.prev-chapitre.next-chapitre li.in-active-trail+li,main[role=main]>div.layout-content nav.next-chapitre.next-chapitre li.in-active-trail+li{display:block}main[role=main]>div.layout-content nav.prev-chapitre label,main[role=main]>div.layout-content nav.next-chapitre label{background-color:#1642bc;color:#fff;padding:.5em 1em;z-index:2;top:-3em}main[role=main]>div.layout-content nav.prev-chapitre a,main[role=main]>div.layout-content nav.next-chapitre a{display:block;padding:.5em 1em;background-color:#fff;box-shadow:0 0 10px #00000040;border:white 1px solid;transition:border-color .5s}main[role=main]>div.layout-content nav.prev-chapitre a:hover,main[role=main]>div.layout-content nav.next-chapitre a:hover{border-color:#f661e2}main[role=main]>div.layout-content nav.prev-chapitre a:after,main[role=main]>div.layout-content nav.next-chapitre a:after{content:"";display:block;width:30px;height:30px;border-radius:15px;background-repeat:no-repeat;background-position:center center;background-size:contain;text-indent:100px;overflow:hidden;background-image:url(/themes/custom/mathallo/assets/img/arrow-white.svg);position:absolute;box-shadow:0 0 10px #00000040;top:calc(100% + .5em);left:calc(50% - 15px)}main[role=main]>div.layout-content ul.links{margin:0;padding:0;position:absolute;top:calc(100% - 15px);left:calc(50% - 15px)}main[role=main]>div.layout-content ul.links li{list-style:none}main[role=main]>div.layout-content ul.links li a{display:block;width:30px;height:30px;border-radius:15px;background-repeat:no-repeat;background-position:center center;background-size:contain;text-indent:100px;overflow:hidden;background-image:url(/themes/custom/mathallo/assets/img/arrow-blue.svg)}main[role=main]>div.layout-content nav.arrow-more{position:absolute;top:calc(100% - 15px);left:calc(50% - 15px)}main[role=main]>div.layout-content nav.arrow-more a.arrow{display:block;width:30px;height:30px;border-radius:15px;background-repeat:no-repeat;background-position:center center;background-size:contain;text-indent:100px;overflow:hidden;background-image:url(/themes/custom/mathallo/assets/img/arrow-blue.svg)}main[role=main]>div.layout-content article{position:relative;background-color:#fff;padding:2em;box-shadow:0 0 10px #00000040;max-width:50em;box-sizing:content-box;margin:30vh auto 0}main[role=main]>div.layout-content article[role=home-presentation]{margin-top:10vh}main[role=main]>div.layout-content article h2{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;margin:0}main[role=main]>div.layout-content article h2 a:hover{color:#f661e2}main[role=main]>div.layout-content article div.field-chapitre-num,main[role=main]>div.layout-content article div.field-partie-num{background-color:#1642bc;color:#fff;display:inline-flex;gap:.5em;padding:.5em 1em;position:absolute;top:-1em;font-size:1.2em}main[role=main]>div.layout-content article div.field-chapitre-num>*,main[role=main]>div.layout-content article div.field-partie-num>*{font-weight:600}main[role=main]>div.layout-content article[role=home-presentation]{max-width:65vw}main[role=main]>div.layout-content article[role=home-presentation]>h2{color:#1642bc;text-decoration:none;font-family:Fredoka;text-transform:uppercase;font-weight:500}main[role=main]>div.layout-content article[role=home-presentation] p{font-size:1.134em;vertical-align:top;display:inline-block;max-width:29%;margin-top:2em;box-sizing:border-box;position:relative;margin-bottom:6em}main[role=main]>div.layout-content article[role=home-presentation] p:not(:first-of-type){margin-left:6%}main[role=main]>div.layout-content article[role=home-presentation] p:before{content:"";display:block;position:absolute;background-size:contain;width:10em;height:10em;bottom:-9em;right:0;z-index:-1}main[role=main]>div.layout-content article[role=home-presentation] p.forme-pyramide:before{background-image:url(/themes/custom/mathallo/assets/img/formes/pyramide.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-prct:before{background-image:url(/themes/custom/mathallo/assets/img/formes/prct.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-pi:before{background-image:url(/themes/custom/mathallo/assets/img/formes/pi.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-infinite:before{background-image:url(/themes/custom/mathallo/assets/img/formes/infinite.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-supeg:before{background-image:url(/themes/custom/mathallo/assets/img/formes/supeg.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-cone:before{background-image:url(/themes/custom/mathallo/assets/img/formes/cone.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-croissant:before{background-image:url(/themes/custom/mathallo/assets/img/formes/croissant.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-cube:before{background-image:url(/themes/custom/mathallo/assets/img/formes/cube.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-diamant:before{background-image:url(/themes/custom/mathallo/assets/img/formes/diamant.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-cylindre:before{background-image:url(/themes/custom/mathallo/assets/img/formes/cylindre.svg)}main[role=main]>div.layout-content section.parties{padding:1em}main[role=main]>div.layout-content section.parties article.node-type-partie>h2{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em}main[role=main]>div.layout-content section.field-card{position:relative;background-color:#fff;padding:2em;box-shadow:0 0 10px #00000040;max-width:50em;box-sizing:content-box;margin:30vh auto 0}main[role=main]>div.layout-content section.field-card[role=home-presentation]{margin-top:10vh}main[role=main]>div.layout-content section.field-card h3{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em}main[role=main]>div.layout-content section.field-card.field-ressources .field-label,main[role=main]>div.layout-content section.field-card.field-plus-loin .field-label{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em;padding-bottom:1em}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph,main[role=main]>div.layout-content section.field-card.field-plus-loin div.paragraph{padding-bottom:1em}main[role=main]>div.layout-content section.field-card.field-ressources p,main[role=main]>div.layout-content section.field-card.field-plus-loin p{margin:0 .25em}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_titre{background-color:#1642bc;color:#fff;border-radius:2em;display:inline-block;padding:.5em 1em}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_titre>div{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:1.323em;color:#fff}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_description{margin:1em 0 0}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_liens{margin:1em 0 0}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_liens a{text-decoration:underline}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_fichiers{margin:1em 0 0}main[role=main]>div.layout-content section.field-card.field-plus-loin div.paragraph--type--complement .field_titre{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:1.323em;color:#1642bc}main[role=main] div#partie-principes-pratique{position:relative;display:flex;gap:0px}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion{z-index:2;background-color:#fff}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion>*>*{opacity:1}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion .field-label{color:#f661e2;font-weight:600;background-color:#fff}main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique{margin-left:-50%;transform:translateY(2em);z-index:1;background-color:#f7f7f7}main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique div.field-label{text-align:right;right:2em}main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique .field-label{color:inherit;font-weight:600;background-color:#f7f7f7}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique{transition:background-color .25s ease-out}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion div.field-label,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique div.field-label{display:block;position:absolute;top:-1em;padding:.5em 2em;font-size:1.2em;box-shadow:0 0 10px #00000040}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.back-card,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.back-card{z-index:1;background-color:#f7f7f7}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.back-card .field-label,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.back-card .field-label{color:inherit;font-weight:600;background-color:#f7f7f7}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.front-card,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.front-card{z-index:2;background-color:#fff}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.front-card>*>*,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.front-card>*>*{opacity:1}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.front-card .field-label,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.front-card .field-label{color:#f661e2;font-weight:600;background-color:#fff}main[role=main] div.views-home-chapitres{padding:1em}main[role=main] div.views-home-chapitres>.views-row article.node-type-chapitre h2{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em}main[role=main] .bg-forme{position:absolute;width:300px;height:300px;top:50%;left:-300px;z-index:-1;filter:drop-shadow(0 0 15px rgba(0,0,0,.05))}main[role=main] .bg-forme svg path,main[role=main] .bg-forme svg line,main[role=main] .bg-forme svg rect,main[role=main] .bg-forme svg circle,main[role=main] .bg-forme svg ellipse,main[role=main] .bg-forme svg polygon,main[role=main] .bg-forme svg polyline{vector-effect:non-scaling-stroke;stroke-width:1px!important}footer[role=contentinfo]{background-color:#fff;box-shadow:0 5px 15px #000;padding:.2em 2em}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul{display:flex;list-style:none;padding:0}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul li:not(:first-child){margin-left:1em}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul a{color:#0b1e52}.footnote__citation{text-decoration:underline;text-decoration-style:dashed;cursor:pointer}aside.footnote-content{display:none}.fn-modale{position:relative;background-color:#fff;box-shadow:0 0 10px #00000040;max-width:50em;box-sizing:content-box;margin:30vh auto 0;opacity:0;transition:opacity .25s ease-in-out;position:absolute;z-index:200;max-width:100em;padding:1em 1.5em 1em 1em;border:1px dashed #1642bc}.fn-modale[role=home-presentation]{margin-top:10vh}.fn-modale.visible{opacity:1;transition:opacity .25s ease-in-out} +@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.svg#FredokaSemiExpanded-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.svg#FredokaSemiExpanded-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.svg#Fredoka-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.svg#FredokaCondensed-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.svg#Fredoka-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.svg#FredokaSemiCondensed-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.svg#Fredoka-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.svg#FredokaSemiExpanded-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.svg#FredokaExpanded-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.svg#FredokaSemiExpanded-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.svg#Fredoka-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.svg#FredokaExpanded-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.svg#FredokaCondensed-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.svg#FredokaExpanded-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.svg#FredokaSemiCondensed-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.svg#FredokaCondensed-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.svg#FredokaExpanded-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.svg#FredokaCondensed-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.svg#FredokaSemiCondensed-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.svg#FredokaExpanded-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.svg#FredokaSemiExpanded-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.svg#FredokaSemiCondensed-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.svg#FredokaCondensed-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.svg#Fredoka-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.svg#FredokaSemiCondensed-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.svg#SchibstedGrotesk-BlackItalic) format("svg");font-weight:900;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.svg#SchibstedGrotesk-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.svg#SchibstedGrotesk-ExtraBold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.svg#SchibstedGrotesk-BoldItalic) format("svg");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.svg#SchibstedGrotesk-Black) format("svg");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.svg#SchibstedGrotesk-ExtraBoldItalic) format("svg");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.svg#SchibstedGrotesk-SemiBoldItalic) format("svg");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.svg#SchibstedGrotesk-Italic) format("svg");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.svg#SchibstedGrotesk-MediumItalic) format("svg");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.svg#SchibstedGrotesk-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.svg#SchibstedGrotesk-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.svg#SchibstedGrotesk-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}body{font-family:Schibsted Grotesk;font-weight:400;font-style:normal;color:#0b1e52}a,a:visited{text-decoration:none;color:inherit;transition:color .15s ease-out}body{margin:0}div.layout-container header[role=banner]{padding:.5em;z-index:100;position:fixed;top:0;width:100vw;height:50px}div.layout-container nav[role=breadcrumb]{position:fixed;z-index:90;top:80px;left:15px}div.layout-container main[role=main]{padding:5em 0;overflow-y:scroll}div.layout-container footer[role=contentinfo]{z-index:100;position:fixed;bottom:0;width:100vw}header[role=banner]{background-color:#fff;box-shadow:0 -5px 15px #000}header[role=banner] .header-middle{display:flex;justify-content:space-between;align-items:center;padding:.2em 2em}header[role=banner] #block-mathallo-formulairederecherche form{display:flex;align-items:baseline}header[role=banner] #block-mathallo-identitedusite a{color:#1642bc;text-decoration:none;font-family:Fredoka;font-size:2em;text-transform:uppercase;font-weight:500}header[role=banner] #block-mathallo-identitedusite a:hover{color:#f661e2}header[role=banner] .header-right{height:20px;width:20px;cursor:pointer}header[role=banner] .header-right>div#burger-btn{position:relative;transition-duration:.5s;transition-property:transform;top:8.5px}header[role=banner] .header-right>div#burger-btn,header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{width:20px;height:3px;background-color:#1642bc}header[role=banner] .header-right>div#burger-btn:hover,header[role=banner] .header-right>div#burger-btn:hover:before,header[role=banner] .header-right>div#burger-btn:hover:after{background-color:#f661e2}header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{content:"";position:absolute;left:0}header[role=banner] .header-right>div#burger-btn:before{top:6px}header[role=banner] .header-right>div#burger-btn:after{bottom:6px}header[role=banner] .header-right>div#burger-btn[opened]{transform:rotate(90deg)}header[role=banner] .header-right>div.wrapper{position:absolute;top:50px;left:0;background-color:#000000bf;width:100vw;height:0;overflow:hidden;transition-duration:.5s}header[role=banner] .header-right>div.wrapper[opened]{height:calc(100vh - 50px)}header[role=banner] .header-right>div.wrapper>nav{padding-top:10px;background-color:#fff}header[role=banner] .header-right>div.wrapper>nav>ul{margin:0}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu{padding:1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu ul,header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu li{padding:0;margin:0;list-style:none}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu .wrapper{position:relative}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu label{color:#1642bc;font-weight:600;display:block;font-size:.756em;padding:0 0 .25em;transition:color .25s ease-out;position:absolute;z-index:0}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu label:has(+a:hover){color:#f661e2}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu a{font-size:1.13em;transition:color .15s ease-out;display:block;position:relative;z-index:1;padding-top:1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu a:hover{color:#1642bc}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu li{padding:0 0 1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu li:first-child{padding:.25em 0 1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu>ul{display:flex;flex-direction:row;gap:2em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-contenu>ul>li>ul{margin:.75em 0 0;padding:0 0 0 1em;border-left:2px solid #1642bc}header[role=banner] .header-right>div.wrapper nav#block-mathallo-navigationprincipale{padding:2em 1em}header[role=banner] .header-right>div.wrapper nav#block-mathallo-navigationprincipale ul{display:flex;justify-content:flex-end;list-style:none}header[role=banner] .header-right>div.wrapper nav#block-mathallo-navigationprincipale ul li{margin-right:1em;background-color:#1642bc;color:#fff;padding:.5em 1em}nav[role=breadcrumb]{background-color:#fff;box-shadow:0 0 10px #00000040;padding:0}nav[role=breadcrumb] ul{margin:0;padding-left:.5em}nav[role=breadcrumb] ul li{list-style:none}nav[role=breadcrumb] #block-mathallo-contenu-2{padding:.5em 1em}nav[role=breadcrumb] #block-mathallo-contenu-2 ul,nav[role=breadcrumb] #block-mathallo-contenu-2 li{padding:0;margin:0;list-style:none}nav[role=breadcrumb] #block-mathallo-contenu-2 .wrapper{position:relative}nav[role=breadcrumb] #block-mathallo-contenu-2 label{color:#1642bc;font-weight:600;display:block;font-size:.756em;padding:0 0 .25em;transition:color .25s ease-out;position:absolute;z-index:0}nav[role=breadcrumb] #block-mathallo-contenu-2 label:has(+a:hover){color:#f661e2}nav[role=breadcrumb] #block-mathallo-contenu-2 a{font-size:1.13em;transition:color .15s ease-out;display:block;position:relative;z-index:1;padding-top:1em}nav[role=breadcrumb] #block-mathallo-contenu-2 a:hover{color:#1642bc}nav[role=breadcrumb] #block-mathallo-contenu-2 li:not(.in-active-trail){display:none}nav[role=breadcrumb] #block-mathallo-contenu-2 ul,nav[role=breadcrumb] #block-mathallo-contenu-2 li{display:flex;flex-direction:row;align-items:baseline;gap:1em}nav[role=breadcrumb] #block-mathallo-contenu-2 a{font-size:1em}nav[role=breadcrumb] #block-mathallo-contenu-2>ul>li>ul>li{padding-left:1em;border-left:2px solid #1642bc}main[role=main]{position:relative}main[role=main]>div.layout-content{position:relative}main[role=main]>div.layout-content div#parallax-bg{position:absolute;z-index:-1;top:0;left:0;margin-top:-40vh;width:100vw;height:400%;background-image:url(/themes/custom/mathallo/assets/img/grid_0.svg);background-repeat:repeat;background-position:center}main[role=main]>div.layout-content>.wrapper{position:relative;padding-bottom:100vh}main[role=main]>div.layout-content nav.prev-chapitre,main[role=main]>div.layout-content nav.next-chapitre{position:absolute;padding:.5em 1em}main[role=main]>div.layout-content nav.prev-chapitre ul,main[role=main]>div.layout-content nav.prev-chapitre li,main[role=main]>div.layout-content nav.next-chapitre ul,main[role=main]>div.layout-content nav.next-chapitre li{padding:0;margin:0;list-style:none}main[role=main]>div.layout-content nav.prev-chapitre label,main[role=main]>div.layout-content nav.next-chapitre label{color:#1642bc;font-weight:600;display:block;font-size:.756em;padding:0 0 .25em;transition:color .25s ease-out;position:absolute;z-index:0}main[role=main]>div.layout-content nav.prev-chapitre label:has(+a:hover),main[role=main]>div.layout-content nav.next-chapitre label:has(+a:hover){color:#f661e2}main[role=main]>div.layout-content nav.prev-chapitre a,main[role=main]>div.layout-content nav.next-chapitre a{font-size:1.13em;transition:color .15s ease-out;display:block;position:relative;z-index:1;padding-top:1em}main[role=main]>div.layout-content nav.prev-chapitre a:hover,main[role=main]>div.layout-content nav.next-chapitre a:hover{color:#1642bc}main[role=main]>div.layout-content nav.prev-chapitre .wrapper,main[role=main]>div.layout-content nav.next-chapitre .wrapper{position:relative}main[role=main]>div.layout-content nav.prev-chapitre ul,main[role=main]>div.layout-content nav.next-chapitre ul{margin:0;padding-left:.5em}main[role=main]>div.layout-content nav.prev-chapitre ul li,main[role=main]>div.layout-content nav.next-chapitre ul li{list-style:none;display:none}main[role=main]>div.layout-content nav.prev-chapitre.prev-chapitre,main[role=main]>div.layout-content nav.next-chapitre.prev-chapitre{top:-10em;left:0}main[role=main]>div.layout-content nav.prev-chapitre.prev-chapitre a:after,main[role=main]>div.layout-content nav.next-chapitre.prev-chapitre a:after{transform:rotate(180deg)}main[role=main]>div.layout-content nav.prev-chapitre.prev-chapitre li:has(+li.in-active-trail),main[role=main]>div.layout-content nav.next-chapitre.prev-chapitre li:has(+li.in-active-trail){display:block}main[role=main]>div.layout-content nav.prev-chapitre.next-chapitre,main[role=main]>div.layout-content nav.next-chapitre.next-chapitre{bottom:500px;right:0}main[role=main]>div.layout-content nav.prev-chapitre.next-chapitre li.in-active-trail+li,main[role=main]>div.layout-content nav.next-chapitre.next-chapitre li.in-active-trail+li{display:block}main[role=main]>div.layout-content nav.prev-chapitre label,main[role=main]>div.layout-content nav.next-chapitre label{background-color:#1642bc;color:#fff;padding:.5em 1em;z-index:2;top:-3em}main[role=main]>div.layout-content nav.prev-chapitre a,main[role=main]>div.layout-content nav.next-chapitre a{display:block;padding:.5em 1em;background-color:#fff;box-shadow:0 0 10px #00000040;border:white 1px solid;transition:border-color .5s}main[role=main]>div.layout-content nav.prev-chapitre a:hover,main[role=main]>div.layout-content nav.next-chapitre a:hover{border-color:#f661e2}main[role=main]>div.layout-content nav.prev-chapitre a:after,main[role=main]>div.layout-content nav.next-chapitre a:after{content:"";display:block;width:30px;height:30px;border-radius:15px;background-repeat:no-repeat;background-position:center center;background-size:contain;text-indent:100px;overflow:hidden;background-image:url(/themes/custom/mathallo/assets/img/arrow-white.svg);position:absolute;box-shadow:0 0 10px #00000040;top:calc(100% + .5em);left:calc(50% - 15px)}main[role=main]>div.layout-content ul.links{margin:0;padding:0;position:absolute;top:calc(100% - 15px);left:calc(50% - 15px)}main[role=main]>div.layout-content ul.links li{list-style:none}main[role=main]>div.layout-content ul.links li a{display:block;width:30px;height:30px;border-radius:15px;background-repeat:no-repeat;background-position:center center;background-size:contain;text-indent:100px;overflow:hidden;background-image:url(/themes/custom/mathallo/assets/img/arrow-blue.svg)}main[role=main]>div.layout-content nav.arrow-more{position:absolute;top:calc(100% - 15px);left:calc(50% - 15px)}main[role=main]>div.layout-content nav.arrow-more a.arrow{display:block;width:30px;height:30px;border-radius:15px;background-repeat:no-repeat;background-position:center center;background-size:contain;text-indent:100px;overflow:hidden;background-image:url(/themes/custom/mathallo/assets/img/arrow-blue.svg)}main[role=main]>div.layout-content article{position:relative;background-color:#fff;padding:2em;box-shadow:0 0 10px #00000040;max-width:50em;box-sizing:content-box;margin:30vh auto 0}main[role=main]>div.layout-content article[role=home-presentation]{margin-top:10vh}main[role=main]>div.layout-content article h2{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;margin:0}main[role=main]>div.layout-content article h2 a:hover{color:#f661e2}main[role=main]>div.layout-content article div.field-chapitre-num,main[role=main]>div.layout-content article div.field-partie-num{background-color:#1642bc;color:#fff;display:inline-flex;gap:.5em;padding:.5em 1em;position:absolute;top:-1em;font-size:1.2em}main[role=main]>div.layout-content article div.field-chapitre-num>*,main[role=main]>div.layout-content article div.field-partie-num>*{font-weight:600}main[role=main]>div.layout-content article[role=home-presentation]{max-width:65vw}main[role=main]>div.layout-content article[role=home-presentation]>h2{color:#1642bc;text-decoration:none;font-family:Fredoka;text-transform:uppercase;font-weight:500}main[role=main]>div.layout-content article[role=home-presentation] p{font-size:1.134em;vertical-align:top;display:inline-block;max-width:29%;margin-top:2em;box-sizing:border-box;position:relative;margin-bottom:6em}main[role=main]>div.layout-content article[role=home-presentation] p:not(:first-of-type){margin-left:6%}main[role=main]>div.layout-content article[role=home-presentation] p:before{content:"";display:block;position:absolute;background-size:contain;width:10em;height:10em;bottom:-9em;right:0;z-index:-1}main[role=main]>div.layout-content article[role=home-presentation] p.forme-pyramide:before{background-image:url(/themes/custom/mathallo/assets/img/formes/pyramide.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-prct:before{background-image:url(/themes/custom/mathallo/assets/img/formes/prct.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-pi:before{background-image:url(/themes/custom/mathallo/assets/img/formes/pi.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-infinite:before{background-image:url(/themes/custom/mathallo/assets/img/formes/infinite.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-supeg:before{background-image:url(/themes/custom/mathallo/assets/img/formes/supeg.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-cone:before{background-image:url(/themes/custom/mathallo/assets/img/formes/cone.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-croissant:before{background-image:url(/themes/custom/mathallo/assets/img/formes/croissant.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-cube:before{background-image:url(/themes/custom/mathallo/assets/img/formes/cube.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-diamant:before{background-image:url(/themes/custom/mathallo/assets/img/formes/diamant.svg)}main[role=main]>div.layout-content article[role=home-presentation] p.forme-cylindre:before{background-image:url(/themes/custom/mathallo/assets/img/formes/cylindre.svg)}main[role=main]>div.layout-content section.parties{padding:1em}main[role=main]>div.layout-content section.parties article.node-type-partie>h2{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em}main[role=main]>div.layout-content section.field-card{position:relative;background-color:#fff;padding:2em;box-shadow:0 0 10px #00000040;max-width:50em;box-sizing:content-box;margin:30vh auto 0}main[role=main]>div.layout-content section.field-card[role=home-presentation]{margin-top:10vh}main[role=main]>div.layout-content section.field-card h3{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em}main[role=main]>div.layout-content section.field-card.field-plus-loin .field-label,main[role=main]>div.layout-content section.field-card.field-ressources .field-label{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em;padding-bottom:1em}main[role=main]>div.layout-content section.field-card.field-plus-loin div.paragraph,main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph{padding-bottom:1em}main[role=main]>div.layout-content section.field-card.field-plus-loin p,main[role=main]>div.layout-content section.field-card.field-ressources p{margin:0 .25em}main[role=main]>div.layout-content section.field-card.field-plus-loin{margin-left:20em}main[role=main]>div.layout-content section.field-card.field-plus-loin div.paragraph--type--complement .field_titre{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em;color:#1642bc}main[role=main]>div.layout-content section.field-card.field-plus-loin div.field_liens{margin-top:2em}main[role=main]>div.layout-content section.field-card.field-plus-loin div.field_liens div.field-label{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:1.323em;padding:0}main[role=main]>div.layout-content section.field-card.field-plus-loin div.field_liens label{display:block;margin-top:1em}main[role=main]>div.layout-content section.field-card.field-plus-loin div.field_liens a{font-size:.756em}main[role=main]>div.layout-content section.field-card.field-ressources{margin-right:20em}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_titre{background-color:#1642bc;color:#fff;border-radius:2em;display:inline-block;padding:.5em 1em}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_titre>div{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:1.323em;color:#fff}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_description{margin:1em 0 0}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_liens{margin:1em 0 0}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_liens a{text-decoration:underline}main[role=main]>div.layout-content section.field-card.field-ressources div.paragraph--type--ressource .field_fichiers{margin:1em 0 0}main[role=main] div#partie-principes-pratique{position:relative;display:flex;gap:0px}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion{z-index:2;background-color:#fff}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion>*>*{opacity:1}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion .field-label{color:#f661e2;font-weight:600;background-color:#fff}main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique{margin-left:-50%;transform:translateY(2em);z-index:1;background-color:#f7f7f7}main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique div.field-label{text-align:right;right:2em}main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique .field-label{color:inherit;font-weight:600;background-color:#f7f7f7}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique{transition:background-color .25s ease-out}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion div.field-label,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique div.field-label{display:block;position:absolute;top:-1em;padding:.5em 2em;font-size:1.2em;box-shadow:0 0 10px #00000040}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.back-card,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.back-card{z-index:1;background-color:#f7f7f7}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.back-card .field-label,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.back-card .field-label{color:inherit;font-weight:600;background-color:#f7f7f7}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.front-card,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.front-card{z-index:2;background-color:#fff}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.front-card>*>*,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.front-card>*>*{opacity:1}main[role=main] div#partie-principes-pratique section.field-card.field-principes-reflexion.front-card .field-label,main[role=main] div#partie-principes-pratique section.field-card.field-en-pratique.front-card .field-label{color:#f661e2;font-weight:600;background-color:#fff}main[role=main] div.views-home-chapitres{padding:1em}main[role=main] div.views-home-chapitres>.views-row article.node-type-chapitre h2{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;line-height:1;font-size:2em}main[role=main] .bg-forme{position:absolute;width:300px;height:300px;top:50%;left:-300px;z-index:-1;filter:drop-shadow(0 0 15px rgba(0,0,0,.05))}main[role=main] .bg-forme svg path,main[role=main] .bg-forme svg line,main[role=main] .bg-forme svg rect,main[role=main] .bg-forme svg circle,main[role=main] .bg-forme svg ellipse,main[role=main] .bg-forme svg polygon,main[role=main] .bg-forme svg polyline{vector-effect:non-scaling-stroke;stroke-width:1px!important}footer[role=contentinfo]{background-color:#fff;box-shadow:0 5px 15px #000;padding:.2em 2em}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul{display:flex;list-style:none;padding:0}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul li:not(:first-child){margin-left:1em}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul a{color:#0b1e52}.footnote__citation{text-decoration:underline;text-decoration-style:dashed;cursor:pointer}aside.footnote-content{display:none}.fn-modale{position:relative;background-color:#fff;box-shadow:0 0 10px #00000040;max-width:50em;box-sizing:content-box;margin:30vh auto 0;opacity:0;transition:opacity .25s ease-in-out;position:absolute;z-index:200;max-width:100em;padding:1em 1.5em 1em 1em;border:1px dashed #1642bc}.fn-modale[role=home-presentation]{margin-top:10vh}.fn-modale.visible{opacity:1;transition:opacity .25s ease-in-out} diff --git a/web_main/themes/custom/mathallo/assets/dist/main.js b/web_main/themes/custom/mathallo/assets/dist/main.js index 0a79a09..46ee820 100644 --- a/web_main/themes/custom/mathallo/assets/dist/main.js +++ b/web_main/themes/custom/mathallo/assets/dist/main.js @@ -33,4 +33,4 @@ function xr(a){if(a===void 0)throw new ReferenceError("this hasn't been initiali * @license Copyright 2008-2025, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com -*/var _e,Dn,xt,Rr,Wi,vr,Zr,ea,j,hr,An,ta,ra,ia,na,Ml=function(){return typeof window<"u"},Ol=function(){return _e||Ml()&&(_e=window.gsap)&&_e.registerPlugin&&_e},gf=function(e){return Math.round(e*1e5)/1e5||0},Or=function(e){return j.maxScroll(e||xt)},mf=function(e,r){var t=e.parentNode||Wi,i=e.getBoundingClientRect(),n=t.getBoundingClientRect(),s=n.top-i.top,o=n.bottom-i.bottom,l=(Math.abs(s)>Math.abs(o)?s:o)/(1-r),u=-l*r,f,d;return l>0&&(f=n.height/(xt.innerHeight+n.height),d=f===.5?n.height*2:Math.min(n.height,Math.abs(-l*f/(2*f-1)))*2*(r||1),u+=r?-d*r:-d/2,l+=d),{change:l,offset:u}},yf=function(e){var r=Rr.querySelector(".ScrollSmoother-wrapper");return r||(r=Rr.createElement("div"),r.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(r,e),r.appendChild(e)),r},fi=function(){function a(e){var r=this;Dn||a.register(_e)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},hr&&hr.kill(),hr=this,ia(this);var t=e,i=t.smoothTouch,n=t.onUpdate,s=t.onStop,o=t.smooth,l=t.onFocusIn,u=t.normalizeScroll,f=t.wholePixels,d,_,c,p,h,y,C,T,P,x,S,O,g,k,w=this,M=e.effectsPrefix||"",N=j.getScrollFunc(xt),E=j.isTouch===1?i===!0?.8:parseFloat(i)||0:o===0||o===!1?0:parseFloat(o)||.8,L=E&&+e.speed||1,I=0,W=0,Q=1,Y=ta(0),se=function(){return Y.update(-I)},ue={y:0},m=function(){return d.style.overflow="visible"},he,Ne=function(v){v.update();var R=v.getTween();R&&(R.pause(),R._time=R._dur,R._tTime=R._tDur),he=!1,v.animation.progress(v.progress,!0)},at=function(v,R){(v!==I&&!x||R)&&(f&&(v=Math.round(v)),E&&(d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+v+", 0, 1)",d._gsap.y=v+"px"),W=v-I,I=v,j.isUpdating||a.isRefreshing||j.update())},ge=function(v){return arguments.length?(v<0&&(v=0),ue.y=-v,he=!0,x?I=-v:at(-v),j.isRefreshing?p.update():N(v/L),this):-I},Re=typeof ResizeObserver<"u"&&e.autoResize!==!1&&new ResizeObserver(function(){if(!j.isRefreshing){var D=Or(_)*L;D<-I&&ge(D),na.restart(!0)}}),Xe,Ce=function(v){_.scrollTop=0,!(v.target.contains&&v.target.contains(_)||l&&l(r,v)===!1)&&(j.isInViewport(v.target)||v.target===Xe||r.scrollTo(v.target,!1,"center center"),Xe=v.target)},Ge=function(v,R){if(v0?Z+(ne-fe):Ge(ne,v),z.setPositions(Z,xe,!0,(z._startClamp?Math.max(0,Z):Z)-fe),z.markerStart&&q.push(_e.quickSetter([z.markerStart,z.markerEnd],"y","px")),z.pin&&z.end>0&&!B)){if(ee=z.end-z.start,Fe=v._startClamp&&z.start<0,Fe){if(v.start>0){v.setPositions(0,v.end+(v._startNative-v.start),!0),D(v,R);return}ee+=z.start,V.offset=-z.start}V.push({start:z.start,nativeStart:fe,end:z.end,distance:ee,trig:z}),v.setPositions(v.start,v.end+(Fe?-z.start:ee),!0)}},er=function(v,R){h.forEach(function(B){return Ke(B,v,R)})},Qe=function(){Wi=Rr.documentElement,vr=Rr.body,m(),requestAnimationFrame(m),h&&(j.getAll().forEach(function(v){v._startNative=v.start,v._endNative=v.end}),h.forEach(function(v){var R=v._startClamp||v.start,B=v.autoSpeed?Math.min(Or(),v.end):R+Math.abs((v.end-R)/v.ratio),V=B-v.end;if(R-=V/2,B-=V/2,R>B){var q=R;R=B,B=q}v._startClamp&&R<0?(B=v.ratio<0?Or():v.end/v.ratio,V=B-v.end,R=0):(v.ratio<0||v._endClamp&&B>=Or())&&(B=Or(),R=v.ratio<0||v.ratio>1?0:B-(B-v.start)/v.ratio,V=(B-R)*v.ratio-(v.end-v.start)),v.offset=V||1e-4,v.pins.length=v.pins.offset=0,v.setPositions(R,B,!0)}),er(j.sort())),Y.reset()},Ve=function(){return j.addEventListener("refresh",Qe)},oe=function(){return h&&h.forEach(function(v){return v.vars.onRefresh(v)})},ke=function(){return h&&h.forEach(function(v){return v.vars.onRefreshInit(v)}),oe},rt=function(v,R,B,V){return function(){var q=typeof R=="function"?R(B,V):R;q||q===0||(q=V.getAttribute("data-"+M+v)||(v==="speed"?1:0)),V.setAttribute("data-"+M+v,q);var ee=(q+"").substr(0,6)==="clamp(";return{clamp:ee,value:ee?q.substr(6,q.length-7):q}}},mt=function(v,R,B,V,q){q=(typeof q=="function"?q(V,v):q)||0;var ee=rt("speed",R,V,v),Fe=rt("lag",B,V,v),Z=_e.getProperty(v,"y"),xe=v._gsap,fe,ne,Ue,z,Pr,kt,At=[],yr=function(){R=ee(),B=parseFloat(Fe().value),fe=parseFloat(R.value)||1,Ue=R.value==="auto",Pr=Ue||ne&&ne._startClamp&&ne.start<=0||At.offset?0:ne&&ne._endClamp&&ne.end===Or()?1:.5,z&&z.kill(),z=B&&_e.to(v,{ease:An,overwrite:!1,y:"+=0",duration:B}),ne&&(ne.ratio=fe,ne.autoSpeed=Ue)},qt=function(){xe.y=Z+"px",xe.renderTransform(1),yr()},tr=[],H=0,or=function(de){if(Ue){qt();var we=mf(v,ea(0,1,-de.start/(de.end-de.start)));H=we.change,kt=we.offset}else kt=At.offset||0,H=(de.end-de.start-kt)*(1-fe);At.forEach(function(Ft){return H-=Ft.distance*(1-fe)}),de.offset=H||.001,de.vars.onUpdate(de),z&&z.progress(1)};return yr(),(fe!==1||Ue||z)&&(ne=j.create({trigger:Ue?v.parentNode:v,start:function(){return R.clamp?"clamp(top bottom+="+q+")":"top bottom+="+q},end:function(){return R.value<0?"max":R.clamp?"clamp(bottom top-="+q+")":"bottom top-="+q},scroller:_,scrub:!0,refreshPriority:-999,onRefreshInit:qt,onRefresh:or,onKill:function(de){var we=h.indexOf(de);we>=0&&h.splice(we,1),qt()},onUpdate:function(de){var we=Z+H*(de.progress-Pr),Ft=At.length,rr=0,Be,ir,U;if(de.offset){if(Ft){for(ir=-I,U=de.end;Ft--;){if(Be=At[Ft],Be.trig.isActive||ir>=Be.start&&ir<=Be.end){z&&(Be.trig.progress+=Be.trig.direction<0?.001:-.001,Be.trig.update(0,0,1),z.resetTo("y",parseFloat(xe.y),-W,!0),Q&&z.progress(1));return}ir>Be.end&&(rr+=Be.distance),U-=Be.distance}we=Z+rr+H*((_e.utils.clamp(de.start,de.end,ir)-de.start-rr)/(U-de.start)-Pr)}tr.length&&!Ue&&tr.forEach(function(X){return X(we-rr)}),we=gf(we+kt),z?(z.resetTo("y",we,-W,!0),Q&&z.progress(1)):(xe.y=we+"px",xe.renderTransform(1))}}}),or(ne),_e.core.getCache(ne.trigger).stRevert=ke,ne.startY=Z,ne.pins=At,ne.markers=tr,ne.ratio=fe,ne.autoSpeed=Ue,v.style.willChange="transform"),ne};Ve(),j.addEventListener("killAll",Ve),_e.delayedCall(.5,function(){return Q=0}),this.scrollTop=ge,this.scrollTo=function(D,v,R){var B=_e.utils.clamp(0,Or(),isNaN(D)?r.offset(D,R,!!v&&!x):+D);v?x?_e.to(r,{duration:E,scrollTop:B,overwrite:"auto",ease:An}):N(B):ge(B)},this.offset=function(D,v,R){D=Zr(D)[0];var B=D.style.cssText,V=j.create({trigger:D,start:v||"top top"}),q;return h&&(Q?j.refresh():er([V],!0)),q=V.start/(R?L:1),V.kill(!1),D.style.cssText=B,_e.core.getCache(D).uncache=1,q};function b(){return c=d.clientHeight,d.style.overflow="visible",vr.style.height=xt.innerHeight+(c-xt.innerHeight)/L+"px",c-xt.innerHeight}this.content=function(D){if(arguments.length){var v=Zr(D||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||vr.children[0];return v!==d&&(d=v,P=d.getAttribute("style")||"",Re&&Re.observe(d),_e.set(d,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),E||_e.set(d,{clearProps:"transform"})),this}return d},this.wrapper=function(D){return arguments.length?(_=Zr(D||"#smooth-wrapper")[0]||yf(d),T=_.getAttribute("style")||"",b(),_e.set(_,E?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):_},this.effects=function(D,v){var R;if(h||(h=[]),!D)return h.slice(0);D=Zr(D),D.forEach(function(fe){for(var ne=h.length;ne--;)h[ne].trigger===fe&&h[ne].kill()}),v=v||{};var B=v,V=B.speed,q=B.lag,ee=B.effectsPadding,Fe=[],Z,xe;for(Z=0;ZB._dp._time,O=I,ue.y=0,E&&(j.isTouch===1&&(_.style.position="absolute"),_.scrollTop=0,j.isTouch===1&&(_.style.position="fixed"))}},onRefresh:function(v){v.animation.invalidate(),ue.y=0,v.setPositions(v.start,b()/L),g||Ne(v),ue.y=-N()*L,at(ue.y),Q||(g&&(he=!1),v.animation.progress(_e.utils.clamp(0,1,O/L/-v.end))),g&&(v.progress-=.001,v.update()),a.isRefreshing=!1},id:"ScrollSmoother",scroller:xt,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return b()/L},onScrubComplete:function(){Y.reset(),s&&s(r)},scrub:E||!0}),this.smooth=function(D){return arguments.length&&(E=D||0,L=E&&+e.speed||1,p.scrubDuration(D)),p.getTween()?p.getTween().duration():0},p.getTween()&&(p.getTween().vars.ease=e.ease||An),this.scrollTrigger=p,e.effects&&this.effects(e.effects===!0?"[data-"+M+"speed], [data-"+M+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:!1}),e.sections&&this.sections(e.sections===!0?"[data-section]":e.sections),lt.forEach(function(D){D.vars.scroller=_,D.revert(!1,!0),D.init(D.vars,D.animation)}),this.paused=function(D,v){return arguments.length?(!!x!==D&&(D?(p.getTween()&&p.getTween().pause(),N(-I/L),Y.reset(),S=j.normalizeScroll(),S&&S.disable(),x=j.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return ge(-I)}}),x.nested=ra(Wi,"wheel,touch,scroll",!0,v!==!1)):(x.nested.kill(),x.kill(),x=0,S&&S.enable(),p.progress=(-I/L-p.start)/(p.end-p.start),Ne(p))),this):!!x},this.kill=this.revert=function(){r.paused(!1),Ne(p),p.kill();for(var D=(h||[]).concat(y||[]),v=D.length;v--;)D[v].kill();j.scrollerProxy(_),j.removeEventListener("killAll",Ve),j.removeEventListener("refresh",Qe),_.style.cssText=T,d.style.cssText=P;var R=j.defaults({});R&&R.scroller===_&&j.defaults({scroller:xt}),r.normalizer&&j.normalizeScroll(!1),clearInterval(C),hr=null,Re&&Re.disconnect(),vr.style.removeProperty("height"),xt.removeEventListener("focusin",Ce)},this.refresh=function(D,v){return p.refresh(D,v)},u&&(this.normalizer=j.normalizeScroll(u===!0?{debounce:!0,content:!E&&d}:u)),j.config(e),"scrollBehavior"in xt.getComputedStyle(vr)&&_e.set([vr,Wi],{scrollBehavior:"auto"}),xt.addEventListener("focusin",Ce),C=setInterval(se,250),Rr.readyState==="loading"||requestAnimationFrame(function(){return j.refresh()})}return a.register=function(r){return Dn||(_e=r||Ol(),Ml()&&window.document&&(xt=window,Rr=document,Wi=Rr.documentElement,vr=Rr.body),_e&&(Zr=_e.utils.toArray,ea=_e.utils.clamp,An=_e.parseEase("expo"),ia=_e.core.context||function(){},j=_e.core.globals().ScrollTrigger,_e.core.globals("ScrollSmoother",a),vr&&j&&(na=_e.delayedCall(.2,function(){return j.isRefreshing||hr&&hr.refresh()}).pause(),ta=j.core._getVelocityProp,ra=j.core._inputObserver,a.refresh=j.refresh,Dn=1))),Dn},pf(a,[{key:"progress",get:function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),a}();fi.version="3.14.1";fi.create=function(a){return hr&&a&&hr.content()===Zr(a.content)[0]?hr:new fi(a)};fi.get=function(){return hr};Ol()&&_e.registerPlugin(fi);vi.registerPlugin(ie,fi);(function(a,e){(function(){e.path.isFront,console.log("drupalSettings",e);const t=["pyramide","prct","infinite","pi","supeg","cone","croissant","cube","diamant","cylindre"];let i=[],n=null,s,o={x:0,y:0};function l(){console.log("MathalloTheme init()"),u(),f(),_(),c(),y(),T()}function u(){document.getElementById("burger-btn").parentElement.addEventListener("click",function(k){this.firstElementChild.toggleAttribute("opened"),this.firstElementChild.nextElementSibling.toggleAttribute("opened")})}function f(){let g=document.getElementById("partie-principes-pratique");if(g){let k=g.getElementsByClassName("field-card");for(const w of k)w.addEventListener("mousemove",function(M){for(const N of this.parentElement.children)N.classList.add("back-card"),N.classList.remove("front-card");this.classList.add("front-card"),this.classList.remove("back-card")})}}function d(){i.forEach(({card:g,forme:k,formepos:w})=>{k.style.top=`${g.offsetTop+w.top}px`,k.style.left=`${g.offsetLeft+w.left}px`})}function _(){let g=document.querySelectorAll('article[role="home-presentation"] p'),k=[];for(const w of g){let M=Math.round(Math.random()*(t.length-1));for(;k.includes(M);)M=Math.round(Math.random()*(t.length-1));k.push(M),w.classList.add(`forme-${t[M]}`)}}async function c(){const g=document.querySelector('main[role="main"] > .layout-content > .wrapper');let k=document.querySelectorAll('article[role="home-presentation"], .field-card, .node-type-chapitre, .node-type-partie'),w=[],M=1;for(const N of k){let E={card:N},L=Math.round(Math.random()*(t.length-1));for(;w.includes(L);)L=Math.round(Math.random()*(t.length-1));w.push(L);let I=await h(N,L);g.prepend(I),E.forme=I,E.formepos={left:I.offsetLeft-N.offsetLeft,top:I.offsetTop-N.offsetTop},i.push(E),p(N,I,M),M*=-1}window.addEventListener("resize",d)}function p(g,k,w){vi.timeline({scrollTrigger:{trigger:g,start:"top bottom",end:"bottom top",scrub:!0,ease:"power4.out",snap:!1}}).from(g.children,{opacity:.4},0).to(g.children,{opacity:1},.5).to(g.children,{opacity:.4},.7).from(g,{translateX:`${200*w}px`,translateY:`${100*w}px`},0).to(g,{translateX:"0",translateY:"0"},.5),vi.to(k.querySelector("svg"),{scrollTrigger:{trigger:k,start:"top bottom",end:"bottom top",scrub:!0,ease:"power4.out"},rotation:Math.random()>.5?45:-45,skewX:Math.random()>.5?10:-10}),vi.timeline({scrollTrigger:{trigger:g,start:"top center",end:"bottom center",scrub:!0,markers:!1}}).to(k.querySelector("svg"),{stroke:"#f661e2",duration:.1},.3).to(k.querySelector("svg"),{stroke:"#1642bc",duration:.1},.7)}async function h(g,k){let w=document.createElement("div");w.classList.add("bg-forme");const N=await(await fetch(`/themes/custom/mathallo/assets/img/formes/bordure/${t[k]}.svg`)).text();w.innerHTML=N;const E=w.querySelector("svg");let L=200+Math.random()*300;E.getAttribute("width"),w.style.width=w.style.height=`${L}px`,E.setAttribute("width",L),E.setAttribute("height",L);let I=g.offsetTop+g.clientHeight/2-L/2;g.clientHeight<300&&(I=Math.random()>.5?g.offsetTop-L/2:g.offsetTop+g.clientHeight-L/2),w.style.top=`${I}px`;let W=20+Math.random()*20;return g.classList.contains("field-principes-reflexion")?w.style.left=`${g.offsetLeft-L+W}px`:g.classList.contains("field-en-pratique")?w.style.left=`${g.offsetLeft+g.clientWidth-W}px`:w.style.left=Math.random()>.5?`${g.offsetLeft-L+W}px`:`${g.offsetLeft+g.clientWidth-W}px`,w}function y(){n=fi.create({smooth:3,effects:!0,smoothTouch:.1,wrapper:'main[role="main"]',content:'main[role="main"]>.layout-content',onUpdate:C}),console.log("smoother",n),vi.to("#parallax-bg",{y:(g,k)=>-(ie.maxScroll(window)*1.2),ease:"none",scrollTrigger:{trigger:'main[role="main"] > .layout-content > .wrapper',start:"top bottom",end:"bottom top",scrub:!0,invalidateOnRefresh:!0}})}function C(g){O()}function T(){let g=document.body;s=document.createElement("div"),s.classList.add("fn-modale"),g.append(s);let k=document.querySelectorAll(".footnote__citation");for(const w of k)console.log("fn",w),w.addEventListener("mouseenter",P),w.addEventListener("mouseleave",x);window.addEventListener("mousemove",S)}function P(g){console.log("onMouseEnterFN, event:",g),s.innerHTML=g.target.dataset.content,s.classList.add("visible")}function x(g){console.log("onMouseLeaveFN, event:",g),s.classList.remove("visible")}function S(g){o={x:g.clientX,y:g.clientY},O()}function O(){if(n){let k=n.content().getBoundingClientRect();s.style.left=`${o.x-k.left}px`;let w=o.y-k.top;s.style.top=`${w-s.clientHeight+60}px`,console.log("window",window)}else console.warn("no smoother")}l()})()})(Drupal,drupalSettings); +*/var _e,Dn,xt,Rr,Wi,vr,Zr,ea,j,hr,An,ta,ra,ia,na,Ml=function(){return typeof window<"u"},Ol=function(){return _e||Ml()&&(_e=window.gsap)&&_e.registerPlugin&&_e},gf=function(e){return Math.round(e*1e5)/1e5||0},Or=function(e){return j.maxScroll(e||xt)},mf=function(e,r){var t=e.parentNode||Wi,i=e.getBoundingClientRect(),n=t.getBoundingClientRect(),s=n.top-i.top,o=n.bottom-i.bottom,l=(Math.abs(s)>Math.abs(o)?s:o)/(1-r),u=-l*r,f,d;return l>0&&(f=n.height/(xt.innerHeight+n.height),d=f===.5?n.height*2:Math.min(n.height,Math.abs(-l*f/(2*f-1)))*2*(r||1),u+=r?-d*r:-d/2,l+=d),{change:l,offset:u}},yf=function(e){var r=Rr.querySelector(".ScrollSmoother-wrapper");return r||(r=Rr.createElement("div"),r.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(r,e),r.appendChild(e)),r},fi=function(){function a(e){var r=this;Dn||a.register(_e)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},hr&&hr.kill(),hr=this,ia(this);var t=e,i=t.smoothTouch,n=t.onUpdate,s=t.onStop,o=t.smooth,l=t.onFocusIn,u=t.normalizeScroll,f=t.wholePixels,d,_,c,p,h,y,C,T,P,x,S,O,g,k,w=this,M=e.effectsPrefix||"",N=j.getScrollFunc(xt),E=j.isTouch===1?i===!0?.8:parseFloat(i)||0:o===0||o===!1?0:parseFloat(o)||.8,L=E&&+e.speed||1,I=0,W=0,Q=1,Y=ta(0),se=function(){return Y.update(-I)},ue={y:0},m=function(){return d.style.overflow="visible"},he,Ne=function(v){v.update();var R=v.getTween();R&&(R.pause(),R._time=R._dur,R._tTime=R._tDur),he=!1,v.animation.progress(v.progress,!0)},at=function(v,R){(v!==I&&!x||R)&&(f&&(v=Math.round(v)),E&&(d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+v+", 0, 1)",d._gsap.y=v+"px"),W=v-I,I=v,j.isUpdating||a.isRefreshing||j.update())},ge=function(v){return arguments.length?(v<0&&(v=0),ue.y=-v,he=!0,x?I=-v:at(-v),j.isRefreshing?p.update():N(v/L),this):-I},Re=typeof ResizeObserver<"u"&&e.autoResize!==!1&&new ResizeObserver(function(){if(!j.isRefreshing){var D=Or(_)*L;D<-I&&ge(D),na.restart(!0)}}),Xe,Ce=function(v){_.scrollTop=0,!(v.target.contains&&v.target.contains(_)||l&&l(r,v)===!1)&&(j.isInViewport(v.target)||v.target===Xe||r.scrollTo(v.target,!1,"center center"),Xe=v.target)},Ge=function(v,R){if(v0?Z+(ne-fe):Ge(ne,v),z.setPositions(Z,xe,!0,(z._startClamp?Math.max(0,Z):Z)-fe),z.markerStart&&q.push(_e.quickSetter([z.markerStart,z.markerEnd],"y","px")),z.pin&&z.end>0&&!B)){if(ee=z.end-z.start,Fe=v._startClamp&&z.start<0,Fe){if(v.start>0){v.setPositions(0,v.end+(v._startNative-v.start),!0),D(v,R);return}ee+=z.start,V.offset=-z.start}V.push({start:z.start,nativeStart:fe,end:z.end,distance:ee,trig:z}),v.setPositions(v.start,v.end+(Fe?-z.start:ee),!0)}},er=function(v,R){h.forEach(function(B){return Ke(B,v,R)})},Qe=function(){Wi=Rr.documentElement,vr=Rr.body,m(),requestAnimationFrame(m),h&&(j.getAll().forEach(function(v){v._startNative=v.start,v._endNative=v.end}),h.forEach(function(v){var R=v._startClamp||v.start,B=v.autoSpeed?Math.min(Or(),v.end):R+Math.abs((v.end-R)/v.ratio),V=B-v.end;if(R-=V/2,B-=V/2,R>B){var q=R;R=B,B=q}v._startClamp&&R<0?(B=v.ratio<0?Or():v.end/v.ratio,V=B-v.end,R=0):(v.ratio<0||v._endClamp&&B>=Or())&&(B=Or(),R=v.ratio<0||v.ratio>1?0:B-(B-v.start)/v.ratio,V=(B-R)*v.ratio-(v.end-v.start)),v.offset=V||1e-4,v.pins.length=v.pins.offset=0,v.setPositions(R,B,!0)}),er(j.sort())),Y.reset()},Ve=function(){return j.addEventListener("refresh",Qe)},oe=function(){return h&&h.forEach(function(v){return v.vars.onRefresh(v)})},ke=function(){return h&&h.forEach(function(v){return v.vars.onRefreshInit(v)}),oe},rt=function(v,R,B,V){return function(){var q=typeof R=="function"?R(B,V):R;q||q===0||(q=V.getAttribute("data-"+M+v)||(v==="speed"?1:0)),V.setAttribute("data-"+M+v,q);var ee=(q+"").substr(0,6)==="clamp(";return{clamp:ee,value:ee?q.substr(6,q.length-7):q}}},mt=function(v,R,B,V,q){q=(typeof q=="function"?q(V,v):q)||0;var ee=rt("speed",R,V,v),Fe=rt("lag",B,V,v),Z=_e.getProperty(v,"y"),xe=v._gsap,fe,ne,Ue,z,Pr,kt,At=[],yr=function(){R=ee(),B=parseFloat(Fe().value),fe=parseFloat(R.value)||1,Ue=R.value==="auto",Pr=Ue||ne&&ne._startClamp&&ne.start<=0||At.offset?0:ne&&ne._endClamp&&ne.end===Or()?1:.5,z&&z.kill(),z=B&&_e.to(v,{ease:An,overwrite:!1,y:"+=0",duration:B}),ne&&(ne.ratio=fe,ne.autoSpeed=Ue)},qt=function(){xe.y=Z+"px",xe.renderTransform(1),yr()},tr=[],H=0,or=function(de){if(Ue){qt();var we=mf(v,ea(0,1,-de.start/(de.end-de.start)));H=we.change,kt=we.offset}else kt=At.offset||0,H=(de.end-de.start-kt)*(1-fe);At.forEach(function(Ft){return H-=Ft.distance*(1-fe)}),de.offset=H||.001,de.vars.onUpdate(de),z&&z.progress(1)};return yr(),(fe!==1||Ue||z)&&(ne=j.create({trigger:Ue?v.parentNode:v,start:function(){return R.clamp?"clamp(top bottom+="+q+")":"top bottom+="+q},end:function(){return R.value<0?"max":R.clamp?"clamp(bottom top-="+q+")":"bottom top-="+q},scroller:_,scrub:!0,refreshPriority:-999,onRefreshInit:qt,onRefresh:or,onKill:function(de){var we=h.indexOf(de);we>=0&&h.splice(we,1),qt()},onUpdate:function(de){var we=Z+H*(de.progress-Pr),Ft=At.length,rr=0,Be,ir,U;if(de.offset){if(Ft){for(ir=-I,U=de.end;Ft--;){if(Be=At[Ft],Be.trig.isActive||ir>=Be.start&&ir<=Be.end){z&&(Be.trig.progress+=Be.trig.direction<0?.001:-.001,Be.trig.update(0,0,1),z.resetTo("y",parseFloat(xe.y),-W,!0),Q&&z.progress(1));return}ir>Be.end&&(rr+=Be.distance),U-=Be.distance}we=Z+rr+H*((_e.utils.clamp(de.start,de.end,ir)-de.start-rr)/(U-de.start)-Pr)}tr.length&&!Ue&&tr.forEach(function(X){return X(we-rr)}),we=gf(we+kt),z?(z.resetTo("y",we,-W,!0),Q&&z.progress(1)):(xe.y=we+"px",xe.renderTransform(1))}}}),or(ne),_e.core.getCache(ne.trigger).stRevert=ke,ne.startY=Z,ne.pins=At,ne.markers=tr,ne.ratio=fe,ne.autoSpeed=Ue,v.style.willChange="transform"),ne};Ve(),j.addEventListener("killAll",Ve),_e.delayedCall(.5,function(){return Q=0}),this.scrollTop=ge,this.scrollTo=function(D,v,R){var B=_e.utils.clamp(0,Or(),isNaN(D)?r.offset(D,R,!!v&&!x):+D);v?x?_e.to(r,{duration:E,scrollTop:B,overwrite:"auto",ease:An}):N(B):ge(B)},this.offset=function(D,v,R){D=Zr(D)[0];var B=D.style.cssText,V=j.create({trigger:D,start:v||"top top"}),q;return h&&(Q?j.refresh():er([V],!0)),q=V.start/(R?L:1),V.kill(!1),D.style.cssText=B,_e.core.getCache(D).uncache=1,q};function b(){return c=d.clientHeight,d.style.overflow="visible",vr.style.height=xt.innerHeight+(c-xt.innerHeight)/L+"px",c-xt.innerHeight}this.content=function(D){if(arguments.length){var v=Zr(D||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||vr.children[0];return v!==d&&(d=v,P=d.getAttribute("style")||"",Re&&Re.observe(d),_e.set(d,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),E||_e.set(d,{clearProps:"transform"})),this}return d},this.wrapper=function(D){return arguments.length?(_=Zr(D||"#smooth-wrapper")[0]||yf(d),T=_.getAttribute("style")||"",b(),_e.set(_,E?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):_},this.effects=function(D,v){var R;if(h||(h=[]),!D)return h.slice(0);D=Zr(D),D.forEach(function(fe){for(var ne=h.length;ne--;)h[ne].trigger===fe&&h[ne].kill()}),v=v||{};var B=v,V=B.speed,q=B.lag,ee=B.effectsPadding,Fe=[],Z,xe;for(Z=0;ZB._dp._time,O=I,ue.y=0,E&&(j.isTouch===1&&(_.style.position="absolute"),_.scrollTop=0,j.isTouch===1&&(_.style.position="fixed"))}},onRefresh:function(v){v.animation.invalidate(),ue.y=0,v.setPositions(v.start,b()/L),g||Ne(v),ue.y=-N()*L,at(ue.y),Q||(g&&(he=!1),v.animation.progress(_e.utils.clamp(0,1,O/L/-v.end))),g&&(v.progress-=.001,v.update()),a.isRefreshing=!1},id:"ScrollSmoother",scroller:xt,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return b()/L},onScrubComplete:function(){Y.reset(),s&&s(r)},scrub:E||!0}),this.smooth=function(D){return arguments.length&&(E=D||0,L=E&&+e.speed||1,p.scrubDuration(D)),p.getTween()?p.getTween().duration():0},p.getTween()&&(p.getTween().vars.ease=e.ease||An),this.scrollTrigger=p,e.effects&&this.effects(e.effects===!0?"[data-"+M+"speed], [data-"+M+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:!1}),e.sections&&this.sections(e.sections===!0?"[data-section]":e.sections),lt.forEach(function(D){D.vars.scroller=_,D.revert(!1,!0),D.init(D.vars,D.animation)}),this.paused=function(D,v){return arguments.length?(!!x!==D&&(D?(p.getTween()&&p.getTween().pause(),N(-I/L),Y.reset(),S=j.normalizeScroll(),S&&S.disable(),x=j.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return ge(-I)}}),x.nested=ra(Wi,"wheel,touch,scroll",!0,v!==!1)):(x.nested.kill(),x.kill(),x=0,S&&S.enable(),p.progress=(-I/L-p.start)/(p.end-p.start),Ne(p))),this):!!x},this.kill=this.revert=function(){r.paused(!1),Ne(p),p.kill();for(var D=(h||[]).concat(y||[]),v=D.length;v--;)D[v].kill();j.scrollerProxy(_),j.removeEventListener("killAll",Ve),j.removeEventListener("refresh",Qe),_.style.cssText=T,d.style.cssText=P;var R=j.defaults({});R&&R.scroller===_&&j.defaults({scroller:xt}),r.normalizer&&j.normalizeScroll(!1),clearInterval(C),hr=null,Re&&Re.disconnect(),vr.style.removeProperty("height"),xt.removeEventListener("focusin",Ce)},this.refresh=function(D,v){return p.refresh(D,v)},u&&(this.normalizer=j.normalizeScroll(u===!0?{debounce:!0,content:!E&&d}:u)),j.config(e),"scrollBehavior"in xt.getComputedStyle(vr)&&_e.set([vr,Wi],{scrollBehavior:"auto"}),xt.addEventListener("focusin",Ce),C=setInterval(se,250),Rr.readyState==="loading"||requestAnimationFrame(function(){return j.refresh()})}return a.register=function(r){return Dn||(_e=r||Ol(),Ml()&&window.document&&(xt=window,Rr=document,Wi=Rr.documentElement,vr=Rr.body),_e&&(Zr=_e.utils.toArray,ea=_e.utils.clamp,An=_e.parseEase("expo"),ia=_e.core.context||function(){},j=_e.core.globals().ScrollTrigger,_e.core.globals("ScrollSmoother",a),vr&&j&&(na=_e.delayedCall(.2,function(){return j.isRefreshing||hr&&hr.refresh()}).pause(),ta=j.core._getVelocityProp,ra=j.core._inputObserver,a.refresh=j.refresh,Dn=1))),Dn},pf(a,[{key:"progress",get:function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),a}();fi.version="3.14.1";fi.create=function(a){return hr&&a&&hr.content()===Zr(a.content)[0]?hr:new fi(a)};fi.get=function(){return hr};Ol()&&_e.registerPlugin(fi);vi.registerPlugin(ie,fi);(function(a,e){(function(){e.path.isFront,console.log("drupalSettings",e);const t=["pyramide","prct","infinite","pi","supeg","cone","croissant","cube","diamant","cylindre"];let i=[],n=null,s,o={x:0,y:0};function l(){console.log("MathalloTheme init()"),u(),f(),_(),c(),y(),T()}function u(){document.getElementById("burger-btn").parentElement.addEventListener("click",function(k){this.firstElementChild.toggleAttribute("opened"),this.firstElementChild.nextElementSibling.toggleAttribute("opened")})}function f(){let g=document.getElementById("partie-principes-pratique");if(g){let k=g.getElementsByClassName("field-card");for(const w of k)w.addEventListener("mousemove",function(M){for(const N of this.parentElement.children)N.classList.add("back-card"),N.classList.remove("front-card");this.classList.add("front-card"),this.classList.remove("back-card")})}}function d(){i.forEach(({card:g,forme:k,formepos:w})=>{k.style.top=`${g.offsetTop+w.top}px`,k.style.left=`${g.offsetLeft+w.left}px`})}function _(){let g=document.querySelectorAll('article[role="home-presentation"] p'),k=[];for(const w of g){let M=Math.round(Math.random()*(t.length-1));for(;k.includes(M);)M=Math.round(Math.random()*(t.length-1));k.push(M),w.classList.add(`forme-${t[M]}`)}}async function c(){const g=document.querySelector('main[role="main"] > .layout-content > .wrapper');let k=document.querySelectorAll('article[role="home-presentation"], .field-card, .node-type-chapitre, .node-type-partie'),w=[],M=1;for(const N of k){let E={card:N},L=Math.round(Math.random()*(t.length-1));for(;w.includes(L);)L=Math.round(Math.random()*(t.length-1));w.push(L);let I=await h(N,L);g.prepend(I),E.forme=I,E.formepos={left:I.offsetLeft-N.offsetLeft,top:I.offsetTop-N.offsetTop},i.push(E),p(N,I,M),M*=-1}window.addEventListener("resize",d)}function p(g,k,w){vi.timeline({scrollTrigger:{trigger:g,start:"top bottom",end:"bottom top",scrub:!0,ease:"power4.out",snap:!1}}).from(g.children,{opacity:.4},0).to(g.children,{opacity:1},.5).to(g.children,{opacity:.4},.7).from(g,{translateX:`${200*w}px`,translateY:`${100*w}px`},0).to(g,{translateX:"0",translateY:"0"},.5),vi.to(k.querySelector("svg"),{scrollTrigger:{trigger:k,start:"top bottom",end:"bottom top",scrub:!0,ease:"power4.out"},rotation:Math.random()>.5?45:-45,skewX:Math.random()>.5?10:-10}),vi.timeline({scrollTrigger:{trigger:g,start:"top center",end:"bottom center",scrub:!0,markers:!1}}).to(k.querySelector("svg"),{stroke:"#f661e2",duration:.1},.3).to(k.querySelector("svg"),{stroke:"#1642bc",duration:.1},.7)}async function h(g,k){let w=document.createElement("div");w.classList.add("bg-forme");const N=await(await fetch(`/themes/custom/mathallo/assets/img/formes/bordure/${t[k]}.svg`)).text();w.innerHTML=N;const E=w.querySelector("svg");let L=200+Math.random()*300;E.getAttribute("width"),w.style.width=w.style.height=`${L}px`,E.setAttribute("width",L),E.setAttribute("height",L);let I=g.offsetTop+g.clientHeight/2-L/2;g.clientHeight<300&&(I=Math.random()>.5?g.offsetTop-L/2:g.offsetTop+g.clientHeight-L/2),w.style.top=`${I}px`;let W=20+Math.random()*20;return g.classList.contains("field-principes-reflexion")||g.classList.contains("field-ressources")?w.style.left=`${g.offsetLeft-L+W}px`:g.classList.contains("field-en-pratique")||g.classList.contains("field-plus-loin")?w.style.left=`${g.offsetLeft+g.clientWidth-W}px`:w.style.left=Math.random()>.5?`${g.offsetLeft-L+W}px`:`${g.offsetLeft+g.clientWidth-W}px`,w}function y(){n=fi.create({smooth:3,effects:!0,smoothTouch:.1,wrapper:'main[role="main"]',content:'main[role="main"]>.layout-content',onUpdate:C}),console.log("smoother",n),vi.to("#parallax-bg",{y:(g,k)=>-(ie.maxScroll(window)*1.2),ease:"none",scrollTrigger:{trigger:'main[role="main"] > .layout-content > .wrapper',start:"top bottom",end:"bottom top",scrub:!0,invalidateOnRefresh:!0}})}function C(g){O()}function T(){let g=document.body;s=document.createElement("div"),s.classList.add("fn-modale"),g.append(s);let k=document.querySelectorAll(".footnote__citation");for(const w of k)console.log("fn",w),w.addEventListener("mouseenter",P),w.addEventListener("mouseleave",x);window.addEventListener("mousemove",S)}function P(g){console.log("onMouseEnterFN, event:",g),s.innerHTML=g.target.dataset.content,s.classList.add("visible")}function x(g){console.log("onMouseLeaveFN, event:",g),s.classList.remove("visible")}function S(g){o={x:g.clientX,y:g.clientY},O()}function O(){if(n){let k=n.content().getBoundingClientRect();s.style.left=`${o.x-k.left}px`;let w=o.y-k.top;s.style.top=`${w-s.clientHeight+60}px`,console.log("window",window)}else console.warn("no smoother")}l()})()})(Drupal,drupalSettings); diff --git a/web_main/themes/custom/mathallo/assets/js/main.js b/web_main/themes/custom/mathallo/assets/js/main.js index 6be2e57..b3a4fb6 100644 --- a/web_main/themes/custom/mathallo/assets/js/main.js +++ b/web_main/themes/custom/mathallo/assets/js/main.js @@ -319,10 +319,10 @@ gsap.registerPlugin(ScrollTrigger, ScrollSmoother); let randoffset = 20 + Math.random() * 20; // left right - if (card.classList.contains('field-principes-reflexion')) { + if (card.classList.contains('field-principes-reflexion') || card.classList.contains('field-ressources')) { // left forme.style.left = `${card.offsetLeft - wh + randoffset}px`; - } else if(card.classList.contains('field-en-pratique')) { + } else if(card.classList.contains('field-en-pratique') || card.classList.contains('field-plus-loin')) { // right forme.style.left = `${card.offsetLeft + card.clientWidth - randoffset}px`; } else { diff --git a/web_main/themes/custom/mathallo/assets/scss/main.scss b/web_main/themes/custom/mathallo/assets/scss/main.scss index 8b50a0d..bc870fd 100644 --- a/web_main/themes/custom/mathallo/assets/scss/main.scss +++ b/web_main/themes/custom/mathallo/assets/scss/main.scss @@ -526,8 +526,8 @@ main[role="main"]{ - &.field-ressources, - &.field-plus-loin{ + &.field-plus-loin, + &.field-ressources{ .field-label{ @include titre_h3; padding-bottom: 1em; @@ -540,8 +540,33 @@ main[role="main"]{ } } + &.field-plus-loin{ + // AKA Bulle conceptuelle + margin-left: 20em; + div.paragraph--type--complement{ + .field_titre{ + @include titre_h3; + color: $bleu_site; + } + } + div.field_liens{ + margin-top: 2em; + div.field-label{ + @include titre_h4; + padding: 0; + } + label{ + display:block; + margin-top: 1em; + } + a{ + font-size: 0.756em; + } + } + } + &.field-ressources{ - // margin-left: 20em; + margin-right: 20em; div.paragraph--type--ressource{ .field_titre{ background-color: $bleu_site; @@ -572,15 +597,6 @@ main[role="main"]{ } } - &.field-plus-loin{ - // margin-right: 20em; - div.paragraph--type--complement{ - .field_titre{ - @include titre_h4; - color: $bleu_site; - } - } - } } } // div.layout-content @@ -605,9 +621,9 @@ main[role="main"]{ @mixin back-card{ z-index: 1; background-color: rgba(247,247,247,1); - &>*>*{ - // opacity: 0.6; - } + // &>*>*{ + // opacity: 0.6; + // } .field-label{ color: inherit; font-weight: 600; diff --git a/web_main/themes/custom/mathallo/templates/link-formatter-link-separate.html.twig b/web_main/themes/custom/mathallo/templates/link-formatter-link-separate.html.twig new file mode 100644 index 0000000..eb9ee3a --- /dev/null +++ b/web_main/themes/custom/mathallo/templates/link-formatter-link-separate.html.twig @@ -0,0 +1,20 @@ +{# +/** + * @file + * Default theme implementation of a link with separate title and URL elements. + * + * Available variables: + * - link: The link that has already been formatted by l(). + * - title: (optional) A descriptive or alternate title for the link, which may + * be different than the actual link text. + * + * @see template_preprocess() + * @see template_preprocess_link_formatter_link_separate() + * + * @ingroup themeable + */ +#} +{% apply spaceless %} + + {{ link }} +{% endapply %} diff --git a/web_main/themes/custom/mathallo/templates/node--partie--full.html.twig b/web_main/themes/custom/mathallo/templates/node--partie--full.html.twig index 7506ed4..fa1fb05 100644 --- a/web_main/themes/custom/mathallo/templates/node--partie--full.html.twig +++ b/web_main/themes/custom/mathallo/templates/node--partie--full.html.twig @@ -94,10 +94,11 @@ {% endif %} +{% if content.field_pour_aller_plus_loin %} +
{{ content.field_pour_aller_plus_loin }}
+{% endif %} + {% if content.field_ressources %}
{{ content.field_ressources }}
{% endif %} -{% if content.field_pour_aller_plus_loin %} -
{{ content.field_pour_aller_plus_loin }}
-{% endif %}