Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
design-system-lib
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
julkiset-sivut
design-system-lib
Commits
789f9f0b
Commit
789f9f0b
authored
4 years ago
by
shamalainen
Browse files
Options
Downloads
Patches
Plain Diff
Update hero content spacings
parent
2e38d26e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/hy-hero/hy-hero.scss
+20
-14
20 additions, 14 deletions
src/components/hy-hero/hy-hero.scss
with
20 additions
and
14 deletions
src/components/hy-hero/hy-hero.scss
+
20
−
14
View file @
789f9f0b
...
...
@@ -258,29 +258,27 @@
font-weight
:
bold
;
hyphens
:
auto
;
letter-spacing
:
-0
.75px
;
margin-bottom
:
12px
;
margin-bottom
:
12px
!
important
;
max-width
:
100%
;
position
:
relative
;
text-transform
:
uppercase
;
word-wrap
:
break-word
;
@include
breakpoint
(
$narrow
)
{
margin-bottom
:
16px
!
important
;
max-width
:
87%
!
important
;
}
@include
breakpoint
(
$wide
)
{
margin-bottom
:
0
!
important
;
max-width
:
48
.75%
!
important
;
}
// @include breakpoint($extrawide) {
// max-width: 115% !important;
// }
span
{
padding-top
:
16
px
;
padding-top
:
24
px
;
@include
breakpoint
(
$narrow
)
{
padding-top
:
32
px
;
padding-top
:
40
px
;
}
@include
breakpoint
(
$wide
)
{
...
...
@@ -289,8 +287,8 @@
}
@include
breakpoint
(
$extrawide
)
{
padding-bottom
:
3
0
px
;
padding-top
:
3
6
px
;
padding-bottom
:
3
6
px
;
padding-top
:
3
0
px
;
}
}
}
...
...
@@ -312,17 +310,14 @@
.hy-hero__description
{
// Ingress Small
@include
font-size
(
16px
,
24px
);
color
:
var
(
--
grayscale-black
);
font-family
:
var
(
--
main-font-family
);
font-weight
:
600
;
letter-spacing
:
-0
.1px
;
margin
:
12px
0
20px
0
;
margin
:
0
;
padding
:
0
;
@include
breakpoint
(
$narrow
)
{
margin
:
16px
0
24px
0
;
// Ingress Medium
@include
font-size
(
18px
,
28px
);
letter-spacing
:
-0
.1px
;
...
...
@@ -331,7 +326,6 @@
@include
breakpoint
(
$wide
)
{
@include
font-size
(
18px
,
28px
);
letter-spacing
:
-0
.1px
;
margin
:
0
;
padding
:
16px
40px
20px
0
;
max-width
:
40
.21%
;
position
:
relative
;
...
...
@@ -353,6 +347,18 @@
// }
}
.hy-hero__actions
{
margin-top
:
20px
;
@include
breakpoint
(
$narrow
)
{
margin-top
:
24px
;
}
@include
breakpoint
(
$wide
)
{
margin-top
:
0
;
}
}
// .hy-hero {
// position: relative;
...
...
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