Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hidenorihide777/115287cfe315989a27b9d589b5d81ef6 to your computer and use it in GitHub Desktop.
Save hidenorihide777/115287cfe315989a27b9d589b5d81ef6 to your computer and use it in GitHub Desktop.
/*サイドバーのカスタマイズ**/
/*サイドバーアイコン追加*/
/* プロフィール */
.hatena-module-profile .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f007";/* アイコンフォント */
 font-size: 120%;
position: relative;
padding: .5em 0;
}
/* SNS */
.hatena-module-html .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f445";/* アイコンフォント */
 font-size: 120%;
position: relative;
padding: .5em 0;
}
/* 検索 */
.hatena-module-search-box .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f002";
 font-size: 120%;
position: relative;
padding: .5em 0;
}
/* 月別アーカイブ */
.hatena-module-archive .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f187";
 font-size: 120%;
position: relative;
padding: .5em 0;
}
/* 最新記事 */
.hatena-module-recent-entries .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f303";
 font-size: 120%;
position: relative;
padding: .5em 0;
}
/* 注目記事 */
.hatena-module-entries-access-ranking .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f201";
 font-size: 120%;
position: relative;
padding: .5em 0;
}
/* カテゴリー */
.hatena-module-category .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f022";
 font-size: 120%;
position: relative;
padding: .5em 0;
}
/* リンク */
.hatena-module-links .hatena-module-title:before {
font-family: "Font Awesome 5 Free";
content: "\f0c1";
 font-size: 120%;
position: relative;
padding: .5em 0;
}
/* サイドバー 吹き出し */
.hatena-module-title {
color: #000;/* 文字色 */
font-size: 100%;/* 文字サイズ */
position: relative;
padding: .5em 0;
background-color: #EFFFFF; /* 吹き出し背景色*/
border: 2px solid #000;
border-radius: 6px; /* 丸み具合 */
text-align:center;
margin-bottom: 15px;/* 下余白 */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment