You are here

geshifilter.css in GeSHi Filter for syntax highlighting 8

Same filename and directory in other branches
  1. 8.2 assets/css/geshifilter.css
/**
 * 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;
  padding: 0.5em;
  margin: 0.5em;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  color: #222;
  line-height: 1.3;
  overflow: auto;
}

/* CSS reset for the 'pre' elements in the geshifilter code blocks. */
div.geshifilter pre {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

/* 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;
  list-style-position: outside;
  list-style-type: decimal;
  line-height: 1.3;
}

div.geshifilter li {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

/* 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;
}

File

assets/css/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 the files directory.
  5. */
  6. /* Inline source code. */
  7. span.geshifilter {
  8. display: inline;
  9. padding: 0;
  10. margin: 0;
  11. border: none;
  12. }
  13. /* Source code block. */
  14. div.geshifilter {
  15. display: block;
  16. padding: 0.5em;
  17. margin: 0.5em;
  18. border: 1px solid #ccc;
  19. background-color: #f8f8f8;
  20. color: #222;
  21. line-height: 1.3;
  22. overflow: auto;
  23. }
  24. /* CSS reset for the 'pre' elements in the geshifilter code blocks. */
  25. div.geshifilter pre {
  26. margin: 0;
  27. padding: 0;
  28. line-height: 1.3;
  29. }
  30. /* CSS resets for 'ol'-based line numbering. */
  31. div.geshifilter ol {
  32. margin: 0;
  33. /* Left padding is for keeping space for the line numbers. */
  34. padding: 0 0 0 4em;
  35. list-style-position: outside;
  36. list-style-type: decimal;
  37. line-height: 1.3;
  38. }
  39. div.geshifilter li {
  40. margin: 0;
  41. padding: 0;
  42. line-height: 1.3;
  43. }
  44. /* CSS resets for the table elements in GESHI_HEADER_PRE_TABLE mode. */
  45. div.geshifilter table,
  46. div.geshifilter tbody,
  47. div.geshifilter tr,
  48. div.geshifilter td {
  49. margin: 0;
  50. padding: 0;
  51. border-style: none;
  52. }
  53. div.geshifilter-title {
  54. padding: 0.5ex 0.5em;
  55. margin: 0.5em 0.5em -0.5em 0.5em;
  56. background-color: #ccc;
  57. }