diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-20 21:56:24 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-20 21:56:24 +0900 |
| commit | 627330f7e80e2eac0f92663bbdaaf39962e97bbe (patch) | |
| tree | 2b0fe134325970bca32b2121567ebdc43d7a8980 | |
| parent | e5e6d918a474f5704270835d24eb686f13a67cf8 (diff) | |
| download | blog.nsfisis.dev-627330f7e80e2eac0f92663bbdaaf39962e97bbe.tar.gz blog.nsfisis.dev-627330f7e80e2eac0f92663bbdaaf39962e97bbe.tar.zst blog.nsfisis.dev-627330f7e80e2eac0f92663bbdaaf39962e97bbe.zip | |
feat(nuldoc): implement admonition block
47 files changed, 95 insertions, 52 deletions
diff --git a/nuldoc-src/docbook/to_html.ts b/nuldoc-src/docbook/to_html.ts index 9f176d4..f347f05 100644 --- a/nuldoc-src/docbook/to_html.ts +++ b/nuldoc-src/docbook/to_html.ts @@ -236,20 +236,21 @@ function transformNoteElement(doc: Document) { const labelElement: Element = { kind: "element", name: "div", - attributes: new Map(), + attributes: new Map([["class", "admonition-label"]]), children: [{ kind: "text", - content: "Note", - raw: true, + content: "NOTE", + raw: false, }], }; const contentElement: Element = { kind: "element", name: "div", - attributes: new Map(), + attributes: new Map([["class", "admonition-content"]]), children: n.children, }; n.name = "div"; + addClass(n, "admonition"); n.children = [ labelElement, contentElement, diff --git a/public/404.html b/public/404.html index 7a8ad74..354bdbb 100644 --- a/public/404.html +++ b/public/404.html @@ -8,7 +8,7 @@ <meta name="description" content="リクエストされたページが見つかりません。"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>Page Not Found | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="single"> <header class="header"> diff --git a/public/about/index.html b/public/about/index.html index 2182ddd..d40521b 100644 --- a/public/about/index.html +++ b/public/about/index.html @@ -8,7 +8,7 @@ <meta name="description" content="このサイトの著者について"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>About | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="single"> <header class="header"> diff --git a/public/index.html b/public/index.html index 8246592..373f61d 100644 --- a/public/index.html +++ b/public/index.html @@ -8,7 +8,7 @@ <meta name="description" content="nsfisis のブログサイト"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="single"> <header class="header"> diff --git a/public/posts/2021-03-05/my-first-post/index.html b/public/posts/2021-03-05/my-first-post/index.html index 697cf3b..41e9542 100644 --- a/public/posts/2021-03-05/my-first-post/index.html +++ b/public/posts/2021-03-05/my-first-post/index.html @@ -8,7 +8,7 @@ <meta name="description" content="これはテスト投稿です。これはテスト投稿です。これはテスト投稿です。"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>My First Post | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2021-03-30/phperkaigi-2021/index.html b/public/posts/2021-03-30/phperkaigi-2021/index.html index 7d2a8e7..519b77c 100644 --- a/public/posts/2021-03-30/phperkaigi-2021/index.html +++ b/public/posts/2021-03-30/phperkaigi-2021/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="カンファレンス,PHP,PHPerKaigi"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHPerKaigi 2021 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html b/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html index bb7d0e5..89a12cb 100644 --- a/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html +++ b/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="C++,C++ 17"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>【C++】 属性構文の属性名にはキーワードが使える | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2021-10-02/python-unbound-local-error/index.html b/public/posts/2021-10-02/python-unbound-local-error/index.html index 773f083..8093c8e 100644 --- a/public/posts/2021-10-02/python-unbound-local-error/index.html +++ b/public/posts/2021-10-02/python-unbound-local-error/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Python,Python 3"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>【Python】 クロージャとUnboundLocalError: local variable 'x' referenced before assignment | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2021-10-02/ruby-detect-running-implementation/index.html b/public/posts/2021-10-02/ruby-detect-running-implementation/index.html index 47493e0..fbb2ded 100644 --- a/public/posts/2021-10-02/ruby-detect-running-implementation/index.html +++ b/public/posts/2021-10-02/ruby-detect-running-implementation/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Ruby"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>【Ruby】 自身を実行している処理系の種類を判定する | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html b/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html index 4f06dd3..628dc5c 100644 --- a/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html +++ b/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Ruby,Ruby 3"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>【Ruby】 then キーワードと case in | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html b/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html index c4dac84..2aba6eb 100644 --- a/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html +++ b/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Rust"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>Rust のプリミティブ型はどこからやって来るか | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html b/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html index 4c2e336..5aeb34c 100644 --- a/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html +++ b/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Vim"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>【Vim】 autocmd events の BufWrite/BufWritePre の違い | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html b/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html index 5729b14..707fbad 100644 --- a/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html +++ b/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Vim"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>Vimで選択した行の順番を入れ替える | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html b/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html index 26803ba..ec92a42 100644 --- a/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html +++ b/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="カンファレンス,PHP,PHPerKaigi"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHPerKaigi 2022 トークン問題の解説 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html b/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html index e51ced8..283f39b 100644 --- a/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html +++ b/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html @@ -8,7 +8,7 @@ <meta name="description" content="ターミナルに任意の文字のバナーを表示するためのツールを Go で書いた。"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>term-banner: ターミナルにバナーを表示するツールを書いた | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-05-01/phperkaigi-2022/index.html b/public/posts/2022-05-01/phperkaigi-2022/index.html index a7fed0a..636b31d 100644 --- a/public/posts/2022-05-01/phperkaigi-2022/index.html +++ b/public/posts/2022-05-01/phperkaigi-2022/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="カンファレンス,PHP,PHPerKaigi"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHPerKaigi 2022 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html b/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html index 1292f59..6d5bf2f 100644 --- a/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html +++ b/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="カンファレンス,PHP,PHP カンファレンス"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHP カンファレンス沖縄で出題されたコードゴルフの問題を解いてみた | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html b/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html index ac0749f..cef8570 100644 --- a/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html +++ b/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html @@ -9,7 +9,7 @@ 本件を社内でしつこく推進した1人として、推進の理由等を書き残しておきます。"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>弊社の PHP Foundation への寄付に寄せて | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html b/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html index f8518e9..9978486 100644 --- a/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html +++ b/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>【PHP】 fizzbuzz を書く。1行あたり2文字で。 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html b/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html index 155033c..2314355 100644 --- a/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html +++ b/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP,PHPerKaigi"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHPerKaigi 2023: ボツになったトークン問題 その 1 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-10-28/setup-server-for-this-site/index.html b/public/posts/2022-10-28/setup-server-for-this-site/index.html index e316ec2..7fad558 100644 --- a/public/posts/2022-10-28/setup-server-for-this-site/index.html +++ b/public/posts/2022-10-28/setup-server-for-this-site/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="備忘録"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>【備忘録】 このサイト用の VPS をセットアップしたときのメモ | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html b/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html index c1d324d..3278adb 100644 --- a/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html +++ b/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP,PHPerKaigi"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHPerKaigi 2023: ボツになったトークン問題 その 2 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> @@ -169,11 +169,11 @@ P</code></pre> <code><200b></code> と表示されているのは、Unicode の U+200b で、ゼロ幅スペースである。 </p> - <div> - <div> - Note + <div class="admonition"> + <div class="admonition-label"> + NOTE </div> - <div> + <div class="admonition-content"> <p> エディタによっては、ゼロ幅スペースが見えないことがある。VSCode ではブラウザと同様に不可視だった。 </p> diff --git a/public/posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html b/public/posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html index 0f779c6..3b2f50f 100644 --- a/public/posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html +++ b/public/posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP,PHPerKaigi"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHPerKaigi 2023: ボツになったトークン問題 その 3 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/2023-03-10/rewrite-this-blog-generator/index.html b/public/posts/2023-03-10/rewrite-this-blog-generator/index.html index 621d5e6..a605332 100644 --- a/public/posts/2023-03-10/rewrite-this-blog-generator/index.html +++ b/public/posts/2023-03-10/rewrite-this-blog-generator/index.html @@ -8,7 +8,7 @@ <meta name="description" content="このブログのジェネレータを書き直したので、やったことを書き記しておく。"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>このブログのジェネレータを書き直した | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/posts/index.html b/public/posts/index.html index c010664..cb78cdd 100644 --- a/public/posts/index.html +++ b/public/posts/index.html @@ -8,7 +8,7 @@ <meta name="description" content="投稿した記事の一覧"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>投稿一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/slides/2023-01-18/phpstudy-tokyo-148/index.html b/public/slides/2023-01-18/phpstudy-tokyo-148/index.html index 8b2e2a1..a83b7cf 100644 --- a/public/slides/2023-01-18/phpstudy-tokyo-148/index.html +++ b/public/slides/2023-01-18/phpstudy-tokyo-148/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP,PHP 勉強会@東京"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHP 勉強会@東京 第148 回 (LT) | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/slides/2023-02-15/phpstudy-tokyo-149/index.html b/public/slides/2023-02-15/phpstudy-tokyo-149/index.html index 8035999..f1bf7f1 100644 --- a/public/slides/2023-02-15/phpstudy-tokyo-149/index.html +++ b/public/slides/2023-02-15/phpstudy-tokyo-149/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP,PHP 勉強会@東京"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHP 勉強会@東京 第149 回 (LT) | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/slides/2023-03-15/phpstudy-tokyo-150/index.html b/public/slides/2023-03-15/phpstudy-tokyo-150/index.html index 87c7b64..6d2a7de 100644 --- a/public/slides/2023-03-15/phpstudy-tokyo-150/index.html +++ b/public/slides/2023-03-15/phpstudy-tokyo-150/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP,PHP 勉強会@東京"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHP 勉強会@東京 第150 回 (LT) | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/slides/2023-03-24/phperkaigi-2023/index.html b/public/slides/2023-03-24/phperkaigi-2023/index.html index ecd8ae3..5ee95cb 100644 --- a/public/slides/2023-03-24/phperkaigi-2023/index.html +++ b/public/slides/2023-03-24/phperkaigi-2023/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="カンファレンス,PHP,PHPerKaigi"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>PHPerKaigi 2023 (レギュラートーク) | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> <link rel="stylesheet" href="/hl.css?h=340e65ffd5c17713efc9107c06304f7b"> </head> <body class="single"> diff --git a/public/slides/index.html b/public/slides/index.html index 3bc7b50..042afae 100644 --- a/public/slides/index.html +++ b/public/slides/index.html @@ -8,7 +8,7 @@ <meta name="description" content="登壇したイベントで使用したスライドの一覧"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>スライド一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/style.css b/public/style.css index 050cd6b..18a0646 100644 --- a/public/style.css +++ b/public/style.css @@ -216,6 +216,27 @@ h1 { color: #666; } +.admonition { + display: flex; + flex-direction: row; + align-items: center; + background-color: #f5f5f5; + border: 1px solid #d1d1d1; + border-radius: 5px; + padding: 1rem; + margin: 1rem 0; +} + +.admonition-label { + font-weight: bold; + color: #333; + margin-right: 1rem; +} + +.admonition-content { + font-size: 1rem; +} + .not-found { font-size: 8rem; font-weight: bold; diff --git a/public/tags/conference/index.html b/public/tags/conference/index.html index 676c895..1e45f07 100644 --- a/public/tags/conference/index.html +++ b/public/tags/conference/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="カンファレンス"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「カンファレンス」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/cpp/index.html b/public/tags/cpp/index.html index f7b964d..662df95 100644 --- a/public/tags/cpp/index.html +++ b/public/tags/cpp/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="C++"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「C++」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/cpp17/index.html b/public/tags/cpp17/index.html index 97550be..48e876a 100644 --- a/public/tags/cpp17/index.html +++ b/public/tags/cpp17/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="C++ 17"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「C++ 17」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/index.html b/public/tags/index.html index bc9eed8..93834be 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -8,7 +8,7 @@ <meta name="description" content="タグの一覧"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/note-to-self/index.html b/public/tags/note-to-self/index.html index e8e62ab..d36cc7a 100644 --- a/public/tags/note-to-self/index.html +++ b/public/tags/note-to-self/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="備忘録"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「備忘録」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/php/index.html b/public/tags/php/index.html index 469d894..7b971ba 100644 --- a/public/tags/php/index.html +++ b/public/tags/php/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「PHP」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/phpcon/index.html b/public/tags/phpcon/index.html index 64efac9..22421ec 100644 --- a/public/tags/phpcon/index.html +++ b/public/tags/phpcon/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP カンファレンス"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「PHP カンファレンス」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/phperkaigi/index.html b/public/tags/phperkaigi/index.html index d123748..8c4054d 100644 --- a/public/tags/phperkaigi/index.html +++ b/public/tags/phperkaigi/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHPerKaigi"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「PHPerKaigi」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/phpstudy-tokyo/index.html b/public/tags/phpstudy-tokyo/index.html index f40a96d..dacc675 100644 --- a/public/tags/phpstudy-tokyo/index.html +++ b/public/tags/phpstudy-tokyo/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="PHP 勉強会@東京"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「PHP 勉強会@東京」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/python/index.html b/public/tags/python/index.html index 8c148ac..cf7205c 100644 --- a/public/tags/python/index.html +++ b/public/tags/python/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Python"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「Python」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/python3/index.html b/public/tags/python3/index.html index 5710699..7a09c6f 100644 --- a/public/tags/python3/index.html +++ b/public/tags/python3/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Python 3"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「Python 3」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/ruby/index.html b/public/tags/ruby/index.html index f88b7f9..eabda76 100644 --- a/public/tags/ruby/index.html +++ b/public/tags/ruby/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Ruby"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「Ruby」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/ruby3/index.html b/public/tags/ruby3/index.html index 3b11c06..372250e 100644 --- a/public/tags/ruby3/index.html +++ b/public/tags/ruby3/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Ruby 3"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「Ruby 3」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/rust/index.html b/public/tags/rust/index.html index ebae96c..7726f7b 100644 --- a/public/tags/rust/index.html +++ b/public/tags/rust/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Rust"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「Rust」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/public/tags/vim/index.html b/public/tags/vim/index.html index 8a58a4f..bf0b311 100644 --- a/public/tags/vim/index.html +++ b/public/tags/vim/index.html @@ -9,7 +9,7 @@ <meta name="keywords" content="Vim"> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <title>タグ「Vim」一覧 | REPL: Rest-Eat-Program Loop</title> - <link rel="stylesheet" href="/style.css?h=cc0dc8713d7b77d1db1eba68d7782272"> + <link rel="stylesheet" href="/style.css?h=5acc7a3b97936927a2f330acee0c6e3f"> </head> <body class="list"> <header class="header"> diff --git a/static/style.css b/static/style.css index 050cd6b..18a0646 100644 --- a/static/style.css +++ b/static/style.css @@ -216,6 +216,27 @@ h1 { color: #666; } +.admonition { + display: flex; + flex-direction: row; + align-items: center; + background-color: #f5f5f5; + border: 1px solid #d1d1d1; + border-radius: 5px; + padding: 1rem; + margin: 1rem 0; +} + +.admonition-label { + font-weight: bold; + color: #333; + margin-right: 1rem; +} + +.admonition-content { + font-size: 1rem; +} + .not-found { font-size: 8rem; font-weight: bold; |
