- フォントは Web サイトの印象に直結するため、一概にこれが良いとは言えない。
- 特にこれと言った指定がされていない場合は
font-family: sans-serifのみで良い。- Windows 11/10 では 2025 年のアップデートにより Noto Sans JP が標準搭載された。色々と問題があった游ゴシックの呪縛から解放されたのは大きい。
- Android はメーカーにより削除されている可能性はあるが、そうでない場合は原則的に Noto Sans CJK JP が適用される。
- Mac/iOS はヒラギノ角ゴ ProN が適用される。
- アップデートによるフォントの変更の懸念はあるものの、ディスクリシアの方々は UD デジタル教科書体などの読みやすいフォントを設定している可能性があるため、アクセシビリティの観点では
font-family: sans-serifの指定を推奨する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const token = document.cookie.split("; ").map(c => c.startsWith("token=") ? c.split("=").pop() : null).filter(Boolean).shift() | |
| const alist = [ | |
| 'notes1', | |
| 'notes10', | |
| 'notes100', | |
| 'notes500', | |
| 'notes1000', | |
| 'notes5000', | |
| 'notes10000', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Bottle framework | |
| from bottle import route, run | |
| @route('/') | |
| def index(): | |
| return '<h1>Hello World!</h1>' | |
| run(host='localhost', port=8000, debug=True) | |
| # 2. Django framework | |
| # 2.1. Modify settings.py file |