Removed all google fonts (#96)

* removed all google fonts

* formatting fix

* formatting fix
This commit is contained in:
Utsob Roy 2023-03-06 23:00:10 +06:00 committed by GitHub
parent 9343b198be
commit 82541e6858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 20 deletions

View File

@ -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">

View File

@ -33,9 +33,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 %}

View File

@ -550,7 +550,7 @@ ul.task-list {
}
.callout {
font-family: "Roboto", sans-serif;
font-family: var(--font-default);
word-wrap: break-word;
display: block;
font-size: 1rem;

View File

@ -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;

View File

@ -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 {