/** * CSS rules for the general GeSHi filter containers. * The language specific rules are generated automatically and written to a * CSS file in the files directory. */ /* Inline source code */ span.geshifilter { display: inline; padding: 0; margin: 0; border: none; } /* Source code block */ div.geshifilter { display: block; 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 */ 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 */ div.geshifilter ol { margin: 0; /* 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 { margin: 0; padding: 0; line-height: 1.3; } @media (max-width: 899px) { div.geshifilter pre, div.geshifilter li { font-size: 94%; } } @media (max-width: 529px) { div.geshifilter pre, div.geshifilter li { font-size: 88%; } } /* 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; border-style: none; } div.geshifilter-title { padding: 0.5ex 0.5em; margin: 0.5em 0.5em -0.5em 0.5em; background-color: #ccc; }