Skip to content

Instantly share code, notes, and snippets.

@daimac178
Last active May 15, 2018 04:02
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 daimac178/cb3edf039a73d4e7ae2a945f199ab51e to your computer and use it in GitHub Desktop.
Save daimac178/cb3edf039a73d4e7ae2a945f199ab51e to your computer and use it in GitHub Desktop.
/************************************
** 引用の変更
************************************/
blockquote {
position: relative;
padding: 0px 10px 5px 40px;
box-sizing: border-box;
font-style: italic;
color: #464646;
background: #FEDFE1;
border-top: solid 3px #CC543A;
}
blockquote:before{
display: inline-block;
position: absolute;
top: 0;
left: 0;
width: 32px;
height: 30px;
vertical-align: middle;
text-align: center;
content: "\f10d";
font-family: FontAwesome;
color: #FFF;
font-size: 18px;
line-height: 30px;
background: #CC543A;
}
blockquote p {
position: relative;
padding: 0;
margin: 10px 0;
z-index: 3;
line-height: 1.7;
}
blockquote cite {
display: block;
text-align: right;
color: #888888;
font-size: 0.9em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment