guide.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. p.indent {
  2. text-indent: 0em;
  3. }
  4. body {
  5. max-width: 680px;
  6. margin: 0 auto !important;
  7. float: none !important;
  8. font-family: Georgia, serif;
  9. }
  10. .tabbing{padding-left: 2px; padding-right:2px;}
  11. /* The below was adapted from Bootstrap 3.0.0,
  12. ** which is:
  13. **
  14. * Copyright 2013 Twitter, Inc
  15. * Licensed under the Apache License v2.0
  16. * http://www.apache.org/licenses/LICENSE-2.0
  17. *
  18. * Modifications made in this project are:
  19. * Copyright 2014 Bradley M. Kuhn
  20. * Also licensed Apache-2.0
  21. */
  22. @media print {
  23. .quotation {
  24. border: 1px solid #999;
  25. page-break-inside: avoid;
  26. }
  27. }
  28. .quotation {
  29. padding: 10px 20px;
  30. margin: 1px 50px 4px;
  31. border: 2px solid #91908f;
  32. background: #eceeee;
  33. }
  34. .quotation p {
  35. font-size: 95%;
  36. font-weight: 300;
  37. line-height: 1.25;
  38. }
  39. .quotation p:last-child {
  40. margin-bottom: 0;
  41. }
  42. .quotation small {
  43. display: block;
  44. line-height: 1.428571429;
  45. color: #999999;
  46. }
  47. .quotation small:before {
  48. content: '\2014 \00A0';
  49. }
  50. .quotation.pull-right {
  51. padding-right: 15px;
  52. padding-left: 0;
  53. border-right: 5px solid #eeeeee;
  54. border-left: 0;
  55. }
  56. .quotation.pull-right p,
  57. .quotation.pull-right small {
  58. text-align: right;
  59. }
  60. .quotation.pull-right small:before {
  61. content: '';
  62. }
  63. .quotation.pull-right small:after {
  64. content: '\00A0 \2014';
  65. }
  66. .quotation:before,
  67. .quotation:after {
  68. content: "";
  69. }
  70. .lstlisting
  71. {
  72. font-family: monospace, serif;
  73. font-size: 1em;
  74. padding: 2px 1px;
  75. margin: 1px 5px 4px;
  76. font-size: 90%;
  77. color: #c7254e;
  78. white-space: nowrap;
  79. background-color: #f9f2f4;
  80. border-radius: 2px;
  81. font-size: inherit;
  82. color: inherit;
  83. white-space: pre-wrap;
  84. background-color: transparent;
  85. border: 2px solid #575857;
  86. }
  87. .lstlisting.label {
  88. font-family: monospace, serif;
  89. border: 0;
  90. margin-bottom: 1px;
  91. font-weight: normal;
  92. font-size: 90%;
  93. padding: 0;
  94. border-radius: 0px;
  95. color: #c7254e;
  96. }
  97. /* Handle issues with anchor in-page links offsets due to bootstrap's */
  98. /* fixed top navbar. For in-page anchor links, the fixed navbar at */
  99. /* the top obscures the text of the link that's jumped to. */
  100. /* Most of the pure CSS solutions found online cannot handle the */
  101. /* situation where you have an anchor with both href and id */
  102. /* attributes. This seemed the best one for use in cases where */
  103. /* there was is no href. in the anchor which included the id. */
  104. .likesectionHead a[id],
  105. .subsectionHead a[id],
  106. .likesubsectionHead a[id],
  107. .partHead a[id],
  108. .likepartHead a[id],
  109. .appendixHead a[id],
  110. .likeappendixHead a[id],
  111. .chapterHead a[id],
  112. .likechapterHead a[id],
  113. .sectionHead a[id] {
  114. border-top: 75px solid transparent;
  115. margin-top: -75px;
  116. -webkit-background-clip: padding-box;
  117. -moz-background-clip: padding;
  118. background-clip: padding-box;
  119. }
  120. /* Note that those anchors that contain both href and id cannot be */
  121. /* handled this way. It casuses strange problems with the href links. */
  122. /* The specific problem is that you get a 75px offset when the */
  123. /* mousepointer activates the link, and the tooltip on the footnotes */
  124. /* don't work. Therefore, the following classes are handled by the */
  125. /* Javascript rather than CSS: */
  126. /* chapterToc, sectionToc, subsectionToc, partToc, footnote-mark */