Created
October 9, 2021 05:15
-
-
Save hidenorihide777/ea81c41ac4f0a2c92d6e9341e053fe11 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
/*サイドバーのカスタマイズ*/ | |
/* サイドバー 吹き出し */ | |
.hatena-module-title { | |
color: #555;/* 文字色 */ | |
font-size: 120%;/* 文字サイズ */ | |
position: relative; | |
padding: .5em 0; | |
background-color: #fff; /* 吹き出し背景色*/ | |
border: 2px solid #77B8DA; | |
border-radius: 6px; /* 丸み具合 */ | |
text-align:center; | |
margin-bottom: 15px;/* 下余白 */ | |
} | |
.hatena-module-title::before, | |
.hatena-module-title::after { | |
position: absolute; | |
top: 100%; | |
left: 50%; | |
content: ''; | |
height: 0; | |
width: 0; | |
border: 10px solid transparent; | |
margin-left: -10px; | |
} | |
.hatena-module-title::before { | |
border-top: 15px solid #77B8DA; | |
} | |
.hatena-module-title::after { | |
margin-top: -2px; | |
border-top: 15px solid #fff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment