created a page to test out a new layout

This commit is contained in:
2024-07-06 15:46:06 +01:00
parent b504ea6d96
commit f46f6f896e
2 changed files with 56 additions and 3 deletions

View File

@@ -1,16 +1,40 @@
body {
margin: 40px auto;
max-width: 650px;
max-width: 800px;
line-height: 1.8;
font-size: 18px;
color: #454545;
padding: 0 10px;
background: #fbf9f7;
display: grid;
grid-template-columns: 150px auto;
grid-template-areas: "logo title"
"nav content"
"nav foot";
/*gap: 10px;*/
height: 100%;
}
header {
.logo {
grid-area: logo;
}
.title {
grid-area: title;
}
.nav {
grid-area: nav;
display: flex;
align-items: center;
flex-direction: column;
}
.main {
grid-area: content;
}
.footer {
grid-area: foot;
}
a {