mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-29 05:15:35 -04:00
feat: aligment and setting up grids
This commit is contained in:
parent
c67a8d62ce
commit
ef61c387aa
2 changed files with 27 additions and 3 deletions
|
@ -9,15 +9,35 @@
|
|||
|
||||
}
|
||||
|
||||
.navbar h1,ul {
|
||||
.navbar ul {
|
||||
grid-column: 1 / 2;
|
||||
display: grid;
|
||||
grid-template-rows: repeat(auto-fit, minmax(30px, 1fr));
|
||||
justify-content: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
|
||||
.topbar {
|
||||
grid-row: 1 / 2;
|
||||
grid-column: 1 / 3;
|
||||
}
|
||||
|
||||
.topbar ul {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
|
||||
}
|
||||
|
||||
.topbar h1 {
|
||||
margin-bottom: 50px;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.content {
|
||||
grid-column: 2 / 3;
|
||||
}
|
||||
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue