mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 00:39:25 +00:00
Added homeNav component
This commit is contained in:
20
src/stylesheets/components/_homeNav.scss
Normal file
20
src/stylesheets/components/_homeNav.scss
Normal file
@@ -0,0 +1,20 @@
|
||||
.homeNav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 0.5em 1em;
|
||||
|
||||
&__buttons {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
align-items: center;
|
||||
justify-items: end;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
@include respond-to('medium') {
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,5 @@
|
||||
|
||||
@import 'base/typography';
|
||||
|
||||
@import 'components/homeNav';
|
||||
@import 'components/button';
|
||||
|
||||
Reference in New Issue
Block a user