rename projet template to project
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
This commit is contained in:
parent
4ba0eea9f4
commit
2c8f67d82b
8 changed files with 34 additions and 14 deletions
3
assets/css/src/_global.scss
Normal file
3
assets/css/src/_global.scss
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
button {
|
||||
background-color: transparent;
|
||||
}
|
||||
3
assets/css/src/_index.scss
Normal file
3
assets/css/src/_index.scss
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.projects-index summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
@ -100,10 +100,6 @@ ul {
|
|||
z-index: 0;
|
||||
}
|
||||
|
||||
.projects-index summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
nav {
|
||||
&.filter-menu {
|
||||
display: flex;
|
||||
|
|
@ -136,10 +132,6 @@ nav {
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
button {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button.prev {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
|
|||
26
assets/feedback/feedback.md
Normal file
26
assets/feedback/feedback.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
- refactoring dans des fichiers séparés (home, index…)
|
||||
- certains sélecteurs mal nommés : ex. `#slideshow` correspond à quoi ? Je vois qu’il y a .project-slideshow donc j’imagine que c’est celui de la home mais pas évident. Solution : `[data-template="home"] #slideshow` ou bien `#home-slideshow`.
|
||||
|
||||
```css
|
||||
/* PROJECT SLIDESHOW */
|
||||
|
||||
.project-slideshow {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
/*! width: calc(50vw - var(--body-margin)); */
|
||||
height: fit-content;
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
margin: var(--body-margin) var(--body-margin) var(--body-margin) 0;
|
||||
left: calc(var(--index-width) + var(--body-margin));
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
button {
|
||||
background-color: transparent;
|
||||
}
|
||||
```
|
||||
|
||||
--> Dans une section PROJECT SLIDESHOW je tombe sur un élément html stylisé directement. Je comprends qu'un `background-color: transparent;`peut s'appliquer partout mais ce n'est pas du style spécifique. J'ai l'habitude de faire un fichier \_global.scss dans lequel je stylise les balises HTML non-identifiées / classées.
|
||||
|
|
@ -19,7 +19,7 @@ tabs:
|
|||
layout: cards
|
||||
template: projet
|
||||
search: true
|
||||
info: "{{ page.categorie }}, {{ page.date.toDate('Y') }}"
|
||||
info: "{{ page.category }}, {{ page.date.toDate('Y') }}"
|
||||
sortBy: date desc
|
||||
image:
|
||||
ratio: 12/9
|
||||
|
|
|
|||
1
site/templates/project.php
Normal file
1
site/templates/project.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?= go($page->parent()->url()) ?>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
<h1><?= $site->title() ?></h1>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue