You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.3 KiB
67 lines
1.3 KiB
.book { |
|
display: flex; |
|
flex-direction: column; |
|
justify-content: flex-start; |
|
width: 100%; |
|
max-width: 22.9375rem; |
|
height: 24.125rem; |
|
margin: 0 0 2rem; |
|
padding: 1.5rem 1rem 2rem; |
|
@media #{$breakpoint-not-small} { padding: 1.5rem 1.85rem 2.1875rem; } |
|
border: solid 2px var(--accent); |
|
background: var(--accent); |
|
|
|
a { |
|
margin: 0; |
|
font-family: $font-family-sans-serif; |
|
color: var(--accent-fg); |
|
text-decoration: none; |
|
text-align: center; |
|
} |
|
|
|
&__title { |
|
margin: 0; |
|
font-size: 1.25rem; |
|
@media #{$breakpoint-not-small} { font-size: 1.75rem; } |
|
font-weight: 500; |
|
line-height: 1.2; |
|
text-align: left; |
|
} |
|
|
|
&__subject { |
|
margin: 0; |
|
font-size: 0.75rem; |
|
@media #{$breakpoint-not-small} { |
|
font-size: 1rem; |
|
} |
|
text-align: left; |
|
} |
|
|
|
&__read-more { |
|
margin: auto 0 0; |
|
font-size: 1rem; |
|
@media #{$breakpoint-not-small} { font-size: 1.125rem; } |
|
text-align: left; |
|
|
|
a { |
|
svg { |
|
width: 1rem; |
|
height: 1rem; |
|
@media #{$breakpoint-not-small} { |
|
width: 1.125rem; |
|
height: 1.125rem; |
|
margin-left: 0.5rem; |
|
} |
|
vertical-align: middle; |
|
} |
|
} |
|
} |
|
|
|
&:last-child { |
|
margin-bottom: 0; |
|
|
|
@media #{$breakpoint-large} { |
|
margin-bottom: 2rem; |
|
} |
|
} |
|
}
|
|
|