mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2025-10-17 17:01:01 +00:00
42 lines
809 B
Plaintext
42 lines
809 B
Plaintext
<%= Rouge::Themes::Github.render %>
|
|
|
|
// Overwrite some settings to be compatible with line-numbers: true
|
|
.highlight {
|
|
overflow-x: auto;
|
|
margin: 1.75em 0; /* default margin of table */
|
|
border: #E3EDF3 1px solid; /* default border of pre */
|
|
border-radius: 3px;
|
|
|
|
table {
|
|
margin: 0;
|
|
|
|
tbody tr td {
|
|
padding: 0;
|
|
border: 0 none;
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
pre {
|
|
border: 0 none;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.gl {
|
|
border-color: #E3EDF3;
|
|
border-style: solid;
|
|
border-width: 0 1px 0 0;
|
|
|
|
width: 1%;
|
|
min-width: 2em;
|
|
|
|
// Stop line numbers being visually selected
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
}
|