Skip to content

Commit

Permalink
修复字体失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjing-xin committed Jul 20, 2024
1 parent 4f823e8 commit 59ba07b
Show file tree
Hide file tree
Showing 43 changed files with 5,651 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ log/
nbproject/private/
build/
nbbuild/
dist/
nbdist/
.nb-gradle/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ public static String slideScript(Settings.SlideConfig slideConfig, String versio
properties.setProperty("themeName", slideConfig.getThemeName());
properties.setProperty("version", version);
final String scriptTmpl = """
<link rel="stylesheet" href="/plugins/plugin-blog-hao/assets/static/libs/revealjs/dist/reset.css" />
<link rel="stylesheet" href="/plugins/plugin-blog-hao/assets/static/libs/revealjs/dist/reveal.css" />
<link rel="stylesheet" href="/plugins/plugin-blog-hao/assets/static/libs/revealjs/dist/theme/${themeName}.css" id="theme">
<script data-pjax src="/plugins/plugin-blog-hao/assets/static/libs/revealjs/dist/reveal.js"></script>
Expand Down
32 changes: 32 additions & 0 deletions src/main/resources/static/libs/revealjs/dist/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* http://meyerweb.com/eric/tools/css/reset/
v4.0 | 20180602
License: none (public domain)
与已有主题的样式产生冲突,暂时注释掉部分功能
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers 语义化标签 */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
display: block;
}
8 changes: 8 additions & 0 deletions src/main/resources/static/libs/revealjs/dist/reveal.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/main/resources/static/libs/revealjs/dist/reveal.esm.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/main/resources/static/libs/revealjs/dist/reveal.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/main/resources/static/libs/revealjs/dist/reveal.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 59ba07b

Please sign in to comment.