mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-04 12:00:02 +00:00
Removed all google fonts (#96)
* removed all google fonts * formatting fix * formatting fix
This commit is contained in:
parent
d241655dc8
commit
f7b9ccd7b1
@ -12,10 +12,7 @@
|
||||
{%endif%}
|
||||
|
||||
<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>
|
||||
<body class="theme-{{meta.baseTheme}} markdown-preview-view">
|
||||
<div class="content centered">
|
||||
|
@ -32,9 +32,6 @@
|
||||
<link href="{{style}}" rel="stylesheet">
|
||||
{%- 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' %}
|
||||
|
||||
{% if metatags %}
|
||||
|
@ -554,7 +554,7 @@ ul.task-list {
|
||||
}
|
||||
|
||||
.callout {
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-family: var(--font-default);
|
||||
word-wrap: break-word;
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
|
@ -606,13 +606,10 @@ body {
|
||||
--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 {
|
||||
--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-interface-override: '??';
|
||||
--font-interface-theme: '??';
|
||||
@ -725,10 +722,6 @@ body {
|
||||
.app-container.no-transition * {
|
||||
transition: none !important;
|
||||
}
|
||||
.app-container.is-text-garbled * {
|
||||
font-family: 'Flow Circular', sans-serif !important;
|
||||
line-height: 1.45em !important;
|
||||
}
|
||||
.horizontal-main-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -53,13 +53,13 @@ button {
|
||||
.theme-dark {
|
||||
background: var(--background-primary);
|
||||
color: var(--text-normal);
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-family: var(--font-default);
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
background: white;
|
||||
color: black;
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-family: var(--font-default);
|
||||
}
|
||||
|
||||
a.is-unresolved {
|
||||
|
Loading…
x
Reference in New Issue
Block a user