Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EBI-Framework
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ebiwd
EBI-Framework
Commits
b9aa4f80
Commit
b9aa4f80
authored
7 years ago
by
khawkins98
Browse files
Options
Downloads
Patches
Plain Diff
Specify header weights as variables
parent
6765541a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
css/ebi-css-build/_ebi_base_styles.scss
+6
-2
6 additions, 2 deletions
css/ebi-css-build/_ebi_base_styles.scss
css/ebi-css-build/_ebi_theme_settings.scss
+9
-2
9 additions, 2 deletions
css/ebi-css-build/_ebi_theme_settings.scss
with
15 additions
and
4 deletions
css/ebi-css-build/_ebi_base_styles.scss
+
6
−
2
View file @
b9aa4f80
@mixin
ebi-base-styles
{
body
h1
,
body
h2
,
body
h3
,
body
h4
,
body
h5
{
font-weight
:
300
;
letter-spacing
:
-.5px
}
li
{
word-wrap
:
break-word
;
}
h1
{
font-weight
:
$global-weight-h1
;
}
h2
{
font-weight
:
$global-weight-h2
;
}
h3
{
font-weight
:
$global-weight-h3
;
}
h4
{
font-weight
:
$global-weight-h4
;
}
h5
{
font-weight
:
$global-weight-h5
;
}
a
,
a
:visited
{
border-bottom-width
:
1px
;
...
...
This diff is collapsed.
Click to expand it.
css/ebi-css-build/_ebi_theme_settings.scss
+
9
−
2
View file @
b9aa4f80
...
...
@@ -42,7 +42,7 @@ $body-font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
$body-font-family-serif
:
'EB Garamond'
,
'georgia'
,
serif
;
$code-font-family
:
Consolas
,
'Liberation Mono'
,
Courier
,
monospace
;
$table-font-family
:
$code-font-family
;
$table-font-size
:
0
.9
rem
;
$table-font-size
:
1
rem
;
// masthead
$masthead-background
:
$secondary-color
;
...
...
@@ -68,11 +68,18 @@ $tag-color: $label-background;
$tag-font-size
:
0
.8rem
;
$tag-padding
:
0
.33333rem
0
.5rem
;
// Headlines
$global-weight-h1
:
300
;
$global-weight-h2
:
400
;
$global-weight-h3
:
400
;
$global-weight-h4
:
400
;
$global-weight-h5
:
400
;
// These don't do anything yet...
$global-margin
:
1rem
;
$global-padding
:
1rem
;
$global-weight-normal
:
normal
;
$global-weight-bold
:
7
00
;
$global-weight-bold
:
5
00
;
$global-radius
:
0
;
$global-font-size
:
100%
;
$global-width
:
rem-calc
(
1200
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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