Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

typography.scss 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. @import "../../scss/_bootstrap-extended/include";
  2. @import "mixins";
  3. .ql-editor {
  4. $quill-indent: 2rem;
  5. @include quill-generate-lists($quill-indent);
  6. .ql-video {
  7. display: block;
  8. max-inline-size: 100%;
  9. }
  10. .ql-direction-rtl {
  11. direction: rtl;
  12. text-align: inherit;
  13. :dir(rtl) & {
  14. direction: ltr;
  15. text-align: inherit;
  16. }
  17. }
  18. .ql-align-center {
  19. text-align: center;
  20. }
  21. .ql-align-justify {
  22. text-align: justify;
  23. }
  24. .ql-align-right:not(.ql-direction-rtl) {
  25. text-align: end;
  26. }
  27. img {
  28. max-inline-size: 100%;
  29. }
  30. blockquote {
  31. font-size: $blockquote-font-size;
  32. }
  33. .ql-font-serif {
  34. font-family: $font-family-serif;
  35. }
  36. .ql-font-monospace {
  37. font-family: $font-family-monospace;
  38. }
  39. .ql-size-large {
  40. font-size: $font-size-lg;
  41. }
  42. .ql-size-huge {
  43. font-size: $font-size-xl;
  44. }
  45. .ql-size-small {
  46. font-size: $font-size-sm;
  47. }
  48. }
  49. .ql-content,
  50. .ql-editor {
  51. $quill-indent: 2rem;
  52. ul,
  53. ol {
  54. li[data-list="bullet"] {
  55. position: relative;
  56. list-style: none;
  57. padding-inline-start: 1em;
  58. }
  59. }
  60. ul > li[data-list="bullet"]::before,
  61. ol > li[data-list="bullet"]::before {
  62. position: absolute;
  63. content: "\2022";
  64. font-size: 1em;
  65. inset-inline-start: 0;
  66. }
  67. li::before {
  68. display: inline-block;
  69. inline-size: calc(#{$quill-indent} - .3em);
  70. white-space: nowrap;
  71. }
  72. }