Created
May 9, 2016 14:15
-
-
Save sysnakamura/1619df0b9e20077205ba53522a517c86 to your computer and use it in GitHub Desktop.
はてなブログスマホ版日付表示のレイアウト変更
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style tyle=text/css> /*すでに記述している場合には不要*/ | |
/*日付のレイアウト変更*/ | |
.date | |
{ | |
color: white; /*日付の文字色(カラーコードを変更すれば好きな色に設定できます)*/ | |
background: #F31A75;/*日付の背景色(カラーコードを変更すれば好きな色に設定できます)*/ | |
border-radius: 0.2em; /*角の丸み*/ | |
padding: 0px 10px;/*日付の文字まわりのスペース*/ | |
} | |
.entry-title /*日付と記事タイトルの行間調整*/ | |
{ | |
margin-top:.3em; | |
} | |
</style> /*すでに記述している場合には不要*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment