Skip to content

Instantly share code, notes, and snippets.

@RuinDig
Last active May 3, 2021 04:59
Show Gist options
  • Save RuinDig/741598f4e616430ac8dd56edb74697fb to your computer and use it in GitHub Desktop.
Save RuinDig/741598f4e616430ac8dd56edb74697fb to your computer and use it in GitHub Desktop.
はてなブログの公式テーマ「Smooth」の表の罫線の色や太さを調整できるCSS
/* cssのコード */
.entry-content table th {
border: 2px; /* 罫線の太さ */
border-style: solid; /* 罫線の形:実線 */
border-color: #a9a9a9; /* 罫線の色 */
}
.entry-content table td {
border: 2px; /* 罫線の太さ */
border-style: solid; /* 罫線の形:実線 */
border-color: #a9a9a9; /* 罫線の色 */
}
/* Smoothとは */
/* はてなブログ テーマ ストア「Smooth」 */
/* https://blog.hatena.ne.jp/-/store/theme/98012380831185515 */
/* 参考資料 */
/* 元IT土方の供述『はてなブログで表を作成する方法とデザインをカスタマイズする方法を紹介しますの!』 */
/* https://www.itjigoku.com/entry/table-customize */
/* Gist作成者のブログ */
/* blog-RuinDig『はてなブログの公式テーマ「Smooth」の表の罫線の色や太さを調整できるCSS』 */
/* https://ruindig.hatenablog.jp/entry/blog/smooth-table-css */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment