fix: 🚨 resolve stylelint errors

This commit is contained in:
Alexis Gousseau 2026-02-10 10:34:25 +01:00
parent 33bbf35f6b
commit 33d87cd8a4
4 changed files with 58 additions and 54 deletions

View file

@ -1,7 +1,6 @@
@use '/node_modules/flag-icons/css/flag-icons.min.css';
@use './fonts';
@use './inputs/wysiwyg';
@tailwind base;
@tailwind components;
@tailwind utilities;
@ -196,7 +195,7 @@ html {
}
.jer-edit-buttons > div:hover {
opacity: 80%;
opacity: 0.8;
}
.jer-copy-pulse:hover {
@ -205,4 +204,4 @@ html {
.jer-collection-item-count {
@apply cursor-pointer;
}
}

View file

@ -16,7 +16,7 @@
@apply cursor-pointer;
}
[data-type="taskList"] > li {
[data-type='taskList'] > li {
@apply flex flex-row justify-start items-center gap-1.5;
}

View file

@ -1,44 +1,45 @@
$primary-color: #ff4e4e;
$secondary-color: #666666;
$tertiary-color: #222222;
$secondary-color: #666;
$tertiary-color: #222;
$quaternary-color: #fff;
.description {
font-weight: 500;
font-size: 14px;
color: $secondary-color;
line-height: 1.75;
display: flow-root;
color: $secondary-color;
font-size: 14px;
font-weight: 500;
line-height: 1.75;
}
.description.small {
font-style: italic;
font-size: 14px;
font-style: italic;
}
.description h1 {
margin-bottom: 0.9em;
font-size: 35px;
line-height: 1.2;
margin-bottom: 0.9em;
}
.description h2 {
margin-bottom: 0.7em;
font-size: 28px;
line-height: 1.2;
margin-bottom: 0.7em;
}
.description h3 {
margin-bottom: 15px;
color: $tertiary-color;
font-size: 24px;
font-weight: 500;
line-height: 1.3;
font-size: 24px;
color: $tertiary-color;
margin-bottom: 15px;
}
.description h4 {
font-weight: 700;
font-size: 18px;
margin-bottom: 10px;
font-size: 18px;
font-weight: 700;
}
.description p {
@ -53,10 +54,6 @@ $tertiary-color: #222222;
color: $tertiary-color;
}
.description a:hover {
cursor: pointer;
}
.description a:not(.btn) {
display: contents;
color: $primary-color;
@ -64,6 +61,7 @@ $tertiary-color: #222222;
}
.description a:hover {
cursor: pointer;
text-decoration: none;
}
@ -77,40 +75,40 @@ $tertiary-color: #222222;
}
.description ol {
list-style: decimal;
padding-left: 0.75rem;
list-style: decimal;
}
.description ol li::marker {
font-size: 12px;
margin-right: 12px;
margin-top: 6px;
margin-right: 12px;
font-size: 12px;
}
.description ul li {
display: flex;
list-style: none;
font-weight: 500;
font-size: 16px;
color: $tertiary-color;
margin-bottom: 15px;
color: $tertiary-color;
font-size: 16px;
font-weight: 500;
list-style: none;
}
.description ul li::before {
content: "\2714 \fe0e";
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
flex: 0 0 auto;
align-items: center;
justify-content: center;
border-radius: 100%;
background: $primary-color;
font-size: 12px;
color: white;
line-height: 1;
margin-right: 12px;
margin-top: 6px;
margin-right: 12px;
background: $primary-color;
color: $quaternary-color;
content: '\2714 \fe0e';
font-size: 12px;
line-height: 1;
}
.description figure figcaption {
@ -118,53 +116,61 @@ $tertiary-color: #222222;
}
.description blockquote,
/* stylelint-disable-next-line selector-class-pattern */
.manifest__quote {
font-size: 30px;
margin-bottom: 15px;
font-size: 30px;
}
.description blockquote,
/* stylelint-disable-next-line selector-class-pattern */
.quote__text {
color: #222222;
width: 90%;
font-family: "Satisfy";
margin-bottom: 20px;
color: #222;
font-family: Satisfy, cursive;
font-size: 2vw;
line-height: 1.4;
margin-bottom: 20px;
}
.description blockquote::before,
.description blockquote::after,
/* stylelint-disable-next-line selector-class-pattern */
.quote__text::before,
/* stylelint-disable-next-line selector-class-pattern */
.quote__text::after {
content: '"';
color: #ff4e4e;
color: $primary-color;
content: '"';
}
/* stylelint-disable-next-line no-descending-specificity */
.description blockquote p,
/* stylelint-disable-next-line no-descending-specificity, selector-class-pattern */
.quote__text p {
display: inline;
display: inline;
}
@media screen and (max-width: 1240px) {
@media screen and (width <= 1240px) {
.description {
font-size: 14px;
}
}
@media screen and (max-width: 767px) {
@media screen and (width <= 767px) {
.description {
font-size: 17px;
}
.description h3 {
line-height: 1.3;
font-size: 24px;
line-height: 1.3;
}
.description ul li {
font-size: 17px;
}
.description ul li::before {
color: white !important;
color: $quaternary-color !important;
}
}

View file

@ -1,13 +1,12 @@
#newsletter-message {
margin: 6px 0;
&.text-success {
color: green;
color: #008000;
}
&.text-danger {
color: red;
color: #f00;
}
&.d-none {