Created
January 22, 2018 15:25
-
-
Save Josh00/7ac1db5d5e9b2a1034489ac7aace8126 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 type="text/css"> | |
/* 見出し各種 */ | |
.entry-content h3 { | |
padding: 4px 10px; | |
color: #3D3F44; | |
background: #f3f3f3; | |
border-left: 8px solid #3f3f3f; | |
margin:60px 0 15px 0; | |
} | |
.entry-content h4 { | |
position: relative; | |
color: #3D3F44; | |
border-bottom: 4px solid #f3f3f3; | |
padding: 3px 10px; | |
margin:30px 0 10px 0; | |
} | |
.entry-content h4::before { | |
position: absolute; | |
top: 100%; | |
left: 0; | |
width: 20%; | |
height: 4px; | |
background:#3f3f3f; | |
z-index: 2; | |
content: ''; | |
} | |
.entry-content h5 { | |
color:#3D3F44; | |
position: relative; | |
padding-left: 1.2em; | |
line-height: 1.4; | |
margin:20px 0 8px 0; | |
} | |
.entry-content h5:before{ | |
font-family: FontAwesome; | |
/*アイコンユニコード*/ | |
content: "\f00c"; | |
/*アイコン色*/ | |
color: #3f3f3f; | |
position: absolute; | |
font-size: 1em; | |
left: 0; | |
top: 0; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment