Skip to content

Commit

Permalink
fix font settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisugi committed Jun 3, 2022
1 parent 7d8ec87 commit 3c5db60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ math: katex

<!-- _class: lead -->

# **Marpで研究室の発表スライドを作る**
# Marpで研究室の発表スライドを作る

#### 〜Beamerを卒業しよう〜

Expand Down
5 changes: 3 additions & 2 deletions themes/academic.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* @theme academic */

@import 'gaia';
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

:root {
Expand All @@ -12,14 +12,15 @@

section {
background-image: none;
font-family: 'Noto Sans', sans-serif;
font-family: 'Noto Sans JP', sans-serif;
padding-top: 110px;
padding-left: 40px;
padding-right: 40px;
}

/* https://github.com/marp-team/marpit/issues/271 */
section::after {
font-weight: 700;
content: attr(data-marpit-pagination) '/' attr(data-marpit-pagination-total);
}

Expand Down

0 comments on commit 3c5db60

Please sign in to comment.