NoPaste

coolreader

von ottonormal

SNIPPET_TEXT:
  1. body { text-align: left; margin: 0; text-indent: 0px; /* justify */ }
  2.  
  3. p { text-align: justify; text-indent: 1.2em; margin-top: 0em; margin-bottom: 0em }
  4.  
  5. empty-line { height: 1em }
  6.  
  7. hr { height: 1px; background-color: #808080; margin-top: 0.5em; margin-bottom: 0.5em; /* 2px */ }
  8.  
  9. a { display: inline; text-decoration: underline; }
  10. a[type="note"] { vertical-align: super; font-size: 70%; text-decoration: none }
  11.  
  12. image { text-align: center; text-indent: 0px; display: block }
  13. p image { display: inline }
  14.  
  15. li { display: list-item; text-indent: 0em;  }
  16. ul { display: block; list-style-type: disc; margin-left: 1em }
  17. ol { display: block; list-style-type: decimal; margin-left: 1em }
  18.  
  19. cite p, epigraph p { text-align: left; text-indent: 0px }
  20. v { text-align: left; text-align-last: right; text-indent: 1em hanging }
  21.  
  22. stanza + stanza { margin-top: 1em; }
  23. stanza { margin-left: 15%; text-align: left; font-style: italic  }
  24. poem { margin-top: 1em; margin-bottom: 1em; text-indent: 0px }
  25. text-author { font-weight: bold; font-style: italic; margin-left: 5%}
  26. epigraph { margin-left: 15%; margin-right: 1em; text-align: left; text-indent: 1em; font-style: italic; margin-top: 15px; margin-bottom: 25px }
  27. cite { font-style: italic; margin-left: 5%; margin-right: 5%; text-align: justify; margin-top: 20px; margin-bottom: 20px }
  28.  
  29. title p, subtitle p, h1 p, h2 p, h3 p, h4 p, h5 p, h6 p {
  30.         text-align: center;
  31.         text-indent: 0px
  32. }
  33. title, h1, h2, h3, h4, h5, h6, subtitle {
  34.         text-align: center;
  35.         text-indent: 0px;
  36.         font-weight: bold;
  37.         hyphenate: none;
  38. }
  39. h1, h2, h3, h4, h5, h6 {    
  40.         display: block;
  41.         margin-top: 0.5em;
  42.         margin-bottom: 0.3em;
  43.         padding: 10px ;
  44.         margin-top: 0.5em;
  45.         margin-bottom: 0.5em;
  46. }
  47. title, h1, h2 {
  48.         page-break-before: always;
  49.         page-break-inside: avoid;
  50.         page-break-after: avoid;
  51. }
  52. subtitle, h3, h4, h5, h6 {
  53.         page-break-inside: avoid;
  54.         page-break-after: avoid;
  55. }
  56. title {
  57.         font-size: 110%;
  58.         margin-top: 0.7em;
  59.         margin-bottom: 0.5em
  60. }
  61. subtitle {
  62.         font-style: italic;
  63.         margin-top: 0.3em;
  64.         margin-bottom: 0.3em
  65. }
  66. h1 { font-size: 150% }
  67. h2 { font-size: 140% }
  68. h3 { font-size: 130% }
  69. h4 { font-size: 120% }
  70. h5 { font-size: 110% }
  71.  
  72. table { font-size: 80% }
  73. td, th { text-indent: 0px; padding: 3px }
  74. th {  font-weight: bold; text-align: center; background-color: #DDD  }
  75. /* #808080; */
  76. table caption { text-indent: 0px; padding: 4px; background-color: #EEE }
  77.  
  78. tt, samp, kbd, code, pre { font-family: "Courier New", "Courier", monospace; }
  79. code, pre {
  80.         display: block;
  81.         margin-top: 0.5em;
  82.         margin-bottom: 0.5em;
  83.         white-space: pre;
  84.         text-align: left;
  85.         text-align: left;
  86.   /* background-color: #BFBFBF; */
  87. }
  88.  
  89. body[name="notes"] { font-size: 70%; }
  90. body[name="notes"] section title { display: run-in; text-align: left; font-size: 110%; font-weight: bold; page-break-before: auto; page-break-inside: auto; page-break-after: auto; }
  91. body[name="notes"] section title p { display: inline }
  92.  
  93. description { display: block; }
  94. title-info { display: block; }
  95. annotation { margin-left: 5%; margin-right: 5%; font-size: 80%; font-style: italic; text-align: justify; text-indent: 1em }
  96. date { display: block; font-size: 80%; font-style: italic; text-align: center }
  97. genre { display: none; }
  98. author { display: none; }
  99. book-title { display: none; }
  100. keywords { display: none; }
  101. lang { display: none; }
  102. src-lang { display: none; }
  103. translator { display: none; }
  104. document-info { display: none; }
  105. publish-info { display: none; }
  106. custom-info { display: none; }
  107. coverpage { display: none }
  108.  
  109. head, form, script { display: none; }
  110.  
  111. b,strong,i,em,dfn,var,q,u,del,s,strike,small,big,sub,sup,acronym,tt,sa mp,kbd,code {
  112.    display: inline;
  113. }
  114.  
  115. sub { vertical-align: sub; font-size: 70% }
  116. sup { vertical-align: super; font-size: 70% }
  117.  
  118. strong, b { font-weight: bold }
  119. emphasis, i, em, dfn, var { font-style: italic }
  120. u { text-decoration: underline; }
  121. del, s, strike, strikethrough { text-decoration: line-through; }
  122.  
  123. small { font-size: 80%; }
  124. big { font-size: 130%; }
  125.  
  126. nobr { display: inline; hyphenate: none; white-space: nowrap; }
  127.  
  128. dl { margin-left: 0em; }
  129. dt { display: block; margin-left: 0em; margin-top:0.3em; font-weight: bold; }
  130. dd { display: block; margin-left: 1.3em; }
  131.  
  132. img {
  133.    margin: 0.5em;
  134.    text-align: center;
  135.    text-indent: 0em;
  136.    border-style: solid;
  137.    border-width: medium;
  138. }

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN