Skip to content

Commit

Permalink
Fix theme issue (#932)
Browse files Browse the repository at this point in the history
* Fix theme issue

* Fix theme issue

* test for issue resolve

* another test
  • Loading branch information
wirednkod committed Jan 28, 2024
1 parent b53cf3a commit 73aa301
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion frontpage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,38 @@
<meta charset="utf-8" />
<title>Polkadot Blockchain Academy</title>
<link rel="stylesheet" href="./assets/PBA-theme.css" id="theme" />
<link rel="stylesheet" href="{{{themeUrl}}}" id="theme" />
<link rel="icon" href="./assets/favicon.svg" />
<link rel="shortcut icon" href="./assets/favicon.png" />
<style>
@font-face {
font-family: 'Unbounded';
font-style: normal;
font-weight: 300;
src: url('./fonts/unbounded/Unbounded-Light.woff2');
src: local(''),
url('./fonts/unbounded/Unbounded-Light.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/unbounded/Unbounded-Light.ttf') format('truetype'), /* Safari, Android, iOS */
}

@font-face {
font-family: 'Unbounded';
font-style: normal;
font-weight: 400;
src: url('./fonts/unbounded/Unbounded-Regular.woff2');
src: local(''),
url('./fonts/unbounded/Unbounded-Regular.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/unbounded/Unbounded-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
}

@font-face {
font-family: 'Unbounded';
font-style: normal;
font-weight: 700;
src: url('./fonts/unbounded/Unbounded-Bold.woff2');
src: local(''),
url('./fonts/unbounded/Unbounded-Bold.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/unbounded/Unbounded-Bold.ttf') format('truetype'), /* Safari, Android, iOS */
}
/* local variables */
html {
--font-size: 16px;
Expand Down

0 comments on commit 73aa301

Please sign in to comment.