Skip to content
Snippets Groups Projects
Commit af9dff72 authored by Olivia206's avatar Olivia206
Browse files

wip porfolio alternate layout

parent 14f00cd7
No related branches found
No related tags found
No related merge requests found
...@@ -234,6 +234,7 @@ ...@@ -234,6 +234,7 @@
position: relative position: relative
display: flex display: flex
flex-direction: column flex-direction: column
width: columns(4)
a a
@include stretched-link @include stretched-link
.media .media
......
...@@ -275,6 +275,8 @@ ...@@ -275,6 +275,8 @@
margin-top: -5% margin-top: -5%
+ .post:not(.portrait, .square, .landscape) + .post:not(.portrait, .square, .landscape)
margin-top: -3% margin-top: -3%
article
width: columns(4)
@include media-breakpoint-down(desktop) @include media-breakpoint-down(desktop)
.post .post
.post-meta .post-meta
......
...@@ -35,10 +35,15 @@ ...@@ -35,10 +35,15 @@
@include media-breakpoint-down(desktop) @include media-breakpoint-down(desktop)
.project + .project .project + .project
margin-top: $spacing-4 margin-top: $spacing-4
@include in-page-with-sidebar
article
width: columns(5)
@include in-page-without-sidebar @include in-page-without-sidebar
.top .top
.description .description
@include body-text @include body-text
article
width: columns(7)
.large .large
.project .project
......
...@@ -128,10 +128,9 @@ details ...@@ -128,10 +128,9 @@ details
.alternate .alternate
article article
@include media-breakpoint-up(desktop) @include media-breakpoint-up(desktop)
width: columns(4)
&:not(:first-child) &:not(:first-child)
margin-top: -5% margin-top: -5%
&:nth-child(even) &:nth-child(odd)
margin-left: auto margin-left: auto
&.portrait &.portrait
+ .portrait + .portrait
...@@ -143,7 +142,6 @@ details ...@@ -143,7 +142,6 @@ details
margin-top: -5% margin-top: -5%
&.square + .square &.square + .square
margin-top: -10% margin-top: -10%
@include in-page-with-sidebar
@include in-page-without-sidebar @include in-page-without-sidebar
width: columns(10) width: columns(10)
margin-left: auto margin-left: auto
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment