Advertisement
mshannaq

markdownpad-github-rtl.css

Feb 9th, 2019
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.70 KB | None | 0 0
  1. /* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */
  2. /* Author: Nicolas Hery - http://nicolashery.com */
  3. /* Version: b13fe65ca28d2e568c6ed5d7f06581183df8f2ff */
  4. /* Source: https://github.com/nicolahery/markdownpad-github */
  5.  
  6. /* RESET
  7. =============================================================================*/
  8.  
  9. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  10.   margin: 0;
  11.   padding: 0;
  12.   border: 0;
  13. }
  14.  
  15. /* BODY
  16. =============================================================================*/
  17.  
  18. body {
  19.   font-family: Helvetica, arial, freesans, clean, sans-serif;
  20.   font-size: 16px;
  21.   line-height: 1.6;
  22.   color: #333;
  23.   background-color: #fff;
  24.   padding: 20px;
  25.   max-width: 960px;
  26.   margin: 0 auto;
  27.   direction:rtl;
  28.   font-family:tahoma;
  29. }
  30.  
  31. body>*:first-child {
  32.   margin-top: 0 !important;
  33. }
  34.  
  35. body>*:last-child {
  36.   margin-bottom: 0 !important;
  37. }
  38.  
  39. /* BLOCKS
  40. =============================================================================*/
  41.  
  42. p, blockquote, ul, ol, dl, table, pre {
  43.   margin: 15px 0;
  44. }
  45.  
  46. /* HEADERS
  47. =============================================================================*/
  48.  
  49. h1, h2, h3, h4, h5, h6 {
  50.   margin: 20px 0 10px;
  51.   padding: 0;
  52.   font-weight: bold;
  53.   -webkit-font-smoothing: antialiased;
  54. }
  55.  
  56. h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
  57.   font-size: inherit;
  58. }
  59.  
  60. h1 {
  61.   font-size: 28px;
  62.   color: #000;
  63. }
  64.  
  65. h2 {
  66.   font-size: 24px;
  67.   border-bottom: 1px solid #ccc;
  68.   color: #000;
  69. }
  70.  
  71. h3 {
  72.   font-size: 18px;
  73. }
  74.  
  75. h4 {
  76.   font-size: 16px;
  77. }
  78.  
  79. h5 {
  80.   font-size: 14px;
  81. }
  82.  
  83. h6 {
  84.   color: #777;
  85.   font-size: 14px;
  86. }
  87.  
  88. body>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {
  89.   margin-top: 0;
  90.   padding-top: 0;
  91. }
  92.  
  93. a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
  94.   margin-top: 0;
  95.   padding-top: 0;
  96. }
  97.  
  98. h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
  99.   margin-top: 10px;
  100. }
  101.  
  102. /* LINKS
  103. =============================================================================*/
  104.  
  105. a {
  106.   color: #4183C4;
  107.   text-decoration: none;
  108. }
  109.  
  110. a:hover {
  111.   text-decoration: underline;
  112. }
  113.  
  114. /* LISTS
  115. =============================================================================*/
  116.  
  117. ul, ol {
  118.   padding-left: 30px;
  119. }
  120.  
  121. ul li > :first-child,
  122. ol li > :first-child,
  123. ul li ul:first-of-type,
  124. ol li ol:first-of-type,
  125. ul li ol:first-of-type,
  126. ol li ul:first-of-type {
  127.   margin-top: 0px;
  128. }
  129.  
  130. ul ul, ul ol, ol ol, ol ul {
  131.   margin-bottom: 0;
  132. }
  133.  
  134. dl {
  135.   padding: 0;
  136. }
  137.  
  138. dl dt {
  139.   font-size: 14px;
  140.   font-weight: bold;
  141.   font-style: italic;
  142.   padding: 0;
  143.   margin: 15px 0 5px;
  144. }
  145.  
  146. dl dt:first-child {
  147.   padding: 0;
  148. }
  149.  
  150. dl dt>:first-child {
  151.   margin-top: 0px;
  152. }
  153.  
  154. dl dt>:last-child {
  155.   margin-bottom: 0px;
  156. }
  157.  
  158. dl dd {
  159.   margin: 0 0 15px;
  160.   padding: 0 15px;
  161. }
  162.  
  163. dl dd>:first-child {
  164.   margin-top: 0px;
  165. }
  166.  
  167. dl dd>:last-child {
  168.   margin-bottom: 0px;
  169. }
  170.  
  171. /* CODE
  172. =============================================================================*/
  173.  
  174. pre, code, tt {
  175.   font-size: 12px;
  176.   font-family: Consolas, "Liberation Mono", Courier, monospace;
  177. }
  178.  
  179. code, tt {
  180.   margin: 0 0px;
  181.   padding: 0px 0px;
  182.   white-space: nowrap;
  183.   border: 1px solid #eaeaea;
  184.   background-color: #f8f8f8;
  185.   border-radius: 3px;
  186. }
  187.  
  188. pre>code {
  189.   margin: 0;
  190.   padding: 0;
  191.   white-space: pre;
  192.   border: none;
  193.   background: transparent;
  194. }
  195.  
  196. pre {
  197.   background-color: #f8f8f8;
  198.   border: 1px solid #ccc;
  199.   font-size: 13px;
  200.   line-height: 19px;
  201.   overflow: auto;
  202.   padding: 6px 10px;
  203.   border-radius: 3px;
  204. }
  205.  
  206. pre code, pre tt {
  207.   background-color: transparent;
  208.   border: none;
  209. }
  210.  
  211. kbd {
  212.     -moz-border-bottom-colors: none;
  213.     -moz-border-left-colors: none;
  214.     -moz-border-right-colors: none;
  215.     -moz-border-top-colors: none;
  216.     background-color: #DDDDDD;
  217.     background-image: linear-gradient(#F1F1F1, #DDDDDD);
  218.     background-repeat: repeat-x;
  219.     border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
  220.     border-image: none;
  221.     border-radius: 2px 2px 2px 2px;
  222.     border-style: solid;
  223.     border-width: 1px;
  224.     font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  225.     line-height: 10px;
  226.     padding: 1px 4px;
  227. }
  228.  
  229. /* QUOTES
  230. =============================================================================*/
  231.  
  232. blockquote {
  233.   border-left: 4px solid #DDD;
  234.   padding: 0 15px;
  235.   color: #777;
  236. }
  237.  
  238. blockquote>:first-child {
  239.   margin-top: 0px;
  240. }
  241.  
  242. blockquote>:last-child {
  243.   margin-bottom: 0px;
  244. }
  245.  
  246. /* HORIZONTAL RULES
  247. =============================================================================*/
  248.  
  249. hr {
  250.   clear: both;
  251.   margin: 15px 0;
  252.   height: 0px;
  253.   overflow: hidden;
  254.   border: none;
  255.   background: transparent;
  256.   border-bottom: 4px solid #ddd;
  257.   padding: 0;
  258. }
  259.  
  260. /* TABLES
  261. =============================================================================*/
  262.  
  263. table th {
  264.   font-weight: bold;
  265. }
  266.  
  267. table th, table td {
  268.   border: 1px solid #ccc;
  269.   padding: 6px 13px;
  270. }
  271.  
  272. table tr {
  273.   border-top: 1px solid #ccc;
  274.   background-color: #fff;
  275. }
  276.  
  277. table tr:nth-child(2n) {
  278.   background-color: #f8f8f8;
  279. }
  280.  
  281. /* IMAGES
  282. =============================================================================*/
  283.  
  284. img {
  285.   max-width: 100%
  286. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement