style.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. /*
  2. * NOTE:
  3. * - The use of browser-specific styles (-moz-, -webkit-) should be avoided.
  4. * If used, they may not render correctly for people reading the email in
  5. * a different browser than the one from which the email was sent.
  6. * - The use of state-dependent styles (like a:hover) don't work because they
  7. * don't match at the time the styles are made explicit. (In email, styles
  8. * must be explicitly applied to all elements -- stylesheets get stripped.)
  9. */
  10. /* This is the overall wrapper, it should be treated as the `body` section. */
  11. .markdown-here-wrapper {
  12. }
  13. /* To add site specific rules, you can use the `data-md-url` attribute that we
  14. add to the wrapper element. Note that rules like this are used depending
  15. on the URL you're *sending* from, not the URL where the recipient views it.
  16. */
  17. /* .markdown-here-wrapper[data-md-url*="mail.yahoo."] ul { color: red; } */
  18. html
  19. {
  20. margin: 0px;
  21. padding: 0px;
  22. /*background-color: #bbb;*/
  23. background-image: url(images/background.gif);
  24. font-weight: 300;
  25. height: 100%;
  26. }
  27. body
  28. {
  29. font-size: 11pt;
  30. background-color: #fff;
  31. padding: 10px;
  32. margin:0px auto;
  33. border-left: 1px solid #888;
  34. border-right: 1px solid #888;
  35. width: 765px;
  36. text-align: left;
  37. }
  38. img
  39. {
  40. max-width: 650px;
  41. }
  42. figcaption
  43. {
  44. font-style: italic;
  45. }
  46. pre, code {
  47. font-size: 0.85em;
  48. font-family: Consolas, Inconsolata, Courier, monospace;
  49. }
  50. code {
  51. margin: 0 0.15em;
  52. padding: 0 0.3em;
  53. white-space: pre-wrap;
  54. border: 1px solid #EAEAEA;
  55. background-color: #F8F8F8;
  56. border-radius: 3px;
  57. display: inline; /* added to fix Yahoo block display of inline code */
  58. }
  59. pre {
  60. font-size: 1em;
  61. line-height: 1.2em;
  62. }
  63. pre code {
  64. white-space: pre;
  65. overflow: auto; /* fixes issue #70: Firefox/Thunderbird: Code blocks with horizontal scroll would have bad background colour */
  66. border-radius: 3px;
  67. border: 1px solid #CCC;
  68. padding: 0.5em 0.7em;
  69. display: block !important; /* added to counteract the Yahoo-specific `code` rule; without this, code blocks in Blogger are broken */
  70. }
  71. /* In edit mode, Wordpress uses a `* { font: ...;} rule+style that makes highlighted
  72. code look non-monospace. This rule will override it. */
  73. .markdown-here-wrapper[data-md-url*="wordpress."] code span {
  74. font: inherit;
  75. }
  76. /* Wordpress adds a grey background to `pre` elements that doesn't go well with
  77. our syntax highlighting. */
  78. .markdown-here-wrapper[data-md-url*="wordpress."] pre {
  79. background-color: transparent;
  80. }
  81. /* This spacing has been tweaked to closely match Gmail+Chrome "paragraph" (two line breaks) spacing. */
  82. p {
  83. /* !important is needed here because Hotmail/Outlook.com uses !important to
  84. kill the margin in <p>. We need this to win. */
  85. margin: 1.2em 0 !important;
  86. }
  87. table, pre, dl, blockquote, q, ul, ol {
  88. margin: 1.2em 0;
  89. }
  90. ul, ol {
  91. padding-left: 2em;
  92. }
  93. li {
  94. margin: 0.5em 0;
  95. }
  96. /* Space paragraphs in a list the same as the list itself. */
  97. li p {
  98. /* Needs !important to override rule above. */
  99. margin: 0.5em 0 !important;
  100. }
  101. /* Smaller spacing for sub-lists */
  102. ul ul, ul ol, ol ul, ol ol {
  103. margin: 0;
  104. padding-left: 1em;
  105. }
  106. dl {
  107. padding: 0;
  108. }
  109. dl dt {
  110. font-size: 1em;
  111. font-weight: bold;
  112. font-style: italic;
  113. }
  114. dl dd {
  115. margin: 0 0 1em;
  116. padding: 0 1em;
  117. }
  118. blockquote, q {
  119. border-left: 4px solid #DDD;
  120. padding: 0 1em;
  121. color: #777;
  122. quotes: none;
  123. }
  124. blockquote::before, blockquote::after, q::before, q::after {
  125. content: none;
  126. }
  127. h1, h2, h3, h4, h5, h6 {
  128. margin: 1.3em 0 1em;
  129. padding: 0;
  130. font-weight: bold;
  131. font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  132. }
  133. h1 {
  134. font-size: 1.6em;
  135. border-bottom: 1px solid #ddd;
  136. }
  137. h2 {
  138. font-size: 1.4em;
  139. border-bottom: 1px solid #eee;
  140. }
  141. h3 {
  142. font-size: 1.3em;
  143. }
  144. h4 {
  145. font-size: 1.2em;
  146. }
  147. h5 {
  148. font-size: 1em;
  149. }
  150. h6 {
  151. font-size: 1em;
  152. color: #777;
  153. }
  154. table {
  155. padding: 0;
  156. border-collapse: collapse;
  157. border-spacing: 0;
  158. font-size: 1em;
  159. font: inherit;
  160. border: 0;
  161. }
  162. tbody {
  163. margin: 0;
  164. padding: 0;
  165. border: 0;
  166. }
  167. table tr {
  168. border: 0;
  169. border-top: 1px solid #CCC;
  170. background-color: white;
  171. margin: 0;
  172. padding: 0;
  173. }
  174. table tr:nth-child(2n) {
  175. background-color: #F8F8F8;
  176. }
  177. table tr th, table tr td {
  178. font-size: 1em;
  179. border: 1px solid #CCC;
  180. margin: 0;
  181. padding: 0.5em 1em;
  182. }
  183. table tr th {
  184. font-weight: bold;
  185. background-color: #F0F0F0;
  186. }