Skip to content

Commit 950d3df

Browse files
committed
chore: Update font family and font weight in mermaid.js and _global.scss
1 parent 9a1d5d8 commit 950d3df

File tree

7 files changed

+43
-121
lines changed

7 files changed

+43
-121
lines changed

assets/js/mermaid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import mermaid from 'mermaid';
22

33
var config = {
44
theme: 'default',
5-
fontFamily: '"Jost", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',
5+
fontFamily: '"Nunito", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";',
66
};
77

88
document.addEventListener('DOMContentLoaded', () => {

assets/scss/common/_fonts.scss

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,2 @@
1-
/* jost-regular - latin */
2-
@font-face {
3-
font-family: Jost;
4-
font-style: normal;
5-
font-weight: 400;
6-
font-display: swap;
7-
src:
8-
local("Jost"),
9-
url("fonts/vendor/jost/jost-v4-latin-regular.woff2") format("woff2"),
10-
url("fonts/vendor/jost/jost-v4-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
11-
}
121

13-
/* jost-500 - latin */
14-
@font-face {
15-
font-family: Jost;
16-
font-style: normal;
17-
font-weight: 500;
18-
font-display: swap;
19-
src:
20-
local("Jost"),
21-
url("fonts/vendor/jost/jost-v4-latin-500.woff2") format("woff2"),
22-
url("fonts/vendor/jost/jost-v4-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
23-
}
242

25-
/* jost-700 - latin */
26-
@font-face {
27-
font-family: Jost;
28-
font-style: normal;
29-
font-weight: 700;
30-
font-display: swap;
31-
src:
32-
local("Jost"),
33-
url("fonts/vendor/jost/jost-v4-latin-700.woff2") format("woff2"),
34-
url("fonts/vendor/jost/jost-v4-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
35-
}
36-
37-
/* jost-italic - latin */
38-
@font-face {
39-
font-family: Jost;
40-
font-style: italic;
41-
font-weight: 400;
42-
font-display: swap;
43-
src:
44-
local("Jost"),
45-
url("fonts/vendor/jost/jost-v4-latin-italic.woff2") format("woff2"),
46-
url("fonts/vendor/jost/jost-v4-latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
47-
}
48-
49-
/* jost-500italic - latin */
50-
@font-face {
51-
font-family: Jost;
52-
font-style: italic;
53-
font-weight: 500;
54-
font-display: swap;
55-
src:
56-
local("Jost"),
57-
url("fonts/vendor/jost/jost-v4-latin-500italic.woff2") format("woff2"),
58-
url("fonts/vendor/jost/jost-v4-latin-500italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
59-
}
60-
61-
/* jost-700italic - latin */
62-
@font-face {
63-
font-family: Jost;
64-
font-style: italic;
65-
font-weight: 700;
66-
font-display: swap;
67-
src:
68-
local("Jost"),
69-
url("fonts/vendor/jost/jost-v4-latin-700italic.woff2") format("woff2"),
70-
url("fonts/vendor/jost/jost-v4-latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
71-
}

assets/scss/common/_global.scss

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ body.docs {
6969

7070
.home h1 {
7171
/* font-size: calc(1.375rem + 1.5vw); */
72-
font-size: calc(1.875rem + 1.5vw);
72+
font-weight: 900;
73+
font-size: calc(4.0rem + 15.0vw);
7374
}
7475

7576
a:hover,
@@ -97,21 +98,6 @@ a.btn:focus {
9798
padding-bottom: 2rem;
9899
}
99100

100-
/*
101-
.section svg {
102-
display: inline-block;
103-
width: 2rem;
104-
height: 2rem;
105-
vertical-align: text-top;
106-
}
107-
*/
108-
109-
/*
110-
body {
111-
padding-top: 3.5625rem;
112-
}
113-
*/
114-
115101
.docs-sidebar {
116102
order: 2;
117103
}
@@ -121,7 +107,7 @@ body {
121107
order: 0;
122108
}
123109

124-
@supports ((position:-webkit-sticky) or (position:sticky)) {
110+
@supports ((position: -webkit-sticky) or (position: sticky)) {
125111
.docs-sidebar {
126112
position: -webkit-sticky;
127113
position: sticky;
@@ -164,7 +150,7 @@ body {
164150
order: 2;
165151
}
166152

167-
@supports ((position:-webkit-sticky) or (position:sticky)) {
153+
@supports ((position: -webkit-sticky) or (position: sticky)) {
168154
.docs-toc {
169155
position: -webkit-sticky;
170156
position: sticky;
@@ -274,7 +260,6 @@ body {
274260
width: 3px !important;
275261
}
276262

277-
278263
/* Handle */
279264
::-webkit-scrollbar-thumb {
280265
background: rgb(185, 185, 185) !important;
@@ -345,16 +330,23 @@ body {
345330
}
346331

347332
.gradient-banner {
348-
349-
font-size: 48px;
333+
font-size: 4em;
350334
font-weight: 900;
351335
margin: 40px 0;
352-
background: -webkit-linear-gradient(90deg, $primary, $blue-300 50%, $pink-500);
336+
background: -webkit-linear-gradient(-45deg,
337+
$primary,
338+
$blue-300 50%,
339+
$pink-500 );
353340
-webkit-background-clip: text;
354341
-webkit-text-fill-color: transparent;
355342
background-size: 100%;
356343
background-repeat: repeat;
357344
background-clip: text;
345+
}
358346

359347

348+
.logo-introduction {
349+
font-family: "Nunito";
350+
font-weight: 900;
351+
font-size: calc(8.0rem + 200.0vw);
360352
}

assets/scss/common/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $yellow: #ffe000;
1616
$black: #1d2d35;
1717
$beige: #fbf7f0;
1818

19-
$purple: #5d2f86;
19+
$purple: #fd2f86;
2020
$brown: #aa9c84;
2121
$green: #3eaf7c;
2222

@@ -107,7 +107,7 @@ $border-color: $gray-200;
107107
// Font, line-height, and color for body text, headings, and more.
108108

109109
// stylelint-disable value-keyword-case
110-
$font-family-sans-serif: "Jost", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
110+
$font-family-sans-serif: "Nunito", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
111111
$font-family-monospace: sfmono-regular, menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;
112112
$font-family-base: $font-family-sans-serif;
113113
// stylelint-enable value-keyword-case

content/en/dotnet-templates/general/overview.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ weight: 1
1515
toc: true
1616
---
1717

18-
19-
20-
## What's Genocs Library?
21-
2218
Genocs Library is a starting point for your next `.NET Microservices library` that incorporates the most essential packages and features your projects will ever need including out of the box Multi-Tenancy support.
2319

2420
> As the name suggests, this is an API / Server Template. You can find other Client Templates that consume this API under `@genocs-library` handle.

layouts/_default/baseof.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
{{ end -}}
1515
<head>
1616
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js"></script>
17+
<link rel="preconnect" href="https://fonts.googleapis.com">
18+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
19+
<link href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap" rel="stylesheet">
1720
</head>
1821

1922
<body class="{{ .Scratch.Get "class" }}">

layouts/index.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
{{ define "main" }}
2-
<section class="section container-fluid mt-n3 pb-3">
3-
<div class="row justify-content-center">
4-
<div class="col-lg-12 text-center">
5-
<h1 class="mt-10"><b style="font-weight: 900; font-size: 4em;">Genocs</b></h1>
6-
<p class="gradient-banner">{{ .Params.sub }}</p>
7-
<h2 style="font-weight: 900; font-size: 4em;">
8-
✔️ <b class="code-green">
9-
<a href="https://github.com/Genocs/genocs-library/releases/tag/v6.1.0">v6.1.0</a>
10-
</b>
11-
</h2>
12-
<div class="justify-content-center text-center">
13-
<h2>What's <b class="code-green">Genocs Library</b>?</h2>
14-
<img src="{{ .Site.Params.Logo }}" alt="Genocs Logo" style="max-width: 800px; margin: 50px 0;">
2+
<section class="section section-sm bg-light">
3+
<div class="row justify-content-center">
4+
<div class="col-lg-12 text-center">
5+
<h1><b>Genocs</b></h1>
6+
<p class="gradient-banner">{{ .Params.sub }}</p>
7+
<h2 style="font-weight: 900; font-size: 4em;">
8+
✔️ <b class="code-green">
9+
<a href="https://github.com/Genocs/genocs-library/releases/tag/v6.1.0">v6.1.0</a>
10+
</b>
11+
</h2>
1512
</div>
16-
17-
18-
<div class="row justify-content-center">
19-
<div class="col-lg-9 col-xl-8 text-center">
20-
<a class="btn btn-primary btn-lg px-4 mb-2"
21-
href="/introduction/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}getting-started/"
22-
role="button">Get Started 🚀</a>
23-
<p class="meta">Open-source MIT Licensed. <a href="https://github.com/Genocs">GitHub</a></p>
24-
</div>
13+
14+
<div class="col-lg-12 col-xl-12 text-center">
15+
<img src="{{ .Site.Params.Logo }}" alt="Library Logo">
16+
</div>
17+
<div class="col-lg-12 col-xl-12 text-center">
18+
&nbsp;
19+
</div>
20+
<div class="col-lg-12 col-xl-12 text-center">
21+
<a class="btn btn-primary btn-lg px-4 mb-2"
22+
href="/introduction/{{ if .Site.Params.options.docsVersioning }}{{ .Site.Params.docsVersion }}/{{ end }}getting-started/"
23+
role="button">Get Started 🚀</a>
24+
<p class="meta">Open-source MIT Licensed. <a href="https://github.com/Genocs">GitHub</a></p>
2525
</div>
2626
</div>
27-
</div>
2827
</section>
2928
{{ end }}
3029

@@ -94,6 +93,7 @@ <h2 class="h4">Clean Seperation</h2>
9493
</div>
9594
</div>
9695
</section>
96+
9797
<section class="section section-sm">
9898
<div class="container">
9999
<div class="justify-content-center text-center">

0 commit comments

Comments
 (0)