Skip to content

Commit 2be8986

Browse files
committed
Headings h1,h2,h3 using font from TeSS Platform design
1 parent 26bd379 commit 2be8986

5 files changed

Lines changed: 76 additions & 47 deletions

File tree

TeSS_docs/_static/custom-classes.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,18 @@ html[data-theme="dark"] article .sd-btn-primary.external:not(:has(img))::after {
2525
/*
2626
article .sd-card :not(p) .external:not(:has(img))::after {
2727
content: none;
28-
}*/
28+
}*/
29+
30+
31+
/*-----Locally hosted font----- assuming the repo is called docs, GHP served within ELIXIRTeSS */
32+
@font-face {
33+
font-family: "PlusJakartaSans-VariableFont_wght";
34+
src: url('./fonts/PlusJakartaSans-VariableFont_wght.woff') format('woff');
35+
}
36+
37+
@font-face {
38+
font-family: "PlusJakartaSans-Italic-VariableFont_wght";
39+
src: url('./fonts/PlusJakartaSans-Italic-VariableFont_wght.woff') format('woff');
40+
font-style: italic;
41+
}
42+

TeSS_docs/_static/favicon.svg

Lines changed: 58 additions & 46 deletions
Loading
Binary file not shown.
76.5 KB
Binary file not shown.

TeSS_docs/_static/sphinx-variables.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ html[data-theme="dark"] {
1616
--pst-color-secondary: #047eaa;
1717
}
1818

19+
h1, h2, h3 {
20+
--pst-font-family-heading: "PlusJakartaSans-VariableFont_wght", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
21+
}

0 commit comments

Comments
 (0)