Skip to content

Commit d6ee8be

Browse files
committed
Use Urbanist font for lead paragraph and card titles
1 parent f703f67 commit d6ee8be

File tree

1 file changed

+9
-8
lines changed
  • site/themes/arangodb-docs-theme/static/css

1 file changed

+9
-8
lines changed

site/themes/arangodb-docs-theme/static/css/theme.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -491,11 +491,11 @@ a.section-link {
491491
}
492492

493493
.card-title {
494+
font-family: var(--font-headlines);
494495
font-weight: 600;
495496
text-overflow: ellipsis;
496497
overflow: hidden;
497-
font-size: 20px;
498-
line-height: 28px;
498+
font-size: 1.3rem;
499499
color: var(--gray-950);
500500
}
501501

@@ -1373,7 +1373,7 @@ article.notfound {
13731373

13741374
hgroup > h1, article > h2, article > h3, article > h4, article > h5, article > h6 {
13751375
color: var(--HEADERS-COLOR);
1376-
font-family: "Urbanist", sans-serif;
1376+
font-family: var(--font-headlines);
13771377
font-weight: var(--TYPOGRAPHY-BOLD-TEXT);
13781378
overflow-wrap: break-word;
13791379
}
@@ -1478,8 +1478,9 @@ article ul li {
14781478
}
14791479

14801480
.lead {
1481-
font-size: 1.3em;
1482-
margin-bottom: 24px;
1481+
font-size: 1.3rem;
1482+
font-family: var(--font-headlines);
1483+
margin-bottom: 1.5rem;
14831484
font-weight: 600;
14841485
color: var(--gray-800);
14851486
}
@@ -1561,14 +1562,14 @@ li > code {
15611562

15621563
.copy-to-clipboard-button::after{
15631564
content: 'Copy';
1564-
font-family: 'Inter', sans-serif;
1565+
font-family: var(--font-content);
15651566
padding: 0 5px;
15661567
font-weight: bold;
15671568
color: var(--green-700);
15681569
}
15691570
.copy-to-clipboard-button.tooltipped::after{
15701571
content: 'Copied';
1571-
font-family: 'Inter', sans-serif;
1572+
font-family: var(--font-content)
15721573
padding: 0 5px;
15731574
font-weight: bold;
15741575
color: var(--green-700);
@@ -1600,7 +1601,7 @@ pre > code {
16001601
pre > .code-show-more {
16011602
font-size: 1rem;
16021603
background: var(--gray-200);
1603-
font-family: "Inter", sans-serif;
1604+
font-family: var(--font-content);
16041605
padding: 5px 5px;
16051606
font-weight: 500;
16061607
opacity: 0.7;

0 commit comments

Comments
 (0)