Edit base and home templates

This commit is contained in:
Paul Nicoué 2022-07-01 16:04:59 +02:00
parent 6b0eaaaa22
commit 797abd2dea
8 changed files with 120 additions and 22 deletions

1
assets/css/style.min.css vendored Normal file
View file

@ -0,0 +1 @@
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}body{min-height:100vh;overflow-x:hidden;display:-ms-grid;display:grid;grid:"header main" 1fr "footer main" auto/auto 1fr}header{grid-area:header}main{grid-area:main}footer{grid-area:footer}/*# sourceMappingURL=style.min.css.map */

View file

@ -0,0 +1 @@
{"version":3,"sourceRoot":"","sources":["partials/_minireset.css","style.scss"],"names":[],"mappings":"AAIA,yGAuBI,SACA,UAGJ,kBAMI,eACA,mBAGJ,GACI,gBAGJ,oBAGI,SAGJ,KACI,sBAGJ,qBACI,mBAGJ,UAEI,YACA,eAGJ,OACI,SAGJ,MACI,yBACA,iBAGJ,MAEI,UC7DJ,KACC,iBACA,kBACA,iBACA,aACA,KACC,8CAKF,OACC,iBAGD,KACC,eAGD,OACC","file":"style.min.css"}

View file

@ -13,6 +13,29 @@
// General grid layout
body {
min-height: 100vh;
overflow-x: hidden;
display: -ms-grid;
display: grid;
grid:
'header main' 1fr
'footer main' auto
/ auto 1fr;
}
header {
grid-area: header;
}
main {
grid-area: main;
}
footer {
grid-area: footer;
}
// ----------------------------------------------------------------------------
// HEADER
// ----------------------------------------------------------------------------