-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3030273
commit e0af788
Showing
9 changed files
with
215 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<script lang="ts"> | ||
export let href: string; | ||
</script> | ||
|
||
<li class="home-list-item"> | ||
<a {href}> | ||
<article> | ||
<header> | ||
<!-- contains span.document-tag --> | ||
<slot name="document-tag" /> | ||
|
||
<!-- contains h1.card-item-title --> | ||
<slot name="title" /> | ||
</header> | ||
|
||
<div class="article-content"> | ||
<!-- contains h1.card-date --> | ||
<slot name="date" /> | ||
|
||
<!-- contains span.card-time --> | ||
<slot name="time" /> | ||
|
||
<!-- contains p.card-item-description --> | ||
<slot name="description" /> | ||
</div> | ||
</article> | ||
</a> | ||
</li> | ||
|
||
<style> | ||
:global(.home-list-item) { | ||
--card-main-padding: 0.7rem; | ||
--card-content-padding: 0.5rem; | ||
} | ||
li { | ||
min-width: 10rem; | ||
position: relative; | ||
} | ||
li:hover { | ||
cursor: pointer; | ||
} | ||
li:hover::after { | ||
position: absolute; | ||
content: ''; | ||
width: calc(100% + 1rem); | ||
height: calc(100% + 1rem); | ||
top: -0.2rem; | ||
left: -0.5rem; | ||
cursor: pointer; | ||
background-color: var(--clr-accent-light); | ||
z-index: -1; | ||
} | ||
article { | ||
position: relative; | ||
} | ||
article > * + * { | ||
margin-top: var(--card-main-padding); | ||
} | ||
:global(.article-content > * + *) { | ||
margin-top: var(--card-content-padding); | ||
} | ||
header { | ||
padding-bottom: var(--card-main-padding); | ||
border-bottom: solid 0.5px lightgrey; | ||
} | ||
:global(.home-list-item header > * + *) { | ||
margin-top: var(--card-content-padding); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule labouvroir
updated
24 files
+0 −0 | evenements/recurrent/_clinique-en.md | |
+8 −0 | evenements/recurrent/_clinique-fr.md | |
+4 −0 | evenements/recurrent/_fika-en.md | |
+16 −0 | evenements/recurrent/_fika-fr.md | |
+3 −0 | projets/0-template-fr.md | |
+1 −0 | projets/ICI-en.md | |
+1 −0 | projets/ICI-fr.md | |
+2 −0 | projets/common-en.md | |
+2 −0 | projets/common-fr.md | |
+1 −0 | projets/digitalmodelsreconstructionProject-en.md | |
+1 −0 | projets/digitalmodelsreconstructionProject-fr.md | |
+2 −0 | projets/encyclopedie-en.md | |
+2 −0 | projets/encyclopedie-fr.md | |
+1 −0 | projets/experts-en.md | |
+1 −0 | projets/experts-fr.md | |
+2 −0 | projets/expots-en.md | |
+2 −0 | projets/expots-fr.md | |
+1 −0 | projets/guidesdeparis-en.md | |
+1 −0 | projets/guidesdeparis-fr.md | |
+2 −0 | projets/reframe-en.md | |
+2 −0 | projets/reframe-fr.md | |
+1 −0 | projets/righettino-fr.md | |
+1 −0 | projets/siteouvroir-en.md | |
+1 −0 | projets/siteouvroir-fr.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.