Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

typography.scss 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. // Interlinea più compatta tra paragrafi
  34. p {
  35. margin-top: 0;
  36. margin-bottom: 0.25rem;
  37. }
  38. .ql-font-serif {
  39. font-family: $font-family-serif;
  40. }
  41. .ql-font-monospace {
  42. font-family: $font-family-monospace;
  43. }
  44. .ql-size-large {
  45. font-size: $font-size-lg;
  46. }
  47. .ql-size-huge {
  48. font-size: $font-size-xl;
  49. }
  50. .ql-size-small {
  51. font-size: $font-size-sm;
  52. }
  53. }
  54. .ql-content,
  55. .ql-editor {
  56. $quill-indent: 2rem;
  57. ul,
  58. ol {
  59. li[data-list="bullet"] {
  60. position: relative;
  61. list-style: none;
  62. padding-inline-start: 1em;
  63. }
  64. }
  65. ul > li[data-list="bullet"]::before,
  66. ol > li[data-list="bullet"]::before {
  67. position: absolute;
  68. content: "\2022";
  69. font-size: 1em;
  70. inset-inline-start: 0;
  71. }
  72. li::before {
  73. display: inline-block;
  74. inline-size: calc(#{$quill-indent} - .3em);
  75. white-space: nowrap;
  76. }
  77. }