style.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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. font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  38. }
  39. img
  40. {
  41. max-width: 600px;
  42. }
  43. figure
  44. {
  45. margin: 0px auto;
  46. width: 600px;
  47. }
  48. figcaption
  49. {
  50. font-style: italic;
  51. }
  52. pre, code {
  53. font-size: 0.85em;
  54. font-family: Consolas, Inconsolata, Courier, monospace;
  55. }
  56. code {
  57. margin: 0 0.15em;
  58. padding: 0 0.3em;
  59. white-space: pre-wrap;
  60. border: 1px solid #EAEAEA;
  61. background-color: #F8F8F8;
  62. border-radius: 3px;
  63. display: inline; /* added to fix Yahoo block display of inline code */
  64. }
  65. pre {
  66. font-size: 1em;
  67. line-height: 1.2em;
  68. }
  69. pre code {
  70. white-space: pre;
  71. overflow: auto; /* fixes issue #70: Firefox/Thunderbird: Code blocks with horizontal scroll would have bad background colour */
  72. border-radius: 3px;
  73. border: 1px solid #CCC;
  74. padding: 0.5em 0.7em;
  75. display: block !important; /* added to counteract the Yahoo-specific `code` rule; without this, code blocks in Blogger are broken */
  76. }
  77. /* In edit mode, Wordpress uses a `* { font: ...;} rule+style that makes highlighted
  78. code look non-monospace. This rule will override it. */
  79. .markdown-here-wrapper[data-md-url*="wordpress."] code span {
  80. font: inherit;
  81. }
  82. /* Wordpress adds a grey background to `pre` elements that doesn't go well with
  83. our syntax highlighting. */
  84. .markdown-here-wrapper[data-md-url*="wordpress."] pre {
  85. background-color: transparent;
  86. }
  87. /* This spacing has been tweaked to closely match Gmail+Chrome "paragraph" (two line breaks) spacing. */
  88. p {
  89. /* !important is needed here because Hotmail/Outlook.com uses !important to
  90. kill the margin in <p>. We need this to win. */
  91. margin: 1.2em 0 !important;
  92. }
  93. table, pre, dl, blockquote, q, ul, ol {
  94. margin: 1.2em 0;
  95. }
  96. ul, ol {
  97. padding-left: 2em;
  98. }
  99. li {
  100. margin: 0.5em 0;
  101. }
  102. /* Space paragraphs in a list the same as the list itself. */
  103. li p {
  104. /* Needs !important to override rule above. */
  105. margin: 0.5em 0 !important;
  106. }
  107. /* Smaller spacing for sub-lists */
  108. ul ul, ul ol, ol ul, ol ol {
  109. margin: 0;
  110. padding-left: 1em;
  111. }
  112. dl {
  113. padding: 0;
  114. }
  115. dl dt {
  116. font-size: 1em;
  117. font-weight: bold;
  118. font-style: italic;
  119. }
  120. dl dd {
  121. margin: 0 0 1em;
  122. padding: 0 1em;
  123. }
  124. blockquote, q {
  125. border-left: 4px solid #DDD;
  126. padding: 0 1em;
  127. color: #777;
  128. quotes: none;
  129. }
  130. blockquote::before, blockquote::after, q::before, q::after {
  131. content: none;
  132. }
  133. h1, h2, h3, h4, h5, h6 {
  134. margin: 1.3em 0 1em;
  135. padding: 0;
  136. font-weight: bold;
  137. font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  138. }
  139. h1 {
  140. font-size: 1.6em;
  141. border-bottom: 1px solid #ddd;
  142. }
  143. h2 {
  144. font-size: 1.3em;
  145. border-bottom: 1px solid #eee;
  146. }
  147. h3 {
  148. font-size: 1.2em;
  149. }
  150. h4 {
  151. font-size: 1.1em;
  152. }
  153. h5 {
  154. font-size: 1em;
  155. }
  156. h6 {
  157. font-size: 1em;
  158. color: #777;
  159. }
  160. table {
  161. padding: 0;
  162. border-collapse: collapse;
  163. border-spacing: 0;
  164. font-size: 1em;
  165. font: inherit;
  166. border: 0;
  167. }
  168. tbody {
  169. margin: 0;
  170. padding: 0;
  171. border: 0;
  172. }
  173. table tr {
  174. border: 0;
  175. border-top: 1px solid #CCC;
  176. background-color: white;
  177. margin: 0;
  178. padding: 0;
  179. }
  180. table tr:nth-child(2n) {
  181. background-color: #F8F8F8;
  182. }
  183. table tr th, table tr td {
  184. font-size: 1em;
  185. border: 1px solid #CCC;
  186. margin: 0;
  187. padding: 0.5em 1em;
  188. }
  189. table tr th {
  190. font-weight: bold;
  191. background-color: #F0F0F0;
  192. }
  193. h2 a
  194. {
  195. text-decoration: none;
  196. color: inherit;
  197. }
  198. h2 a:hover
  199. {
  200. color: blue;
  201. text-decoration: underline;
  202. }
  203. h3 a
  204. {
  205. text-decoration: none;
  206. color: inherit;
  207. }
  208. h3 a:hover
  209. {
  210. color: blue;
  211. text-decoration: underline;
  212. }