Skip to content

Commit

Permalink
fix: fonts and broken cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
littlecube8152 committed Aug 7, 2024
1 parent a866683 commit dd5d884
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
5 changes: 4 additions & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
<meta name="robots" content="all,follow">
<meta name="googlebot" content="index,follow,snippet,archive">
<meta name="google-site-verification" content="OQ_9U47lnsbNF2bY2B6jTk8Ea7wqE_fu7ou8CAMe388" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Noto+Sans+TC:wght@100..900&display=swap" rel="stylesheet">
<script src="https://code.iconify.design/1/1.0.7/iconify.min.js"></script>
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/twemoji@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script>
window.onload = function() {
// Parses the document body and
Expand Down
2 changes: 1 addition & 1 deletion static/css/prism.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ code[class*=language-],
pre[class*=language-] {
color: #ccc;
background: 0 0;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-family: 'Consolas', Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;
white-space: pre;
Expand Down
9 changes: 4 additions & 5 deletions static/css/style-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1543,10 +1543,10 @@ pre code {

code {
padding: 0 5px;
border: 1px dotted #666;
border-radius: 2px;
-webkit-border-radius: 2px;
/* font-family: "Consolas"; */
border: 3px dotted #666;
border-radius: 7px;
-webkit-border-radius: 7px;
font-family: "JetBrains Mono";
}

.highlight {
Expand All @@ -1563,7 +1563,6 @@ code {
margin: -5px 0 5px;
color: #666;
font-size: 0.9em;
zoom: 1;
}

.highlight figcaption a {
Expand Down

0 comments on commit dd5d884

Please sign in to comment.