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
6db698c5
Commit
6db698c5
authored
4 years ago
by
Ekaterina Kondareva
Browse files
Options
Downloads
Patches
Plain Diff
text paragraph, styles for content page text paragraph
parent
2bf6eb2d
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/paragraph-text/paragraph-text-content.scss
+27
-43
27 additions, 43 deletions
src/components/paragraph-text/paragraph-text-content.scss
with
27 additions
and
43 deletions
src/components/paragraph-text/paragraph-text-content.scss
+
27
−
43
View file @
6db698c5
...
...
@@ -6,30 +6,40 @@
*/
.hy-paragraph-text.content_page.external
,
.hy-paragraph-text.field_of_science.external
{
margin-top
:
24px
;
margin-top
:
24px
;
//total gap between heading h2 and paragraph content is 48px
@include
breakpoint
(
$narrow
)
{
margin-top
:
16px
;
margin-top
:
16px
;
//total gap 40px
}
@include
breakpoint
(
$wide
)
{
margin-top
:
32px
;
//total gap 56px
}
}
.hy-paragraph-text.content_page
,
.hy-paragraph-text.field_of_science
{
h2
{
// text H2 small
@include
font-size
(
26px
,
32px
);
letter-spacing
:
-0
.8px
;
padding-bottom
:
40px
;
@include
breakpoint
(
$wide
)
{
// text H2 Medium size ?? also for 1200-1440 with sidebar !!!
@include
font-size
(
32px
,
38px
);
letter-spacing
:
-1px
;
// There is a sidebar on the Content page
.hy-paragraph-text.content_page.external.default
,
.hy-paragraph-text.field_of_science.external.default
{
@include
breakpoint
(
$extrawide
)
{
margin-top
:
32px
;
//total gap 56px
}
@include
breakpoint
(
$overwide
)
{
margin-top
:
40px
;
//total gap 64px
}
}
padding-bottom
:
56px
;
}
// No sidebar on the Content page
.hy-paragraph-text.content_page.external.wide
,
.hy-paragraph-text.field_of_science.external.wide
{
@include
breakpoint
(
$extrawide
)
{
margin-top
:
40px
;
//total gap 64px
}
@include
breakpoint
(
$overwide
)
{
margin-top
:
40px
;
//total gap 64px
}
}
.hy-paragraph-text.content_page
,
.hy-paragraph-text.field_of_science
{
h3
{
// text H3 small
@include
font-size
(
22px
,
28px
);
...
...
@@ -116,35 +126,9 @@
padding-top
:
28px
;
}
@include
breakpoint
(
$
over
wide
)
{
@include
breakpoint
(
$wide
)
{
padding-bottom
:
16px
;
padding-top
:
32px
;
}
}
}
// There is a sidebar on the Content page
.hy-paragraph-text.content_page.default
,
.hy-paragraph-text.field_of_science.default
{
h2
{
@include
breakpoint
(
$extrawide
)
{
padding-bottom
:
56px
;
}
@include
breakpoint
(
$overwide
)
{
padding-bottom
:
64px
;
}
}
}
// No sidebar on the Content page
.hy-paragraph-text.content_page.wide
,
.hy-paragraph-text.field_of_science.default
{
h2
{
@include
breakpoint
(
$extrawide
)
{
padding-bottom
:
64px
;
}
@include
breakpoint
(
$overwide
)
{
padding-bottom
:
64px
;
}
}
}
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