gitphp.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /*
  2. * gitphp.css
  3. *
  4. * GitPHP layout functional stylesheet
  5. *
  6. * @author Christopher Han <xiphux@gmail.com>
  7. * @copyright Copyright (c) 2006-2011 Christopher Han
  8. * @package GitPHP
  9. */
  10. /*
  11. * Base styles
  12. */
  13. .monospace {
  14. font-family: monospace;
  15. }
  16. table {
  17. border-spacing: 0px;
  18. }
  19. /*
  20. * Title bar
  21. * (main header with commit message)
  22. */
  23. div.title a.title {
  24. display: block;
  25. }
  26. /*
  27. * Project list
  28. */
  29. .projectList .projectRow .projectOwner {
  30. white-space: nowrap;
  31. }
  32. .projectList .projectRow .projectAge {
  33. white-space: nowrap;
  34. }
  35. .projectList .projectRow .link {
  36. white-space: nowrap;
  37. }
  38. /*
  39. * Full log view
  40. */
  41. div.log_body {
  42. padding: 8px 8px 8px 150px;
  43. }
  44. span.age {
  45. position: relative;
  46. float: left;
  47. width: 142px;
  48. }
  49. div.log_link {
  50. margin: -5px 0px;
  51. padding: 0px 8px;
  52. position: relative;
  53. float: left;
  54. width: 136px;
  55. }
  56. /*
  57. * Diff display
  58. */
  59. .pre {
  60. white-space: pre;
  61. }
  62. /*
  63. * Search box
  64. */
  65. div.search {
  66. margin: 4px 8px;
  67. position: absolute;
  68. top: 56px;
  69. right: 12px
  70. }
  71. /*
  72. * Badges
  73. */
  74. a.rss_logo {
  75. float: right;
  76. }
  77. /*
  78. * Language selector
  79. */
  80. div.lang_select {
  81. width: 300px;
  82. float: right;
  83. text-align: right;
  84. padding-right: 10px;
  85. }
  86. /*
  87. * Blob/blame display
  88. */
  89. table.code td.num {
  90. white-space: pre;
  91. }
  92. table.code td.codeline {
  93. white-space: pre;
  94. }
  95. table.code td.author, table.code td.date {
  96. white-space: nowrap;
  97. }
  98. /*
  99. * Blob view
  100. */
  101. td#blameData {
  102. white-space: nowrap;
  103. }
  104. /*
  105. * File search view
  106. */
  107. span.matchline {
  108. white-space: pre;
  109. }
  110. /*
  111. * side-by-side-diff diff
  112. */
  113. table.diffTable {
  114. width: 100%;
  115. white-space: pre-wrap;
  116. }
  117. table.diffTable td {
  118. width: 50%;
  119. }
  120. /*
  121. * side-by-side commitdiff
  122. */
  123. div.commitDiffSBS div.SBSTOC .showAll
  124. {
  125. display: none;
  126. }
  127. /*
  128. * Geshi styles
  129. * These are generated by Geshi, don't change them
  130. */
  131. #blobData .de1, #blobData .de2 {
  132. font: normal normal 1em/1.2em monospace;
  133. margin: 0;
  134. padding: 0;
  135. background: none;
  136. vertical-align: top;
  137. }
  138. #blobData {
  139. font-family: monospace;
  140. }
  141. #blobData li, #blobData .li1 {
  142. font-weight: normal;
  143. vertical-align: top;
  144. }