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

Merge branch 'main', commit '798a3dac' of github.com:osunyorg/theme

parents 798a3dac 1929b4c0
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ $button-selector: "a:first-child"
grid-column: 8/13
figcaption
margin-top: $spacing-2
.call_to_action--without-image
.call_to_action--without-image:not(.call_to_action--without_text)
display: block
> div
@include grid
......
......@@ -19,6 +19,7 @@
a
@include stretched-link(before)
text-decoration: none
color: inherit
&::after
bottom: space(3)
position: absolute
......
......@@ -92,7 +92,8 @@ $hero-height: 300px !default
$hero-height-desktop: 500px !default
$hero-color: var(--color-text) !default
$hero-background-color: var(--color-background-alt) !default
$hero-credit-color: var(--color-text-alt) !default
$hero-credit-color: $color-text-alt !default
$hero-credit-color-desktop: $hero-credit-color !default
// Breadcrumb
$breadcrumb-color: $hero-color !default
......
......@@ -123,9 +123,10 @@
width: columns(8)
@mixin collapsed-figcaption
// TODO: remove hero specifics variables
figcaption
@include meta
color: var(--color-text-alt)
color: $hero-credit-color
position: absolute
display: block
left: 0
......@@ -157,6 +158,7 @@
.credit
display: block
@include media-breakpoint-up(desktop)
color: $hero-credit-color-desktop
&:before
padding-right: 0
@include media-breakpoint-down(desktop)
......
......@@ -6,7 +6,7 @@
<div class="{{ $block_class }}">
<div class="container">
<div class="block-content">
<div class="call_to_action call_to_action--with{{ if not .image }}out{{ end }}-image {{ if $block.title }}call_to_action--with-title{{ end }}">
<div class="call_to_action call_to_action--with{{ if not .image }}out{{ end }}-image {{ if $block.title }}call_to_action--with-title{{ end }} {{- if not .top.description }} call_to_action--without_text {{ end -}}">
<div>
{{ partial "blocks/top.html" $block.top }}
{{- if .buttons }}
......
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