Created
January 22, 2018 16:50
-
-
Save Josh00/ec63c2817d32762a65f0ae0c380ec4b0 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
/*### ここから記事タイトル文字の装飾 ###*/ | |
.entry-title { | |
position: relative; | |
padding-left: 25px; | |
} | |
.entry-title:before { | |
position: absolute; | |
content: ''; | |
bottom: -3px; | |
left: 0; | |
width: 0; | |
height: 0; | |
border: none; | |
border-left: solid 15px transparent; | |
border-bottom: solid 15px #cc4f5e; | |
} | |
.entry-title:after { | |
position: absolute; | |
content: ''; | |
bottom: -3px; | |
left: 10px; | |
width: 100%; | |
border-bottom: solid 3px #cc4f5e; | |
} | |
/*### ここまで記事タイトル文字の装飾 ###*/ | |
.entry-header { | |
position: relative; | |
margin-top: 0.7em; /* タイトル上の余白 */ | |
} | |
.entry-content p { | |
line-height:24px !important; /*行間(行の高さ)*/ | |
} | |
/* 記事中の画像の角を丸くする(任意) */ | |
.entry-content img { | |
-webkit-border-radius: 7px; | |
-moz-border-radius: 7px; | |
border-radius: 7px; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment