Skip to content

Commit 7c4c122

Browse files
committed
Use styles from vocabulary package for headings
Styles in styles.scss were created as temporary before the vocabulary package is ready. Since the styles for headings are available in vocabulary package now, they were removed from the styles.scss.
1 parent 785c7b4 commit 7c4c122

File tree

5 files changed

+9
-50
lines changed

5 files changed

+9
-50
lines changed

src/components/HelpSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="help-section">
3-
<h3 class="vocab ha h3a">
3+
<h3 class="vocab">
44
{{ $t('help.heading') }}
55
</h3>
66
<ul class="help-links">

src/components/LicenseDetailsCard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div class="selected-license-card">
3-
<h3 class="vocab ha h3a">
3+
<h3 class="vocab">
44
{{ $t('license-details-card.heading') }}
55
</h3>
6-
<h4 class="vocab h4b hb">
6+
<h4 class="vocab b-header">
77
<a
88
:href="licenseUrl('web')"
99
class="license-name"

src/components/LicenseUseCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="license-use-card">
3-
<h4 class="vocab h4b hb">
3+
<h4 class="vocab b-header">
44
{{ $t('license-use.heading') }}
55
</h4>
66
<p class="license-use-instructions">

src/components/Stepper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
:class="['step-header']"
1010
@click="setActiveStep(step.id)"
1111
>
12-
<h5 class="step-title vocab hb h5b">
12+
<h5 class="step-title vocab b-header">
1313
{{ $t(stepHeaderText(step.name, step.status)) }}
1414
</h5>
1515
</div>

src/styles/vocab.scss

Lines changed: 4 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,3 @@
1-
/* Vocabulary Header styles */
2-
.vocab.ha {
3-
font-family: Roboto Condensed,sans-serif;
4-
font-weight: bold;
5-
font-style: normal;
6-
letter-spacing: 0.02em;
7-
padding-bottom: 0.5rem;
8-
}
9-
.vocab.hb {
10-
font-family: Source Sans Pro,sans-serif;
11-
font-weight: bold;
12-
font-style: normal;
13-
padding-bottom: 0.5rem;
14-
}
15-
.vocab.h2a {
16-
color: black;
17-
font-size: 36px;
18-
line-height: 47px;
19-
}
20-
.vocab.h3a {
21-
font-size: 28px;
22-
line-height: 36px;
23-
color: black;
24-
}
25-
.vocab.h3b {
26-
font-size: 28px;
27-
line-height: 33px;
28-
}
29-
.vocab.h4a {
30-
font-size: 23px;
31-
line-height: 30px;
32-
}
33-
.vocab.h4b {
34-
font-size: 23px;
35-
line-height: 27px;
36-
}
37-
.vocab.h5a {
38-
font-size: 20px;
39-
line-height: 30px;
40-
}
41-
.vocab.h5b {
42-
font-size: 20px;
43-
line-height: 26px;
44-
}
45-
461
/* Vocabulary Text styles */
472
.vocab-body {
483
font-style: normal;
@@ -86,3 +41,7 @@
8641
width: 35px;
8742
height: 35px;
8843
}
44+
// Remove underlines from Previous/Next buttons
45+
a, a:hover {
46+
text-decoration: none;
47+
}

0 commit comments

Comments
 (0)