mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 04:35:20 +00:00
Removed all google fonts (#96)
* removed all google fonts * formatting fix * formatting fix
This commit is contained in:
parent
9343b198be
commit
82541e6858
@ -12,10 +12,7 @@
|
|||||||
{%endif%}
|
{%endif%}
|
||||||
|
|
||||||
<link href="/styles/custom-style.css" rel="stylesheet">
|
<link href="/styles/custom-style.css" rel="stylesheet">
|
||||||
<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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="theme-{{meta.baseTheme}} markdown-preview-view">
|
<body class="theme-{{meta.baseTheme}} markdown-preview-view">
|
||||||
<div class="content centered">
|
<div class="content centered">
|
||||||
|
@ -33,9 +33,6 @@
|
|||||||
<link href="{{style}}" rel="stylesheet">
|
<link href="{{style}}" rel="stylesheet">
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|
||||||
<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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
|
||||||
{% favicon './src/site/favicon.svg' %}
|
{% favicon './src/site/favicon.svg' %}
|
||||||
|
|
||||||
{% if metatags %}
|
{% if metatags %}
|
||||||
|
@ -550,7 +550,7 @@ ul.task-list {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.callout {
|
.callout {
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: var(--font-default);
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
@ -606,13 +606,10 @@ body {
|
|||||||
--highlight-mix-blend-mode: darken;
|
--highlight-mix-blend-mode: darken;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
|
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Flow+Circular&display=swap');
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
--font-default: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif;
|
--font-default: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
|
;
|
||||||
--font-monospace-default: Menlo, SFMono-Regular, Consolas, "Roboto Mono", 'Source Code Pro', monospace;
|
--font-monospace-default: Menlo, SFMono-Regular, Consolas, "Roboto Mono", 'Source Code Pro', monospace;
|
||||||
--font-interface-override: '??';
|
--font-interface-override: '??';
|
||||||
--font-interface-theme: '??';
|
--font-interface-theme: '??';
|
||||||
@ -725,10 +722,6 @@ body {
|
|||||||
.app-container.no-transition * {
|
.app-container.no-transition * {
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
}
|
}
|
||||||
.app-container.is-text-garbled * {
|
|
||||||
font-family: 'Flow Circular', sans-serif !important;
|
|
||||||
line-height: 1.45em !important;
|
|
||||||
}
|
|
||||||
.horizontal-main-container {
|
.horizontal-main-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -53,13 +53,13 @@ button {
|
|||||||
.theme-dark {
|
.theme-dark {
|
||||||
background: var(--background-primary);
|
background: var(--background-primary);
|
||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: var(--font-default);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light {
|
.theme-light {
|
||||||
background: white;
|
background: white;
|
||||||
color: black;
|
color: black;
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: var(--font-default);
|
||||||
}
|
}
|
||||||
|
|
||||||
a.is-unresolved {
|
a.is-unresolved {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user