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

alternate for projects

parent af9dff72
No related branches found
No related tags found
No related merge requests found
......@@ -35,15 +35,21 @@
@include media-breakpoint-down(desktop)
.project + .project
margin-top: $spacing-4
@include in-page-with-sidebar
article
width: columns(5)
@include in-page-without-sidebar
.top
.description
@include body-text
article
width: columns(7)
@include media-breakpoint-up(desktop)
article
+ article
margin-top: $spacing-6
&:nth-child(odd)
margin-left: auto
@include in-page-with-sidebar
article
width: columns(5)
@include in-page-without-sidebar
.top
.description
@include body-text
article
width: columns(7)
.large
.project
......
......@@ -126,23 +126,24 @@ details
top: 0
.alternate
article
@include media-breakpoint-up(desktop)
&:not(:first-child)
margin-top: -5%
&:nth-child(odd)
margin-left: auto
&.portrait
+ .portrait
margin-top: -30%
+ .square,
+ .landscape
margin-top: -15%
+ article:not(.portrait, .square, .landscape)
.block:not(.block-projects) &
article
@include media-breakpoint-up(desktop)
&:not(:first-child)
margin-top: -5%
&.square + .square
margin-top: -10%
@include in-page-without-sidebar
width: columns(10)
margin-left: auto
margin-right: auto
\ No newline at end of file
&:nth-child(odd)
margin-left: auto
&.portrait
+ .portrait
margin-top: -30%
+ .square,
+ .landscape
margin-top: -15%
+ article:not(.portrait, .square, .landscape)
margin-top: -5%
&.square + .square
margin-top: -10%
@include in-page-without-sidebar
width: columns(10)
margin-left: auto
margin-right: auto
\ No newline at end of file
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