From 2308e54db43abfa5e9020bac637b5c7ac88e692e Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 18 Mar 2023 16:32:55 +0900 Subject: feat(style): fix site footer at the bottom if the main text is short --- public/about/index.html | 2 +- public/posts/2021-03-05/my-first-post/index.html | 2 +- public/posts/2021-03-30/phperkaigi-2021/index.html | 2 +- .../2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html | 2 +- public/posts/2021-10-02/python-unbound-local-error/index.html | 2 +- .../posts/2021-10-02/ruby-detect-running-implementation/index.html | 2 +- public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html | 2 +- .../posts/2021-10-02/rust-where-are-primitive-types-from/index.html | 2 +- .../index.html | 2 +- public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html | 2 +- public/posts/2022-04-09/phperkaigi-2022-tokens/index.html | 2 +- .../term-banner-write-tool-showing-banner-in-terminal/index.html | 2 +- public/posts/2022-05-01/phperkaigi-2022/index.html | 2 +- public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html | 2 +- .../2022-08-31/support-for-communty-is-employee-benefits/index.html | 2 +- .../2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html | 2 +- .../posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html | 2 +- public/posts/2022-10-28/setup-server-for-this-site/index.html | 2 +- .../posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html | 2 +- .../posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html | 2 +- public/posts/2023-03-10/rewrite-this-blog-generator/index.html | 2 +- public/posts/index.html | 2 +- public/style.css | 5 +++++ public/tags/conference/index.html | 2 +- public/tags/cpp/index.html | 2 +- public/tags/cpp17/index.html | 2 +- public/tags/note-to-self/index.html | 2 +- public/tags/php/index.html | 2 +- public/tags/phpcon/index.html | 2 +- public/tags/phperkaigi/index.html | 2 +- public/tags/python/index.html | 2 +- public/tags/python3/index.html | 2 +- public/tags/ruby/index.html | 2 +- public/tags/ruby3/index.html | 2 +- public/tags/rust/index.html | 2 +- public/tags/vim/index.html | 2 +- static/style.css | 5 +++++ 37 files changed, 45 insertions(+), 35 deletions(-) diff --git a/public/about/index.html b/public/about/index.html index 337add5..176acc0 100644 --- a/public/about/index.html +++ b/public/about/index.html @@ -8,7 +8,7 @@ About | REPL: Rest-Eat-Program Loop - +
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 93df43a..c128cc9 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 @@ My First Post | REPL: Rest-Eat-Program Loop - + diff --git a/public/posts/2021-03-30/phperkaigi-2021/index.html b/public/posts/2021-03-30/phperkaigi-2021/index.html index 308ae7e..d42c700 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 @@ PHPerKaigi 2021 | REPL: Rest-Eat-Program Loop - + 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 98c9e3c..e656549 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 @@ 【C++】 属性構文の属性名にはキーワードが使える | REPL: Rest-Eat-Program Loop - + 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 1631ccb..aa1d3e2 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 @@ 【Python】 クロージャとUnboundLocalError: local variable 'x' referenced before assignment | REPL: Rest-Eat-Program Loop - + 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 4d17e71..59ce594 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 @@ 【Ruby】 自身を実行している処理系の種類を判定する | REPL: Rest-Eat-Program Loop - + 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 c027417..910048f 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 @@ 【Ruby】 then キーワードと case in | REPL: Rest-Eat-Program Loop - + 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 0554341..d114308 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 @@ Rust のプリミティブ型はどこからやって来るか | REPL: Rest-Eat-Program Loop - + 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 d2da2e5..28f9884 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 @@ 【Vim】 autocmd events の BufWrite/BufWritePre の違い | REPL: Rest-Eat-Program Loop - + 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 22042a8..4d169e4 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 @@ Vimで選択した行の順番を入れ替える | REPL: Rest-Eat-Program Loop - + 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 9dd9495..17dc36a 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 @@ PHPerKaigi 2022 トークン問題の解説 | REPL: Rest-Eat-Program Loop - + 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 f0edd35..8c0dfc4 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 @@ term-banner: ターミナルにバナーを表示するツールを書いた | REPL: Rest-Eat-Program Loop - + diff --git a/public/posts/2022-05-01/phperkaigi-2022/index.html b/public/posts/2022-05-01/phperkaigi-2022/index.html index 8bad748..463280d 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 @@ PHPerKaigi 2022 | REPL: Rest-Eat-Program Loop - + 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 b6fdf5a..c3d8d4a 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 @@ PHP カンファレンス沖縄で出題されたコードゴルフの問題を解いてみた | REPL: Rest-Eat-Program Loop - + 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 a0e072b..9fbd87f 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 @@ -8,7 +8,7 @@ 弊社の PHP Foundation への寄付に寄せて | REPL: Rest-Eat-Program Loop - + 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 8d821d7..555a19e 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 @@ 【PHP】 fizzbuzz を書く。1行あたり2文字で。 | REPL: Rest-Eat-Program Loop - + 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 864958a..ccdcf99 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 @@ PHPerKaigi 2023: ボツになったトークン問題 その 1 | REPL: Rest-Eat-Program Loop - + 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 5329b98..5a963a6 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 @@ 【備忘録】 このサイト用の VPS をセットアップしたときのメモ | REPL: Rest-Eat-Program Loop - + 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 e78fdce..83e30c6 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 @@ PHPerKaigi 2023: ボツになったトークン問題 その 2 | REPL: Rest-Eat-Program Loop - + 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 d851f53..88d235f 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 @@ PHPerKaigi 2023: ボツになったトークン問題 その 3 | REPL: Rest-Eat-Program Loop - + 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 855203b..5476d45 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 @@ このブログのジェネレータを書き直した | REPL: Rest-Eat-Program Loop - + diff --git a/public/posts/index.html b/public/posts/index.html index 2b08678..169f65c 100644 --- a/public/posts/index.html +++ b/public/posts/index.html @@ -8,7 +8,7 @@ 投稿一覧 | REPL: Rest-Eat-Program Loop - +
diff --git a/public/style.css b/public/style.css index 92b99c3..f59691b 100644 --- a/public/style.css +++ b/public/style.css @@ -11,8 +11,12 @@ body { color: #000; background-color: #fff; line-height: 1.6; + height: 100vh; margin: 0; padding: 0; + display: flex; + flex-direction: column; + justify-content: space-between; } @media screen and (max-width: 768px) { @@ -32,6 +36,7 @@ header.header { main { max-width: 900px; margin: 2rem auto; + flex-grow: 1; } footer { diff --git a/public/tags/conference/index.html b/public/tags/conference/index.html index cd69fbb..6d40829 100644 --- a/public/tags/conference/index.html +++ b/public/tags/conference/index.html @@ -9,7 +9,7 @@ カンファレンス | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/cpp/index.html b/public/tags/cpp/index.html index 51329c9..a802ad0 100644 --- a/public/tags/cpp/index.html +++ b/public/tags/cpp/index.html @@ -9,7 +9,7 @@ C++ | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/cpp17/index.html b/public/tags/cpp17/index.html index 8c3b379..4a84a13 100644 --- a/public/tags/cpp17/index.html +++ b/public/tags/cpp17/index.html @@ -9,7 +9,7 @@ C++ 17 | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/note-to-self/index.html b/public/tags/note-to-self/index.html index 8e91c23..3f4821d 100644 --- a/public/tags/note-to-self/index.html +++ b/public/tags/note-to-self/index.html @@ -9,7 +9,7 @@ 備忘録 | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/php/index.html b/public/tags/php/index.html index 4f8bbd2..55ad888 100644 --- a/public/tags/php/index.html +++ b/public/tags/php/index.html @@ -9,7 +9,7 @@ PHP | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/phpcon/index.html b/public/tags/phpcon/index.html index 680a5ea..7f1d0bc 100644 --- a/public/tags/phpcon/index.html +++ b/public/tags/phpcon/index.html @@ -9,7 +9,7 @@ PHP カンファレンス | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/phperkaigi/index.html b/public/tags/phperkaigi/index.html index a7da161..460e54d 100644 --- a/public/tags/phperkaigi/index.html +++ b/public/tags/phperkaigi/index.html @@ -9,7 +9,7 @@ PHPerKaigi | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/python/index.html b/public/tags/python/index.html index 06bec2f..4bedc59 100644 --- a/public/tags/python/index.html +++ b/public/tags/python/index.html @@ -9,7 +9,7 @@ Python | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/python3/index.html b/public/tags/python3/index.html index 9b9badd..896a4fe 100644 --- a/public/tags/python3/index.html +++ b/public/tags/python3/index.html @@ -9,7 +9,7 @@ Python 3 | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/ruby/index.html b/public/tags/ruby/index.html index 825207b..57bad11 100644 --- a/public/tags/ruby/index.html +++ b/public/tags/ruby/index.html @@ -9,7 +9,7 @@ Ruby | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/ruby3/index.html b/public/tags/ruby3/index.html index 9dcc175..f52bc48 100644 --- a/public/tags/ruby3/index.html +++ b/public/tags/ruby3/index.html @@ -9,7 +9,7 @@ Ruby 3 | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/rust/index.html b/public/tags/rust/index.html index b8d83d6..fbd077d 100644 --- a/public/tags/rust/index.html +++ b/public/tags/rust/index.html @@ -9,7 +9,7 @@ Rust | REPL: Rest-Eat-Program Loop - +
diff --git a/public/tags/vim/index.html b/public/tags/vim/index.html index 7841976..97f0847 100644 --- a/public/tags/vim/index.html +++ b/public/tags/vim/index.html @@ -9,7 +9,7 @@ Vim | REPL: Rest-Eat-Program Loop - +
diff --git a/static/style.css b/static/style.css index 92b99c3..f59691b 100644 --- a/static/style.css +++ b/static/style.css @@ -11,8 +11,12 @@ body { color: #000; background-color: #fff; line-height: 1.6; + height: 100vh; margin: 0; padding: 0; + display: flex; + flex-direction: column; + justify-content: space-between; } @media screen and (max-width: 768px) { @@ -32,6 +36,7 @@ header.header { main { max-width: 900px; margin: 2rem auto; + flex-grow: 1; } footer { -- cgit v1.2.3-70-g09d2