Skip to content

Commit

Permalink
introduced grid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
to7m committed Aug 5, 2024
1 parent aa69c1b commit cc0a103
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
9 changes: 9 additions & 0 deletions public_html/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public_html/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion scss/body/_aside.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
@use "text";


aside {
grid-area: aside;

align-self: start;
}

.social-media-name { @include accessibility.non-bitmap-media-only; }
.social-media-logo { @include accessibility.bitmap-media-only; }

#facebook .social-media-logo { @include text.prepend_icon("facebook") }
#instagram .social-media-logo { @include text.prepend_icon("instagram") }
#x .social-media-logo { @include text.prepend_icon("x") }
#linkedin .social-media-logo { @include text.prepend_icon("linkedin2") }

8 changes: 8 additions & 0 deletions scss/body/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
body {
background-color: colours.$white;

display: grid;
grid-template-rows: 100vh auto auto;
grid-template-columns: 200px 1fr;
grid-template-areas:
"aside header"
"aside main"
"aside footer";

@include text.normal_text_sizes;
color: colours.$black;
}

0 comments on commit cc0a103

Please sign in to comment.