Skip to content

Commit e5a9270

Browse files
committed
update fonts and readme
1 parent 229f37b commit e5a9270

File tree

4 files changed

+25
-22
lines changed

4 files changed

+25
-22
lines changed

README.md

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
# [gpchelkin](https://g.pchelk.in)
22
- All pages are written in [Slim](https://slim-template.github.io) ([GitHub](https://github.com/slim-template/slim)) template language for [Ruby](https://www.ruby-lang.org). Install Ruby, then `gem install slim; slimrb --pretty index.slim > index.html`
3-
- [Skeleton Framework](https://skeleton-framework.github.io) ([GitHub](https://github.com/skeleton-framework/skeleton-framework)) CSS is used, so design is responsive
4-
- [Paratype PT Sans and PT Mono](https://www.paratype.com/collections/pt/44157) fonts are loaded from [Google Fonts](https://fonts.google.com)
5-
- [JavaScript sleep()](https://stackoverflow.com/a/39914235/2490759) implementation
6-
- [GitHub Pages](https://pages.github.com) hosting
7-
- `pchelk.in` domain name is registered at [Gandi.net](https://www.gandi.net) and is using [Yandex 360 for Business](https://yandex.com/support/business/) for DNS and email hosting
8-
- [Userpic](https://g.pchelk.in/gpchelkin.png) is drawn with [Inkscape](https://inkscape.org)
9-
- [QR code](https://g.pchelk.in/qr.png) is created with [QArt Coder](https://research.swtch.com/qr/draw/)
3+
- [Skeleton Framework](https://skeleton-framework.github.io) ([GitHub](https://github.com/skeleton-framework/skeleton-framework)) CSS is used, so that design is responsive
4+
- [Noto Sans](https://fonts.google.com/noto/specimen/Noto+Sans) and [JetBrains Mono](https://www.jetbrains.com/lp/mono/) fonts are used and loaded from [Google Fonts](https://fonts.google.com)
5+
- [JavaScript sleep()](https://stackoverflow.com/a/39914235/2490759) implementation is used
6+
- [GitHub Pages](https://pages.github.com) hosting is used, with redirects for other domains set up in [Netlify](https://docs.netlify.com/routing/redirects/)
7+
- `pchelk.in` domain name is registered at [Porkbun](https://porkbun.com) and is using [Hetzner for DNS](https://dns.hetzner.com) (and [Apple iCloud Mail](https://support.apple.com/en-us/102540) for custom email domain hosting)
8+
- [My userpic](https://g.pchelk.in/gpchelkin.png) is drawn with [Inkscape](https://inkscape.org)
9+
- [My custom QR code](https://g.pchelk.in/qr.png) is created with [QArt Coder](https://research.swtch.com/qr/draw/)
1010

1111
<!-- - Utilizing [JetBrains PyCharm](https://www.jetbrains.com/pycharm/) IDE's [File Watchers](https://www.jetbrains.com/help/pycharm/tutorial-file-watchers-in-product.html) feature for auto-translating Slim into HTML for static hosting, see [exported file watcher](jetbrains_filewatchers_slim.xml) and [how to use it](https://www.jetbrains.com/help/pycharm/tutorial-file-watchers-in-product.html). -->
12-
<!-- - [QR code](https://g.pchelk.in/qr2.png) is created with [qart.js](https://kciter.github.io/qart.js/) ([GitHub](https://github.com/kciter/qart.js)) -->
12+
<!-- - [QR code](https://g.pchelk.in/qr2.png) is created with [qart.js](https://kciter.so/qart.js/) ([GitHub](https://github.com/kciter/qart.js)) -->
1313
<!-- - [Honeybee](https://emojipedia.org/apple/ios-12.1/honeybee/), [OK Hand](https://emojipedia.org/apple/ios-12.1/ok-hand-sign/) and [Thumbs Up](https://emojipedia.org/apple/ios-12.1/thumbs-up-sign/) emojis from [Apple Color Emoji iOS 12.1](https://emojipedia.org/apple/ios-12.1/) font -->
1414
<!-- - `🐝👍.ws` / `xn--lo8h6c.ws` emoji domain name is registered at [GoDaddy](https://❤❤❤.ws), DNS-managed with [Cloudflare](https://cloudflare.com) and redirected through [Netlify](https://www.netlify.com/docs/redirects/) -->
1515
<!-- - [/tusit](https://g.pchelk.in/tusit) is [Yandex.Calendar](https://yandex.com/support/calendar/) -->
16-
<!-- - Translated into HTML with [Plim](https://plim.readthedocs.io) ([GitHub](https://github.com/avanov/Plim)), Python port of Ruby's Slim -->

index.html

+8-6
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,21 @@
77
<base target="_blank" />
88
<link href="/favicon.ico" rel="icon" type="image/x-icon" />
99
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
10-
<link href="https://fonts.googleapis.com/css?family=PT+Mono|PT+Sans|PT+Sans+Caption" rel="stylesheet" />
10+
<link href="https://fonts.googleapis.com" rel="preconnect" />
11+
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect" />
12+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono&amp;family=Noto+Sans:wght@500&amp;display=swap" rel="stylesheet" />
1113
<link href="skeleton.min.css" rel="stylesheet" type="text/css" />
1214
<script src="qrmsg.js" type="text/javascript"></script>
1315
</head>
14-
<body style="font-family: &#39;PT Sans Caption&#39;, sans-serif; background-color: #cef3f2; text-align: right;">
16+
<body style="font-family: &#39;Noto Sans&#39;, sans-serif; font-optical-sizing: auto; font-weight: 500; font-style: normal; background-color: #cef3f2; text-align: right;">
1517
<div class="container">
1618
<div class="row">
1719
<div class="two columns offset-by-five">
1820
<a href="gpchelkin.png" title="&#39;pchela&#39; is Russian for bee"><img alt="gpchelkin.png" height="165" src="gpchelkin_thumb.png" width="165" /></a>
1921
</div>
2022
<div class="two columns">
21-
<div class="alert u-hide" id="qrmsg" style="font-family: &#39;PT Sans&#39;, sans-serif; text-align: center;">
22-
Nice QR code,&nbsp<a href="https://research.swtch.com/qr/draw" target="_blank">innit?</a>
23+
<div class="alert u-hide" id="qrmsg" style="font-family: &#39;Noto Sans&#39;, sans-serif; text-align: center;">
24+
Nice QR code,&nbsp<a href="https://research.swtch.com/qr/draw/" target="_blank">innit?</a>
2325
</div>
2426
</div>
2527
<div class="one column offset-by-two">
@@ -33,7 +35,7 @@ <h3>
3335
</h3>
3436
</div>
3537
<div class="two columns offset-by-one">
36-
<h3 style="font-family: &#39;PT Mono&#39;, monospace;">
38+
<h3 style="font-family: &#39;JetBrains Mono&#39;, monospace;">
3739
gpchelkin
3840
</h3>
3941
</div>
@@ -43,7 +45,7 @@ <h3>
4345
</h3>
4446
</div>
4547
</div>
46-
<div class="row" style="font-family: &#39;PT Mono&#39;, monospace; font-size: 120%;">
48+
<div class="row" style="font-family: &#39;JetBrains Mono&#39;, monospace; font-size: 120%;">
4749
<div class="one-half column">
4850
<ul id="useful" style="list-style-type: none;">
4951
<li>

index.slim

+8-6
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ html
77
base target="_blank"
88
link rel="icon" href="/favicon.ico" type="image/x-icon"
99
link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"
10-
link href="https://fonts.googleapis.com/css?family=PT+Mono|PT+Sans|PT+Sans+Caption" rel="stylesheet"
10+
link rel="preconnect" href="https://fonts.googleapis.com"
11+
link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""
12+
link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono&family=Noto+Sans:wght@500&display=swap" rel="stylesheet"
1113
link href="skeleton.min.css" rel="stylesheet" type="text/css"
1214
script type="text/javascript" src="qrmsg.js"
1315

14-
body style="font-family: 'PT Sans Caption', sans-serif; background-color: #cef3f2; text-align: right;"
16+
body style="font-family: 'Noto Sans', sans-serif; font-optical-sizing: auto; font-weight: 500; font-style: normal; background-color: #cef3f2; text-align: right;"
1517

1618
.container
1719

@@ -22,9 +24,9 @@ html
2224
img src="gpchelkin_thumb.png" alt="gpchelkin.png" width="165" height="165"
2325

2426
.two.columns
25-
div#qrmsg.alert.u-hide style="font-family: 'PT Sans', sans-serif; text-align: center;"
27+
div#qrmsg.alert.u-hide style="font-family: 'Noto Sans', sans-serif; text-align: center;"
2628
| Nice QR code,&nbsp
27-
a href="https://research.swtch.com/qr/draw" target="_blank" innit?
29+
a href="https://research.swtch.com/qr/draw/" target="_blank" innit?
2830

2931
.one.column.offset-by-two
3032
a.github-button href="https://github.com/gpchelkin/gpchelkin.github.io" data-style="mega" aria-label="Star gpchelkin/gpchelkin.github.io on GitHub" Star
@@ -34,11 +36,11 @@ html
3436
.one-third.column
3537
h3 George Pchelkin
3638
.two.columns.offset-by-one
37-
h3 style="font-family: 'PT Mono', monospace;" gpchelkin
39+
h3 style="font-family: 'JetBrains Mono', monospace;" gpchelkin
3840
.one-third.column.offset-by-one
3941
h3 Георгий Пчёлкин
4042

41-
.row style="font-family: 'PT Mono', monospace; font-size: 120%;"
43+
.row style="font-family: 'JetBrains Mono', monospace; font-size: 120%;"
4244

4345
.one-half.column
4446
ul#useful style="list-style-type: none;"

qrmsg.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ document.addEventListener(
99
location.hash = "";
1010
var qrmsg = document.getElementById("qrmsg");
1111
qrmsg.classList.toggle("u-hide");
12-
await sleep(3000);
12+
await sleep(10000);
1313
qrmsg.classList.toggle("u-hide");
1414
}
1515
})

0 commit comments

Comments
 (0)