Skip to content

Commit

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

* Fix theme issue
  • Loading branch information
wirednkod authored Jan 16, 2024
1 parent c5fc250 commit 366a9db
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 114 deletions.
227 changes: 114 additions & 113 deletions assets/styles/PBA-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,120 @@
* More info https://github.com/webpro/reveal-md#theme & https://revealjs.com/themes/
**/

/*********************************************
* NAVIGATION CONTROLS
*********************************************/
.reveal .controls {
color: var(--r-color-controls);
}

/*********************************************
* PROGRESS BAR
*********************************************/
.reveal .progress {
background: rgba(0, 0, 0, 0.2);
color: var(--r-color-controls);
height: 0.15em;
}

/*********************************************
* PRINT BACKGROUND
*********************************************/
@media print {
.backgrounds {
background-color: var(--r-background-color);
}
}

/*********************************************
* FONTS
*********************************************/
/* font: unbounded https://unbounded.polkadot.network/ */
@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 */
}

/* fonts: work-sans-regular - latin https://google-webfonts-helper.herokuapp.com/fonts/work-sans/work-sans?subsets=latin */
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 400;
src: local(''),
url('./fonts/work-sans/work-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/work-sans/work-sans-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/work-sans/work-sans-v17-latin-regular.svg#WorkSans') format('svg'); /* Legacy iOS */
}

/* work-sans-800 - latin */
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 800;
src: url('./fonts/work-sans/work-sans-v17-latin-800.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/work-sans/work-sans-v17-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/work-sans/work-sans-v17-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-800.woff') format('woff'), /* Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/work-sans/work-sans-v17-latin-800.svg#WorkSans') format('svg'); /* Legacy iOS */
}

/* work-sans-italic - latin */
@font-face {
font-family: 'Work Sans';
font-style: italic;
font-weight: 400;
src: url('./fonts/work-sans/work-sans-v17-latin-italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/work-sans/work-sans-v17-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/work-sans/work-sans-v17-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-italic.woff') format('woff'), /* Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/work-sans/work-sans-v17-latin-italic.svg#WorkSans') format('svg'); /* Legacy iOS */
}

/* work-sans-800italic - latin */
@font-face {
font-family: 'Work Sans';
font-style: italic;
font-weight: 800;
src: url('./fonts/work-sans/work-sans-v17-latin-800italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/work-sans/work-sans-v17-latin-800italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/work-sans/work-sans-v17-latin-800italic.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-800italic.woff') format('woff'), /* Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-800italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/work-sans/work-sans-v17-latin-800italic.svg#WorkSans') format('svg'); /* Legacy iOS */
}

/*********************************************
* GLOBAL STYLES
*********************************************/
Expand Down Expand Up @@ -506,116 +620,3 @@ a {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

/*********************************************
* NAVIGATION CONTROLS
*********************************************/
.reveal .controls {
color: var(--r-color-controls);
}

/*********************************************
* PROGRESS BAR
*********************************************/
.reveal .progress {
background: rgba(0, 0, 0, 0.2);
color: var(--r-color-controls);
height: 0.15em;
}

/*********************************************
* PRINT BACKGROUND
*********************************************/
@media print {
.backgrounds {
background-color: var(--r-background-color);
}
}

/*********************************************
* FONTS
*********************************************/
/* font: unbounded https://unbounded.polkadot.network/ */
@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 */
}

/* fonts: work-sans-regular - latin https://google-webfonts-helper.herokuapp.com/fonts/work-sans/work-sans?subsets=latin */
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 400;
src: local(''),
url('./fonts/work-sans/work-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/work-sans/work-sans-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/work-sans/work-sans-v17-latin-regular.svg#WorkSans') format('svg'); /* Legacy iOS */
}

/* work-sans-800 - latin */
@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 800;
src: url('./fonts/work-sans/work-sans-v17-latin-800.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/work-sans/work-sans-v17-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/work-sans/work-sans-v17-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-800.woff') format('woff'), /* Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/work-sans/work-sans-v17-latin-800.svg#WorkSans') format('svg'); /* Legacy iOS */
}

/* work-sans-italic - latin */
@font-face {
font-family: 'Work Sans';
font-style: italic;
font-weight: 400;
src: url('./fonts/work-sans/work-sans-v17-latin-italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/work-sans/work-sans-v17-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/work-sans/work-sans-v17-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-italic.woff') format('woff'), /* Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/work-sans/work-sans-v17-latin-italic.svg#WorkSans') format('svg'); /* Legacy iOS */
}

/* work-sans-800italic - latin */
@font-face {
font-family: 'Work Sans';
font-style: italic;
font-weight: 800;
src: url('./fonts/work-sans/work-sans-v17-latin-800italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('./fonts/work-sans/work-sans-v17-latin-800italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./fonts/work-sans/work-sans-v17-latin-800italic.woff2') format('woff2'), /* Super Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-800italic.woff') format('woff'), /* Modern Browsers */
url('./fonts/work-sans/work-sans-v17-latin-800italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('./fonts/work-sans/work-sans-v17-latin-800italic.svg#WorkSans') format('svg'); /* Legacy iOS */
}
2 changes: 1 addition & 1 deletion frontpage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ <h1>PBA Slides</h1>
<span class="slide-card-name">Cohort #4 - Hong Kong (2024)</span>
</a>
</li>
</ul>
</div>
</main>

</body>
Expand Down

0 comments on commit 366a9db

Please sign in to comment.