はてなブログのトップページをタイトルだけにした
見た目がまたメインブログに近づいた。トップページに記事を表示させたくなかったので消してみました。 とはいえトップページに表示できるエントリ数のMAXが15なんで、ムダに空白ができて良くない感じ。 結局カスタマイズしたくなるから、はてなブログやめようかなという気にもなってきている。
だいたい、トップページで各エントリごとのソーシャルボタン出してるの間違いなくやめたほうがいいんだけど、その設定ができなくてこまる。 15エントリxソーシャルボタンの数だけiframeやらのリクエストが発生させなくてはいけないのは明らかにおかしい。 この上場企業はそのへんの気配りないよなあと、はてなOneの異常なiframeを思い出すのであった。
.page-index .entry-content { display: none; } .page-index .entry-categories { display: none; } .page-index .entry-footer-section { display: none; } .page-index .entry-date { float: right; border-bottom: none; margin: 0; line-height: 18px; } .page-index .entry-date a { color: #261a3b; font-weight: normal; } .page-index .entry-date a:hover { color: #837B90; } .page-index .entry { padding: 0; margin: 0; border-bottom: 1px solid #EEE; } .page-index .entry-title { margin-bottom: 0; } .page-index .entry-title a { font-size: 15px; color: #261a3b; text-decoration: none; font-weight: normal; } .page-index .entry-header { margin-bottom: 0; } .page-index .entry-footer { margin: 0; } .page-index .entry-content { display: none; } .page-index .entry-categories { display: none; } .page-index .entry-footer-section { display: none; } .page-index .entry-date { float: right; border-bottom: none; padding: 14px 0; margin: 0; } .page-index .entry-date a { color: #261a3b; font-weight: normal; } .page-index .entry-title { margin-bottom: 0; } .page-index .entry-title a { font-size: 15px; color: #261a3b; text-decoration: none; font-weight: normal; display: block; padding: 14px 0; } .page-index .entry a:hover { color: #837B90; } .page-index .entry-header { margin-bottom: 0; } .page-index .entry-footer { margin: 0; }
一応修正に使ったCSSを貼った。 instagram とかは display: none で隠しても読み込みが発生してしまったので、 全てのエントリの先頭に続きを読むタグを挿入した。 ここまでやるならやはり自分でブログ作ったほうが良い気がする。 運用の手間はなくなるけど、はてなブログって表示するまでの速度がかなり遅いのも引っかかっかる所。
こんなところを気にする性格が一番損してそう