Add tag to top-right of all code blocks to specify what language something is

[ci skip]
This commit is contained in:
Jose Diaz-Gonzalez
2016-07-03 17:20:46 -04:00
parent a9617f23ce
commit a4b2447c85
2 changed files with 97 additions and 5 deletions

View File

@@ -282,6 +282,34 @@ a.list-group-item {
.markdown-body h1 + h2 {
margin-top: 1em;
}
.highlight-show-language {
position: relative;
}
.highlight-show-language-label {
color: black;
background-color: #CFCFCF;
display: inline-block;
position: absolute;
bottom: auto;
left: auto;
top: 0;
right: 0;
width: auto;
height: auto;
font-size: 0.9em;
border-radius: 0 0 0 5px;
padding: 0 0.5em;
text-shadow: none;
z-index: 1;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-transform: none;
-moz-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
}
code {
padding: 0;
padding-top: 0.2em;