Fixed left padding of GeSHiFilter 'pre' elements

This commit is contained in:
Manuel Cillero 2017-08-27 11:59:59 +02:00
parent 5c5aaddc78
commit b461f2b690
2 changed files with 18 additions and 33 deletions

View file

@ -6,7 +6,7 @@
*/
/* Inline source code. */
/* Inline source code */
span.geshifilter {
display: inline;
padding: 0;
@ -14,33 +14,39 @@ span.geshifilter {
border: none;
}
/* Source code block. */
/* Source code block */
div.geshifilter {
display: block;
padding: 0.5em;
margin: 0.5em;
border: 1px solid #ccc;
background-color: #f8f8f8;
margin: -9.5px;
padding: 9.5px;
border: 0;
background: transparent;
color: #222;
line-height: 1.3;
overflow: auto;
}
/* CSS reset for the 'pre' elements in the geshifilter code blocks. */
/* CSS reset for the 'pre' elements in the geshifilter code blocks */
div.geshifilter pre {
border: 0;
margin: 0;
padding: 0;
line-height: 1.3;
background-color: transparent;
overflow: visible;
word-break: normal;
word-wrap: normal;
}
/* CSS resets for 'ol'-based line numbering. */
/* CSS resets for 'ol'-based line numbering */
div.geshifilter ol {
margin: 0;
/* Left padding is for keeping space for the line numbers. */
padding: 0 0 0 4em;
/* Left padding is for keeping space for the line numbers */
padding: 0 0 0 3em !important;
list-style-position: outside;
list-style-type: decimal;
line-height: 1.3;
color: #b2b2b2;
}
div.geshifilter li {
@ -49,7 +55,7 @@ div.geshifilter li {
line-height: 1.3;
}
/* CSS resets for the table elements in GESHI_HEADER_PRE_TABLE mode. */
/* CSS resets for the table elements in GESHI_HEADER_PRE_TABLE mode */
div.geshifilter table, div.geshifilter tbody, div.geshifilter tr, div.geshifilter td {
margin: 0;
padding: 0;

View file

@ -30,7 +30,7 @@
color: #777; */
}
.node .meta ul li a:hover { /*
color: #555;
color: #555;
border-bottom: 1px dotted #555; */
}
.node .meta ul li a.active { /*
@ -146,27 +146,6 @@ img.filefield-icon {
margin: 4px 0 0 -22px !important;
}
/*
* "GeSHi Filter" module.
*/
div.geshifilter {
border: 0;
margin: -9.5px;
padding: 9.5px;
background: transparent;
}
div.geshifilter pre {
border: 0;
margin: 0;
padding: 0;
background-color: transparent;
overflow: visible;
}
div.geshifilter ol {
padding-left: 3em;
color: #b2b2b2;
}
/*
* Redefine modules/node/node.css styles.
*/