add sort & view for species

This commit is contained in:
Julie Blanc 2026-02-15 23:14:52 +01:00
parent 718ca47696
commit 6fff7422e8
26 changed files with 1448 additions and 432 deletions

View file

@ -2,7 +2,7 @@
.home--section-tool{
background-color: var(--color);
background-color: var(--data-color);
&[data-type="base-connaissance"],
&[data-type="livrets"]{
color: var(--white);
@ -10,14 +10,6 @@
}
#main_home {
--max-w-home: 1100px;
section {
@ -38,18 +30,15 @@
}
.section--header {
margin-bottom: calc(var(--spacing) * 4);
display: grid;
// grid-template-columns: 3fr 2fr;
grid-template-columns: 1fr 440px;
margin-bottom: calc(var(--spacing) * 4);
display: grid;
grid-template-columns: 1fr 440px;
gap: calc(var(--spacing)*1);
}
.section--title {
font-size: 2.8rem;
font-family: var(--font-title);
// margin-bottom: calc(var(--spacing) * 1.5);
grid-column: span 2;
}
@ -90,8 +79,6 @@
text-align: center;
width: 100%;
max-width: 100%;
}
.section--title {
@ -132,9 +119,8 @@
min-width: 12ch;
text-align: center;
border: 1.5px solid var(--color);
color: var(--color);
border: 1.5px solid var(--data-color);
color: var(--data-color);
display: inline-flex;
align-items: center;
@ -145,7 +131,7 @@
cursor: pointer;
&:hover {
background-color: var(--color-light);
background-color: var(--data-color-light);
}
@ -153,20 +139,12 @@
a {
text-decoration: none;
color: var(--color);
color: var(--data-color);
font-weight: bold;
/* &::after{
content: ""
} */
}
}
.see-more {
display: block;
// color: var(--color-txt);
// font-weight: bold;
padding-top: calc(var(--unit)*1.5);
}
}