You are here

geshifilter.css in GeSHi Filter for syntax highlighting 5.2

Same filename and directory in other branches
  1. 5 geshifilter.css
  2. 6 geshifilter.css
  3. 7 geshifilter.css
/**
 * CSS rules for the general GeSHi filter containers.
 * The language specific rules are generated automatically and written to a
 * CSS file in your files directory.
 */


/* inline source code */
span.geshifilter {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
}

/* block source code */
div.geshifilter {
  display: block;
  padding: 0.5em;
  margin: 0.5em;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  line-height: 1.3;
}

div.geshifilter > pre, div.geshifilter > div {
  margin: 0;
  padding: 0;
  overflow: auto;
}

/* Set line-height for syntax highlighting with line numbers */
.geshifilter ol {
  margin: 0;
  line-height: 1.3;
}

File

geshifilter.css
View source
  1. /**
  2. * CSS rules for the general GeSHi filter containers.
  3. * The language specific rules are generated automatically and written to a
  4. * CSS file in your files directory.
  5. */
  6. /* inline source code */
  7. span.geshifilter {
  8. display: inline;
  9. padding: 0;
  10. margin: 0;
  11. border: none;
  12. }
  13. /* block source code */
  14. div.geshifilter {
  15. display: block;
  16. padding: 0.5em;
  17. margin: 0.5em;
  18. border: 1px solid #ccc;
  19. background-color: #f8f8f8;
  20. line-height: 1.3;
  21. }
  22. div.geshifilter > pre, div.geshifilter > div {
  23. margin: 0;
  24. padding: 0;
  25. overflow: auto;
  26. }
  27. /* Set line-height for syntax highlighting with line numbers */
  28. .geshifilter ol {
  29. margin: 0;
  30. line-height: 1.3;
  31. }