Compare commits
2 commits
a1785743c9
...
a737fea100
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a737fea100 | ||
|
|
d44c886e8c |
3 changed files with 18 additions and 4 deletions
|
|
@ -168,13 +168,20 @@
|
|||
transition-delay: 0.1s;
|
||||
}
|
||||
|
||||
/* Mobile — var(--breakpoint-mobile) = 700px */
|
||||
@media screen and (max-width: 700px) {
|
||||
.navbar {
|
||||
min-height: 8vh;
|
||||
padding: 10vh 0 1vh;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.navbar-item {
|
||||
font-size: var(--font-size-paragraph-mobile);
|
||||
padding: 1vmax 1.5vmax;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet — var(--breakpoint-tablet) = 912px */
|
||||
@media screen and (min-width: 701px) and (max-width: 912px) {
|
||||
.navbar-item {
|
||||
font-size: var(--font-size-paragraph-tablet);
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@
|
|||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
/* Mobile — var(--breakpoint-mobile) = 700px */
|
||||
@media screen and (max-width: 700px) {
|
||||
.menu-list {
|
||||
font-size: var(--font-size-subtitle-mobile);
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Tablet */
|
||||
/* Tablet — var(--breakpoint-tablet) = 912px */
|
||||
@media screen and (min-width: 701px) and (max-width: 912px) {
|
||||
.menu-list {
|
||||
font-size: var(--font-size-title-section-tablet);
|
||||
|
|
|
|||
|
|
@ -6,6 +6,13 @@
|
|||
--color-background: #000;
|
||||
--color-text: #fff;
|
||||
|
||||
/* BREAKPOINTS (référence — non utilisables directement dans @media)
|
||||
* --breakpoint-mobile : 700px
|
||||
* --breakpoint-tablet : 912px
|
||||
*/
|
||||
--breakpoint-mobile: 700px;
|
||||
--breakpoint-tablet: 912px;
|
||||
|
||||
/* Z-INDEX SCALE
|
||||
* --z-base : éléments décoratifs (lignes verticales, bg)
|
||||
* --z-content : contenu de slides (textes, overlays légers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue