add footer and style home
This commit is contained in:
parent
1d135a1b7d
commit
61c1067f22
14 changed files with 364 additions and 447 deletions
38
assets/css/src/header.css
Normal file
38
assets/css/src/header.css
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#header {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: calc(var(--unit--vertical) * 5);
|
||||
padding: var(--unit--vertical) var(--unit--horizontal);
|
||||
|
||||
transition: height 0.2s ease-in-out;
|
||||
}
|
||||
#header.minimized {
|
||||
height: calc(var(--unit--vertical) * 3);
|
||||
}
|
||||
#logo {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#header.open #actuel {
|
||||
color: var(--color-background);
|
||||
}
|
||||
#logo #actuel {
|
||||
color: var(--color-primary--transparent);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
margin-left: calc(var(--unit--horizontal) * 2);
|
||||
}
|
||||
#logo #inactuel {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
color: var(--color-secondary);
|
||||
bottom: -48%;
|
||||
transition: bottom 0.2s ease-in-out;
|
||||
}
|
||||
#header.minimized #logo #inactuel {
|
||||
bottom: 0%;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue