Advertisement
CoyoteCrafty

eBookishLight.css

Nov 10th, 2018 (edited)
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.01 KB | None | 0 0
  1. /*--- eBookishLight -- 2020.08.30 No px -------*/
  2. /*--- eBookishLight -- core body styles -------*/
  3. body {
  4.     display: block;
  5.     margin: 0 5pt;
  6.     widows: 3;
  7.     orphans: 3;
  8.     -webkit-hyphens: auto;
  9.     -moz-hyphens: auto;
  10.     -ms-hyphens: auto;
  11.     -o-hyphens: auto;
  12.     hyphens: auto;
  13.     line-height: 1.4;
  14.     text-align: justify;
  15.     text-indent: 0;
  16.     page-break-before: always;
  17. }
  18. .ded {
  19.     margin: 10em 5% 20%;
  20. }
  21. .cop {
  22.     text-align: center;
  23.     font-size: 75%;
  24.     margin-top: 10em;
  25. }
  26. .ob {
  27.     text-align: center;
  28.     margin: 10em 5% 20%;
  29. }
  30. .cv {
  31.     text-align: center;
  32.     margin: 0;
  33.     vertical-align: middle;
  34. }
  35. /*--- eBookishLight -- core paragraph styles --*/
  36. p {
  37.     display: block;
  38.     margin: 0;
  39.     widows: 3;
  40.     orphans: 3;
  41.     word-break: normal;
  42.     -webkit-hyphens: auto;
  43.     -moz-hyphens: auto;
  44.     -ms-hyphens: auto;
  45.     hyphens: auto;
  46.     text-indent: 1em;
  47. }
  48. div {
  49.     display: block;
  50.     margin: 0;
  51.     text-indent: 0;
  52. }
  53. /*--- eBookishLight -- chapter start styles ---*/
  54. .fl {
  55.     display: block;
  56.     margin: 0;
  57.     text-indent: 0;
  58.     page-break-after: avoid;
  59.     page-break-inside: avoid;
  60.     page-break-after: avoid;
  61. }
  62. .fl1 {
  63.     display: block;
  64.     margin: 1em 0 0;
  65.     text-indent: 0;
  66.     page-break-after: avoid;
  67.     page-break-inside: avoid;
  68.     page-break-after: avoid;
  69. }
  70. /*--- eBookishLight -- titles styles ----------*/
  71. h1, h2, h3, h4, h5, h6 {
  72.     line-height: inherit;
  73.     font-weight: normal;
  74.     page-break-after: avoid !important;
  75.     page-break-inside: avoid !important;
  76. }
  77. h1 {
  78.     display: block;
  79.     margin: 10em 0 10%;
  80.     text-align: center;
  81.     line-height: 150%;
  82.     page-break-after: avoid !important;
  83. }
  84. h1 + p, *[class^="Head-Level-1"] + p {
  85.     text-indent: 0;
  86. }
  87. h2 {
  88.     display: block;
  89.     margin: 5em 0;
  90.     text-align: center;
  91.     page-break-after: avoid !important;
  92. }
  93. h2 + p, *[class^="Head-Level-2"] + p {
  94.     text-indent: 0;
  95. }
  96. h3 {
  97.     display: block;
  98.     font-size: 175%;
  99.     margin: 5em 0 10%;
  100.     text-align: center;
  101.     page-break-after: avoid !important;
  102. }
  103. h3 + p, *[class^="Head-Level-3"] + p {
  104.     text-indent: 0;
  105. }
  106. h4 {
  107.     display: block;
  108.     margin: 2.5% 0 0;
  109.     widows: 3;
  110.     orphans: 3;
  111.     page-break-after: avoid !important;
  112. }
  113. h4 + p, *[class^="Head-Level-4"] + p {
  114.     text-indent: 0;
  115. }
  116. h5 {
  117.     display: block;
  118.     font-size: 1em;
  119.     margin: 0;
  120.     page-break-after: avoid !important;
  121. }
  122. h5 + p, *[class^="Head-Level-5"] + p {
  123.     text-indent: 0;
  124. }
  125. h6 {
  126.     display: block;
  127.     font-size: 1em;
  128.     margin: 5% 0;
  129.     text-align: center;
  130.     page-break-after: avoid !important;
  131. }
  132. h6 + p, *[class^="Head-Level-6"] + p {
  133.     text-indent: 0;
  134. }
  135. /*--- eBookishLight -- right styles -----------*/
  136. .right {
  137.     display: block;
  138.     text-align: right;
  139. }
  140. .sign {
  141.     display: block;
  142.     margin: 0.2em 0 1em;
  143.     page-break-before: avoid !important;
  144.     text-align: right;
  145. }
  146. .date {
  147.     display: block;
  148.     margin: 1em 0 0.4em;
  149.     page-break-after: avoid !important;
  150.     text-align: right;
  151. }
  152. .def {
  153.     display: block;
  154.     margin: 1em 0;
  155.     text-indent: 0;
  156. }
  157. .left {
  158.     display: block;
  159.     text-align: left;
  160. }
  161. /*--- eBookishLight -- core font styles -------*/
  162. font {
  163.     font-variant: small-caps;
  164. }
  165. small {
  166.     font-size: smaller;
  167. }
  168. big {
  169.     font-size: larger;
  170. }
  171. sub, sup {
  172.     font-size: 75%;
  173.     line-height: 100% !important;
  174.     position: relative;
  175.     vertical-align: baseline;
  176.     padding: 0 0 0 0.4%;
  177. }
  178. sup {
  179.     top: -0.5em;
  180. }
  181. sub {
  182.     bottom: -0.25em;
  183. }
  184. .letter {
  185.     display: block;
  186.     margin: 0.5em 2em;
  187.     font-family: "Mali Medium", "Segoe Script", "Segoe Print", cursive;
  188.     line-height: 200%;
  189.     text-align: left;
  190.     font-weight: normal;
  191. }
  192. .cursive {
  193.     font-family: "Mali Medium", "Segoe Script", "Segoe Print", cursive;
  194.     font-weight: normal;
  195. }
  196. .sans {
  197.     font-family: sans-serif;
  198.     font-weight: normal;
  199. }
  200. .space {
  201.     letter-spacing: 0.25em;
  202. }
  203. /*--- eBookishLight -- blockquotes ------------*/
  204. blockquote {
  205.     display: block;
  206.     margin: 1em;
  207. }
  208. blockquote + p {
  209.     text-indent: 0;
  210. }
  211. blockquote p {
  212.     text-indent: 0;
  213. }
  214. blockquote p + p {
  215.     text-indent: 1em;
  216. }
  217. blockquote p {
  218.     display: inline;
  219.     text-indent: 0;
  220. }
  221. blockquote:after {
  222.     content: close-quote;
  223.     line-height: 0.1em;
  224.     margin-right: 0.25em;
  225.     vertical-align: 0;
  226. }
  227. blockquote:before {
  228.     content: open-quote;
  229.     line-height: 0.1em;
  230.     margin-right: 0.25em;
  231.     vertical-align: 0;
  232. }
  233. .hang {
  234.     display: block;
  235.     page-break-before: avoid !important;
  236.     text-indent: -1em;
  237.     margin-left: 1em;
  238. }
  239. dl {
  240.     margin: 1em;
  241. }
  242. /*--- eBookishLight -- image ------------------*/
  243. img.middle {
  244.     display: block;
  245.     margin-left: auto;
  246.     margin-right: auto;
  247.     max-height: 100%;
  248.     max-width: 100%;
  249.     vertical-align: sub;
  250.     /*removes descender gap beneath images*/
  251.     padding: 5% 0;
  252.     border: 0;
  253. }
  254. img {
  255.     display: inline-block;
  256.     vertical-align: middle;
  257.     height: auto;
  258. }
  259. /*--- eBookishLight -- line styles ------------*/
  260. hr {
  261.     border: 0;
  262.     height: 0.04em;
  263.     background-image: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25));
  264.     margin: 5% auto;
  265. }
  266. hr + p {
  267.     text-indent: 0;
  268. }
  269. .sep {
  270.     width: 10%;
  271.     margin: auto;
  272. }
  273. /*--- eBookishLight -- list styles ------------*/
  274. ol {
  275.     display: block;
  276.     margin: 0.2em 0 0.2em -0.4em;
  277. }
  278. ol > li:before {
  279.     padding-right: 0.32em;
  280.     margin: 0 0 0 -0.4em;
  281. }
  282. ul {
  283.     display: block;
  284.     font-style: normal;
  285.     list-style-type: none;
  286.     /* Remove list bullets */
  287.     margin: 0 0 0.2em -0.8em;
  288. }
  289. ul > li:before {
  290.     padding-right: 0.32em;
  291.     margin: 0 0 0 -0.4em;
  292. }
  293. /*--- eBookishLight -- link styles ------------*/
  294. a {
  295.     text-underline-position: under;
  296.     text-decoration :underline dotted #009933;
  297.     color: inherit;
  298. }
  299. /*--- eBookishLight -- page styles ------------*/
  300. @page {
  301.     margin: 5pt 0;
  302. }
  303. /*--- eBookishLight -- end --------------------*/
  304.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement