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
fdf0a170
Commit
fdf0a170
authored
4 years ago
by
shamalainen
Browse files
Options
Downloads
Patches
Plain Diff
Fine tune typography spacing
parent
b28b04e3
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
+11
-20
11 additions, 20 deletions
src/components/hy-hero/hy-hero.scss
with
11 additions
and
20 deletions
src/components/hy-hero/hy-hero.scss
+
11
−
20
View file @
fdf0a170
...
...
@@ -314,20 +314,9 @@
}
h1
{
@include
font-weight
(
$bold
);
box-decoration-break
:
clone
;
color
:
var
(
--
grayscale-black
);
display
:
inline-block
!
important
;
display
:
inline
;
font-family
:
var
(
--
main-font-family
);
font-weight
:
bold
;
hyphens
:
auto
;
letter-spacing
:
-0
.75px
;
margin-bottom
:
12px
!
important
;
max-width
:
100%
;
position
:
relative
;
text-transform
:
uppercase
;
word-wrap
:
break-word
;
@include
breakpoint
(
$narrow
)
{
margin-bottom
:
16px
!
important
;
...
...
@@ -372,31 +361,33 @@
}
}
// TODO: Update this to use styles straight from DSLIB (Ingress).
.hy-hero__description
{
// Ingress Small
@include
font-size
(
16px
,
24px
);
@include
font-size
(
16px
);
color
:
var
(
--
grayscale-black
);
font-family
:
var
(
--
main-font-family
);
font-weight
:
600
;
letter-spacing
:
-0
.1px
;
line-height
:
22px
;
margin
:
0
;
padding
:
0
;
position
:
relative
;
@include
breakpoint
(
$narrow
)
{
// Ingress Medium
@include
font-size
(
18px
,
28px
);
letter-spacing
:
-0
.1px
;
line-height
:
24px
;
}
@include
breakpoint
(
$wide
)
{
@include
font-size
(
18px
,
28px
);
letter-spacing
:
-0
.1px
;
padding
:
16px
40px
20px
0
;
margin-top
:
-8px
;
max-width
:
40
.21%
;
p
osition
:
relative
;
p
adding
:
16px
40px
20px
0
;
}
@include
breakpoint
(
$extrawide
)
{
@include
font-size
(
18px
);
letter-spacing
:
-0
.16px
;
line-height
:
26px
;
max-width
:
40
.13%
;
padding
:
28px
40px
32px
0
;
}
}
...
...
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