Last active
August 29, 2015 14:27
-
-
Save nekolinuxblog/642708d072f5ee80acc9 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
body { | |
font-family: Verdana "游ゴシック" YuGothic "ヒラギノ角ゴ ProN W3" "Hiragino Kaku Gothic ProN" "メイリオ" Meiryo sans-serif; | |
font-size: 14px; | |
line-height: 22px; | |
word-wrap: break-word; | |
} | |
.entry-content h4 { | |
font-size: 100%; | |
border-bottom: 1px solid #426579; | |
border-left: 5px solid #426579; | |
padding: 1px 7px; | |
margin-bottom: 0.5em; | |
margin-top: 1em; | |
} | |
.entry-content h3 { | |
position:relative; | |
padding-left:30px; | |
border-bottom:2px solid #ccc; | |
font-weight: bold; | |
font-size: 25px; | |
line-height: 38px; | |
margin-left: 0px; | |
margin-bottom: 0.5em; | |
margin-top: 1em; | |
} | |
.entry-content h3:before { | |
content:''; | |
border-radius:30px; | |
-webkit-border-radius:30px; | |
-moz-border-radius:30px; | |
height:12px; | |
width:12px; | |
display:block; | |
position:absolute; | |
top:14px; | |
left:7px; | |
background-color:#6B0CE8; | |
box-shadow: 0 0 2px 2px rgba(255,255,255,0.2) inset; | |
filter:alpha(opacity=50); | |
-moz-opacity:0.50; | |
-khtml-opacity: 0.50; | |
opacity:0.50; | |
z-index: 1; | |
} | |
.entry-content h3:after { | |
content:''; | |
border-radius:30px; | |
-webkit-border-radius:30px; | |
-moz-border-radius:30px; | |
height:15px; | |
width:15px; | |
display:block; | |
position:absolute; | |
top:7px; | |
left:2px; | |
background-color:#00A8FF; | |
box-shadow: 0 0 2px 2px rgba(255,255,255,0.2) inset | |
} | |
.post-body table.cheetsheet { | |
width: auto; | |
border-spacing: 0; | |
font-size:14px; | |
} | |
.post-body table.cheetsheet th { | |
color: #fff; | |
padding: 8px 15px; | |
background: #258; | |
background:-moz-linear-gradient(rgba(34,85,136,0.7), rgba(34,85,136,0.9) 50%); | |
background:-webkit-gradient(linear, 100% 0%, 100% 50%, from(rgba(34,85,136,0.7)), to(rgba(34,85,136,0.9))); | |
font-weight: bold; | |
border-left:1px solid #258; | |
border-top:1px solid #258; | |
border-bottom:1px solid #258; | |
line-height: 120%; | |
text-align: center; | |
text-shadow:0 -1px 0 rgba(34,85,136,0.9); | |
box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset; | |
} | |
.post-body table.cheetsheet th:first-child { | |
border-radius: 5px 0 0 0; | |
} | |
.post-body table.cheetsheet th:last-child { | |
border-radius:0 5px 0 0; | |
border-right:1px solid #258; | |
box-shadow: 2px 2px 1px rgba(0,0,0,0.1),0px 1px 1px rgba(255,255,255,0.3) inset; | |
} | |
.post-body table.cheetsheet tr td { | |
padding: 8px 15px; | |
border-bottom: 1px solid #84b2e0; | |
border-left: 1px solid #84b2e0; | |
<!-- text-align: center; --> | |
} | |
.post-body table.cheetsheet tr td:last-child { | |
border-right: 1px solid #84b2e0; | |
box-shadow: 2px 2px 1px rgba(0,0,0,0.1); | |
} | |
.post-body table.cheetsheet tr { | |
background: #fff; | |
} | |
.post-body table.cheetsheet tr:nth-child(2n+1) { | |
background: #f1f6fc; | |
} | |
.post-body table.cheetsheet tr:last-child td { | |
box-shadow: 2px 2px 1px rgba(0,0,0,0.1); | |
} | |
.post-body table.cheetsheet tr:last-child td:first-child { | |
border-radius: 0 0 0 5px; | |
} | |
.post-body table.cheetsheet tr:last-child td:last-child { | |
border-radius: 0 0 5px 0; | |
} | |
.post-body table.cheetsheet tr:hover { | |
background: #bbd4ee; | |
cursor:pointer; | |
} | |
pre.commandline { | |
/*fontの指定(google web font)*/ | |
font-family: 'Oxygen Mono'; | |
/*境界との位置関係を調整*/ | |
margin: 20px 5px 20px 5px; | |
padding: 5px 0px 5px 8px; | |
border: 1px solid #7a7a7a; | |
/*色*/ | |
background-color: #ffffff; | |
color: #000000; | |
/*角を丸くする*/ | |
-webkit-border-radius: 5px; | |
-moz-border-radius:5px; | |
border-radius:5px; | |
/*影をつける(外と中の両方)*/ | |
-webkit-box-shadow:3px 3px 5px 0 #aaa, 1px 1px 5px 0 rgba(0,0,0,0.3) inset; | |
-moz-box-shadow:3px 3px 5px 0 #aaa, 1px 1px 5px 0 rgba(0,0,0,0.3) inset; | |
box-shadow:3px 3px 5px 0 #aaa, 1px 1px 5px 0 rgba(0,0,0,0.3) inset; | |
overflow: auto; | |
white-space: pre-wrap; | |
word-wrap: break-word; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment