Compare commits
No commits in common. "a762d15768c232e6864e9a89a4e8aceae0853aaa" and "a5262a8c2b1624385b521d5baeca81f4a12043ae" have entirely different histories.
a762d15768
...
a5262a8c2b
|
|
@ -14,8 +14,7 @@
|
||||||
|
|
||||||
/* ########### FORMS ############ */
|
/* ########### FORMS ############ */
|
||||||
@import './forms/forms.css';
|
@import './forms/forms.css';
|
||||||
@import './forms/form-contributions.css';
|
@import './forms/form_contributions.css';
|
||||||
@import './forms/form-contact.css';
|
|
||||||
|
|
||||||
/* ########### COMPONENTS ############ */
|
/* ########### COMPONENTS ############ */
|
||||||
@import './components/buttons.css';
|
@import './components/buttons.css';
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
a[target='_blank'] {
|
a[target='_blank'] {
|
||||||
@apply external-link;
|
|
||||||
}
|
|
||||||
.external-link {
|
|
||||||
&:after {
|
&:after {
|
||||||
@apply content-[''] w-7 h-7 ml-2 inline-block;
|
@apply content-[''] w-7 h-7 ml-2 inline-block;
|
||||||
background-image: url('../resources/img/carhop-fleche-lien-externe-full--green.svg');
|
background-image: url('../resources/img/carhop-fleche-lien-externe-full--green.svg');
|
||||||
|
|
@ -12,24 +9,6 @@ a[target='_blank'] {
|
||||||
background-position: center;
|
background-position: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.underlined-link {
|
|
||||||
transition: all 0.3s ease-out;
|
|
||||||
@apply underline underline-offset-8;
|
|
||||||
text-decoration-thickness: 1px;
|
|
||||||
&--white {
|
|
||||||
@apply decoration-white;
|
|
||||||
&:hover {
|
|
||||||
@apply decoration-carhop-green-300;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&--green {
|
|
||||||
@apply decoration-carhop-green-700;
|
|
||||||
&:hover {
|
|
||||||
@apply decoration-carhop-green-400;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.internal-link-with-icon {
|
.internal-link-with-icon {
|
||||||
@apply flex items-center;
|
@apply flex items-center;
|
||||||
transition: transform 0.3s ease-out;
|
transition: transform 0.3s ease-out;
|
||||||
|
|
|
||||||
|
|
@ -107,14 +107,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&--bg-dark {
|
|
||||||
.wp-block-carhop-blocks-cta {
|
|
||||||
&:after {
|
|
||||||
filter: brightness(41);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
> *:not(.chapter-section__background) {
|
> *:not(.chapter-section__background) {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,13 +53,6 @@
|
||||||
h3 + p {
|
h3 + p {
|
||||||
@apply !mt-3;
|
@apply !mt-3;
|
||||||
}
|
}
|
||||||
p > a {
|
|
||||||
transition: all 0.3s ease-out;
|
|
||||||
@apply underline underline-offset-8;
|
|
||||||
text-decoration-thickness: 1px;
|
|
||||||
|
|
||||||
@apply underlined-link underlined-link--white;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
/* margin-top: -30px !important; */
|
/* margin-top: -30px !important; */
|
||||||
margin-bottom: 20px !important;
|
margin-bottom: 20px !important;
|
||||||
|
|
||||||
a {
|
|
||||||
@apply underlined-link underlined-link--white;
|
|
||||||
}
|
|
||||||
.gfield_description {
|
.gfield_description {
|
||||||
@apply !text-xl !font-light;
|
@apply !text-xl !font-light;
|
||||||
@apply max-w-3xl pb-4;
|
@apply max-w-3xl pb-4;
|
||||||
|
|
@ -45,6 +45,10 @@ article > *:not(.entry-content),
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-content {
|
.site-content {
|
||||||
|
a {
|
||||||
|
/* @apply underline underline-offset-4;
|
||||||
|
text-decoration-thickness: 1px; */
|
||||||
|
}
|
||||||
p,
|
p,
|
||||||
li {
|
li {
|
||||||
strong {
|
strong {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
import menuInit from './header';
|
import menuInit from './header';
|
||||||
import initFooterShapes from './footer';
|
import initFooterShapes from './footer';
|
||||||
import handleScrollTop from './utilities/scroll-top';
|
import handleScrollTop from './utilities/scroll-top';
|
||||||
import handleInsidePageScrolling from './page-scrolling';
|
|
||||||
window.addEventListener('load', function () {
|
window.addEventListener('load', function () {
|
||||||
// menuInit();
|
// menuInit();
|
||||||
initFooterShapes();
|
initFooterShapes();
|
||||||
handleScrollTop();
|
handleScrollTop();
|
||||||
handleInsidePageScrolling();
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
export default function HandleInsidePageScrolling() {
|
|
||||||
const insideLinks = document.querySelectorAll('a[href^="#"]');
|
|
||||||
|
|
||||||
insideLinks.forEach((link) => {
|
|
||||||
link.addEventListener('click', (e) => {
|
|
||||||
e.preventDefault();
|
|
||||||
const target = document.querySelector(link.getAttribute('href'));
|
|
||||||
target?.scrollIntoView({ behavior: 'smooth' });
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user