Skip to content
Snippets Groups Projects
Commit 2fb92288 authored by alexisben's avatar alexisben
Browse files

fix papers in volumes

parent 776e1a90
No related branches found
No related tags found
No related merge requests found
......@@ -5,15 +5,6 @@
a
transition: color 0.3s ease
@extend %underline-on-hover
.paper-actions
display: flex
align-items: start
gap: var(--grid-gutter)
@include media-breakpoint-down(desktop)
flex-wrap: wrap
// justify-content: space
margin-top: $spacing-2
gap: $spacing-2
h3
a:hover
color: var(--color-accent)
......@@ -29,16 +20,6 @@
text-transform: none
span
text-transform: uppercase
@include media-breakpoint-up(lg)
flex-direction: row
> div:first-of-type
width: columns(7)
.paper-actions
width: columns(5)
button[data-open-modal]
width: columns(2)
figure
width: columns(3)
.top + .papers
margin-top: $spacing-3
......@@ -57,6 +38,18 @@
@include media-breakpoint-up(desktop)
margin-top: $spacing-5
.papers__section
.paper-actions
@include media-breakpoint-up(lg)
flex-direction: row
> div:first-of-type
width: columns(7)
.paper-actions
width: columns(5)
button[data-open-modal]
width: columns(2)
figure
width: columns(3)
.papers__page
@include media-breakpoint-down(desktop)
.document-content
......@@ -156,6 +149,12 @@
// Actions
.paper-actions
display: flex
align-items: start
gap: var(--grid-gutter)
@include media-breakpoint-down(desktop)
flex-wrap: wrap
gap: $spacing-3
button.squared-button
@include icon-block(eye, before)
a.squared-button
......
......@@ -37,18 +37,16 @@
&:not(:first-of-type)
margin-top: $spacing-4
.paper
display: block
@include media-breakpoint-down(desktop)
gap: $spacing-3
.paper-actions
> *
width: auto
@include media-breakpoint-down(xxl)
> div:first-of-type
.paper-volume
display: inline-flex
margin-left: $spacing-2
@include media-breakpoint-up(desktop)
@include media-breakpoint-up(xxl)
> div:first-of-type
.paper-volume
padding-left: $spacing-3
.paper-actions
gap: var(--grid-gutter)
margin-top: $spacing-2
a, button
width: unset
\ No newline at end of file
padding-left: $spacing-3
\ 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