Skip to content

Instantly share code, notes, and snippets.

@daisuke-fukuda
Last active September 9, 2019 15:48
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 daisuke-fukuda/6fbd4afbed0f4cd6daac8255fb141a49 to your computer and use it in GitHub Desktop.
Save daisuke-fukuda/6fbd4afbed0f4cd6daac8255fb141a49 to your computer and use it in GitHub Desktop.
はてなブログminimalistカスタマイズ
.entry-content h1 {
padding: 4px 3px;
background: #f3f3f3;
border-left: 8px solid #3f3f3f;
margin:80px 0 30px 0;
font-size: 130%;
}
.entry-content h2 {
position: relative;
border-bottom: 3px solid #f3f3f3;
padding: 2px 10px;
margin:40px 0 30px 0;
font-size: 120%;
}
.entry-content h2::before {
position: absolute;
top: 100%;
left: 0;
width: 20%;
height: 2px;
background:#3f3f3f;
z-index: 2;
content: '';
}
.entry-content h3 {
position: relative;
padding-left: 0.5em;
line-height: 1.4;
margin:30px 0 8px 0;
font-size: 110%;
border-bottom: 1px solid #3f3f3f;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment