Advertisement
Xelieu

Stylus CSS Styling

Nov 12th, 2021
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.81 KB | None | 0 0
  1. /* character styling */
  2. p, h1, h2, h3{
  3.     font-family: "Noto Serif JP", "Shippori Mincho Regular", "BIZ UDPGothic", "BIZ UDPMincho Medium", "GenEi Koburi Mincho v5 Regular", "UD Digi Kyokasho N-R";
  4.     font-size: 28px;
  5. }
  6.  
  7. /* Hide scrollbars */
  8. body {
  9.     overflow: hidden;
  10. }
  11.  
  12. /* Hide icons */
  13. .action-icon *{
  14.     opacity: 0.25;
  15.  
  16. }
  17.  
  18. .action-icon *:hover {
  19.     opacity: 1 !important;
  20. }
  21.  
  22. /* Height of the content */
  23. .book-content {
  24.   max-height: 800px;
  25. }
  26.  
  27. /* left and right spacing */
  28. .book-content {
  29.   padding-right: 200px!important;
  30. }
  31.  
  32. .book-content::before,
  33. .book-content::after {
  34.   content: "";
  35.   position: fixed;
  36.   top: 0;
  37.   bottom: 0;
  38.   z-index: 1;
  39.   width: 200px;
  40.   background: var(--background-color);
  41. }
  42.  
  43. .book-content::before {
  44.   left: 0;
  45. }
  46.  
  47. .book-content::after {
  48.   right: 0;
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement