-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
783 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.cards { | ||
display: grid; | ||
grid-gap: 2rem; | ||
align-items: stretch; | ||
|
||
@screen md { | ||
grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.layout { | ||
@screen md { | ||
display: grid; | ||
min-height: 100vh; | ||
grid-template-columns: minmax(auto, 25rem) 1fr; | ||
grid-template-areas: 'nav content'; | ||
grid-template-columns: minmax(auto, 25rem) 1fr; | ||
} | ||
} | ||
|
||
.layout-nav { | ||
position: fixed; | ||
height: 100vh; | ||
width: auto; | ||
max-width: 100vw; | ||
z-index: 2; | ||
transform: translateX(calc(-100% + 4px)); | ||
transition: transform 0.3s ease; | ||
background-attachment: fixed; | ||
background-image: linear-gradient( | ||
-15deg, | ||
config('colors.grey-dark'), | ||
config('colors.grey-darker') | ||
); | ||
|
||
@screen md { | ||
position: relative; | ||
grid-area: nav; | ||
height: auto; | ||
transform: translateX(0); | ||
} | ||
} | ||
|
||
.layout-content { | ||
grid-area: content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.markup { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.menu-title { | ||
@apply font-condensed; | ||
@apply font-bold; | ||
@apply text-sm; | ||
@apply text-grey; | ||
@apply mt-0 mb-2; | ||
text-transform: uppercase; | ||
} | ||
|
||
.menu { | ||
& li { | ||
@apply my-2; | ||
@apply text-grey-lighter; | ||
|
||
&:before { | ||
@apply bg-red; | ||
position: absolute; | ||
content: ''; | ||
height: 100%; | ||
width: 4px; | ||
left: -2rem; | ||
opacity: 0; | ||
} | ||
|
||
&.active:before { | ||
opacity: 1; | ||
} | ||
|
||
&.active a, | ||
& a:hover { | ||
@apply text-white; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
.nav-toggle { | ||
@apply bg-grey; | ||
@apply text-white; | ||
@apply shadow; | ||
position: absolute; | ||
display: grid; | ||
align-items: center; | ||
justify-content: center; | ||
top: 2rem; | ||
right: 1rem; | ||
width: 2rem; | ||
height: 2rem; | ||
border-radius: 0 500px 500px 500px; | ||
transition: border-radius 0.5s ease, transform 0.5s ease, background-color 0.5s ease; | ||
transform: translateX(3.15rem) rotate(-45deg); | ||
|
||
@screen md { | ||
display: none; | ||
} | ||
} | ||
|
||
.nav-toggle-icon { | ||
width: 1rem; | ||
display: block; | ||
transform: rotate(45deg); | ||
|
||
&:before, | ||
&:after { | ||
@apply bg-white; | ||
display: block; | ||
content: ''; | ||
height: 2px; | ||
width: 100%; | ||
opacity: 0.5; | ||
transition: transform 0.5s ease; | ||
} | ||
|
||
&:before { | ||
transform: translateY(-3px); | ||
} | ||
|
||
&:after { | ||
position: absolute; | ||
top: 0; | ||
transform: translateY(3px); | ||
} | ||
} | ||
|
||
html.nav-is-toggled { | ||
& .layout-nav { | ||
transform: translateX(0); | ||
@apply shadow-lg; | ||
} | ||
|
||
& .nav-toggle { | ||
transform: translateX(-1rem); | ||
border-radius: 500px; | ||
@apply shadow-none; | ||
} | ||
|
||
& .nav-toggle-icon { | ||
&:before { | ||
transform: translateY(0); | ||
} | ||
|
||
&:after { | ||
transform: translateY(0) rotate(90deg); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.grid { | ||
display: grid; | ||
} | ||
|
||
.justify-self-start { | ||
justify-self: start; | ||
} | ||
|
||
.justify-self-center { | ||
justify-self: center; | ||
} | ||
|
||
.justify-self-end { | ||
justify-self: end; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.