2014-12-03 14:27:31 +00:00
|
|
|
.file-content.code {
|
2014-01-27 11:12:58 +00:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2016-03-16 23:29:47 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-01-27 11:12:58 +00:00
|
|
|
table-layout: fixed;
|
|
|
|
|
|
|
|
pre {
|
2014-01-27 16:18:18 +00:00
|
|
|
padding: 10px;
|
2014-01-27 11:12:58 +00:00
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
|
|
|
font-family: $monospace_font;
|
2015-01-26 23:15:51 +00:00
|
|
|
font-size: $code_font_size !important;
|
2015-01-27 02:56:56 +00:00
|
|
|
line-height: $code_line_height !important;
|
2014-01-27 11:12:58 +00:00
|
|
|
margin: 0;
|
2014-12-03 14:27:31 +00:00
|
|
|
overflow: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
white-space: pre;
|
|
|
|
word-wrap: normal;
|
2016-01-25 10:42:47 +00:00
|
|
|
border-left: 1px solid;
|
2014-01-27 11:12:58 +00:00
|
|
|
|
|
|
|
code {
|
2014-12-03 14:27:31 +00:00
|
|
|
font-family: $monospace_font;
|
2014-01-27 11:12:58 +00:00
|
|
|
white-space: pre;
|
|
|
|
word-wrap: normal;
|
2014-01-27 12:21:40 +00:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.line {
|
2016-01-25 10:42:47 +00:00
|
|
|
display: inline-block;
|
2014-01-27 12:21:40 +00:00
|
|
|
}
|
2014-01-27 11:12:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-numbers {
|
|
|
|
padding: 10px;
|
|
|
|
text-align: right;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-family: $monospace_font;
|
|
|
|
display: block;
|
2015-01-26 23:15:51 +00:00
|
|
|
font-size: $code_font_size !important;
|
2015-01-27 02:56:56 +00:00
|
|
|
line-height: $code_line_height !important;
|
2014-01-31 01:12:41 +00:00
|
|
|
white-space: nowrap;
|
2014-01-27 11:12:58 +00:00
|
|
|
|
|
|
|
i {
|
2016-02-22 14:09:13 +00:00
|
|
|
float: left;
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-right: 5px;
|
2014-01-31 01:12:41 +00:00
|
|
|
visibility: hidden;
|
2014-01-27 11:12:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover i {
|
2014-01-31 01:12:41 +00:00
|
|
|
visibility: visible;
|
2014-01-27 11:12:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-03 14:27:31 +00:00
|
|
|
}
|