Last active
September 6, 2018 04:42
-
-
Save iyahoo/819bb5f270f221d0be5b8f996885f85e to your computer and use it in GitHub Desktop.
css for terminal
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
/* <system section="theme" selected="terminal"> */ | |
@import url("http://lhcpr.hatenablog.com/css/theme/terminal/terminal.css"); | |
/* </system> */ | |
#title, #blog-description { | |
padding-left: 0px; | |
} | |
/* categories */ | |
.categories { | |
display: flex; | |
flex-direction: row; | |
position: static; | |
width: auto; | |
max-width: 100%; | |
} | |
.categories a { | |
margin: 3px; | |
} | |
/* entry */ | |
.entry-header { | |
display: flex; | |
flex-wrap: wrap; | |
flex-direction: column; | |
margin-bottom: 30px; | |
} | |
.entry-inner .date { | |
position: static; | |
} | |
.entry-title { | |
position: static; | |
padding: 5px 0 3px 0; | |
} | |
.entry-title a:before { | |
content: ""; | |
padding-right: .5em; | |
} | |
.entry-title a:after { | |
content: ""; | |
padding-right: .5em; | |
} | |
.entry-footer { | |
width: 95%; | |
max-width: 770px; | |
float: none; | |
} | |
.entry-content { | |
width: 100%; | |
} | |
#main { | |
width: 95%; | |
margin-right: 15px; | |
max-width: 770px; | |
} | |
aside#box2 { | |
width: 90%; | |
max-width: 140px; | |
} | |
@media screen and (max-width: 960px ) { | |
aside#box2 { | |
max-width: 90%; | |
} | |
} | |
/* code */ | |
pre.code{ | |
margin: 0 0 1.5em 0; | |
padding: 1em; | |
border: 1px solid #e4e4e4; | |
border-radius: 2px; | |
font-size: 12px; | |
} | |
/* img */ | |
img { | |
border: solid 1px #999; | |
} | |
/* Gist */ | |
.gist .gist-data { | |
background-color: rgba(0,0,0,0) !important; | |
} | |
.gist .highlight { | |
background-color: rgba(0,0,0,.25) !important; | |
} | |
.gist .blob-code-inner, .gist .blob-num { | |
color: #ccc !important; | |
} | |
.gist .pl-s, .gist .pl-pds { | |
color: #a170b3 !important; | |
} | |
.gist .pl-e, .gist .pl-en { | |
color: #c2a300 !important; | |
} | |
.gist .pl-c1, .gist .pl-s .pl-v { | |
color: #00cc66 !important; | |
} | |
.gist .pl-k { | |
color: #0099d1 !important; | |
} | |
.gist .gist-meta { | |
color: #ccc !important; | |
background-color: rgba(0, 0, 0, .25) !important; | |
} | |
.gist .gist-meta a { | |
color: #888 !important; | |
} | |
.gist-data { | |
max-height : 20em; | |
overflow : auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment