Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Theme
Commits
9debbfe7
Commit
9debbfe7
authored
2 years ago
by
alexisben
Browse files
Options
Downloads
Patches
Plain Diff
update block cta
parent
5d2699f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assets/sass/_theme/blocks/call_to_action.sass
+14
-6
14 additions, 6 deletions
assets/sass/_theme/blocks/call_to_action.sass
with
14 additions
and
6 deletions
assets/sass/_theme/blocks/call_to_action.sass
+
14
−
6
View file @
9debbfe7
...
...
@@ -58,22 +58,30 @@
.call_to_action
display
:
flex
flex-direction
:
column
margin-left
:
-
$grid-gutter
margin-right
:
-
$grid-gutter
>
*
order
:
2
>
div
background-color
:
$block-call-to-action-background
padding
:
$grid-gutter
padding
:
col
(
1
,
8
)
width
:
100%
position
:
relative
&
::after
background-color
:
$block-call-to-action-background
content
:
''
display
:
block
position
:
absolute
top
:
0
bottom
:
0
left
:
100%
width
:
Max
(
#{
$grid-gutter
}
,
calc
(
50vw
-
#{
half
(
$grid-max-width
)
}
+
#{
$grid-gutter
}
))
&
--with-image
picture
order
:
1
padding-left
:
$grid-gutter
padding-right
:
$grid-gutter
padding-left
:
col
(
1
,
8
)
padding-right
:
col
(
1
,
8
)
position
:
relative
img
width
:
col
(
3
,
7
)
width
:
col
(
3
,
6
)
margin-bottom
:
calc
(
-
#{
$grid-gutter
}
+
-
#{
$spacing1
}
)
>
div
padding-top
:
calc
(
#{
$grid-gutter
}
+
#{
$spacing3
}
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment