nmaster64

TwitchTV Stylesheet for MarkdownPad

Jan 1st, 2013
270
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* http://support.twitch.tv/discussion/8073/markdown-editor-w-twitch-stylesheet */
  2.  
  3. * { margin: 0; padding: 0; }
  4.  
  5. body {
  6.     padding:0 30px;
  7.     background-color: #F5F5F5;
  8.     color: #444;
  9.     font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  10.     font-size: 12px;
  11.     line-height: 1.5;
  12. }
  13.  
  14. p, ul, ol, hr, img, blockquote, h1, h2, h3, h4, h5 {
  15.     display: block;
  16.     width: 320px;
  17.     max-width: 320px !important;
  18. }
  19.  
  20. p, ul, ol, hr, img, blockquote { margin-bottom: 15px; }
  21.  
  22. h1, h2, h3, h4, h5 {
  23.     margin-bottom: 10px;
  24.     font-size: 14px;
  25.     font-weight: bold;
  26. }
  27. h1 { font-size: 16px; }
  28. h3 { color: #222; }
  29.  
  30. a {
  31.     color: #6441A5;
  32.     font-size: 100%;
  33.     text-decoration: none;
  34. }
  35. a:visited { color: #6441A5; }
  36. a:active  { text-decoration: underline; }
  37. a:hover   { text-decoration: underline; }
  38.  
  39. ul { list-style-type: disc; }
  40. li { list-style-position: inside; }
  41.  
  42. blockquote {
  43.     width: auto;
  44.     padding-left: 15px;
  45. }
  46. blockquote p { width: auto; }
  47. blockquote p:last-child { margin-bottom: 0; }
  48.  
  49. hr {
  50.     width: 320px;
  51.     background-color: #CCC;
  52.     color: #CCC;
  53.     height: 1px;
  54.     border: none;
  55. }
  56.  
  57. code {
  58.     font-family: "Courier New", Courier, monospace, sans-serif;
  59.     text-align: left;
  60.     color: #262626;
  61. }
  62.  
  63. img {
  64.     border: 0;
  65.     vertical-align: top;
  66. }
  67. a img { margin-bottom: 0 !important; }
  68.  
  69. @font-face {
  70.     font-family:"Korolev-Bold";
  71.     src:url("http://www-cdn.jtvnw.net/webfonts/22AE77_0_0.eot");
  72.     src:url("http://www-cdn.jtvnw.net/webfonts/22AE77_0_0.eot?#iefix")  format("embedded-opentype"),
  73.         url("http://www-cdn.jtvnw.net/webfonts/22AE77_0_0.woff")        format("woff"),
  74.         url("http://www-cdn.jtvnw.net/webfonts/22AE77_0_0.ttf")         format("truetype");
  75. }
  76. h6 {
  77.     display: block;
  78.     width: 320px;
  79.     margin: 30px 0 10px;
  80.     font-family: "Korolev-Bold","HelveticaNeue-CondensedBold","ArialNarrow-Bold","Helvetica Neue",Helvetica,Arial,sans-serif;
  81.     font-size: 24px;
  82.     font-weight: normal;
  83.     line-height: 1.5;
  84. }
RAW Paste Data