NEXT craftinamerica.org. Base setup for headless wordpress https://www.craftinamerica.org
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

editor-style.css 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* space above title */
  2. .edit-post-visual-editor__post-title-wrapper {
  3. margin-top: 1em;
  4. }
  5. /* Editor Main column width */
  6. .wp-block {
  7. max-width: 805px;
  8. /* padding: 0 !important; */
  9. margin: 0 auto 0.5em auto;
  10. }
  11. /* Editor column width lists */
  12. .wp-block-post-template.is-flex-container li, .wp-block-query-loop.is-flex-container li {
  13. margin: 0 !important;
  14. }
  15. /* Editor Width of "wide" blocks */
  16. .wp-block[data-align='wide'] {
  17. max-width: 1080px;
  18. }
  19. /* Editor Width of "full-wide" blocks */
  20. .wp-block[data-align='full'] {
  21. max-width: none;
  22. }
  23. body {
  24. font-family: Questrial, sans-serif;
  25. color: #0d0d0d;
  26. }
  27. p{
  28. line-height: 1.4;
  29. margin-top: 0;
  30. margin-bottom: 1em !important;
  31. }
  32. a {
  33. color: #a10000;
  34. /* leave underline to show links when editing */
  35. /* text-decoration: none; */
  36. }
  37. a &:hover {
  38. cursor: pointer;
  39. color: black;
  40. }
  41. /* common */
  42. /* h1, h2, h3, h4, h5, h6 {
  43. display: block;
  44. margin-left: 0;
  45. margin-right: 0;
  46. } */
  47. h1 {
  48. font-size: 2.0736em;
  49. margin-top: 0.48225em;
  50. margin-bottom: 0.48225em;
  51. }
  52. h2 {
  53. font-size: 1.728em;
  54. margin-top: 0.83333em;
  55. margin-bottom: 0;
  56. }
  57. h3{
  58. font-size: 1.44em;
  59. /* margin-top: 1em; */
  60. margin-bottom: 1em;
  61. }
  62. h4 {
  63. font-size: 1.2em;
  64. /* margin-top: 1.33em; */
  65. margin-bottom: 1.2em;
  66. }
  67. h5 {
  68. font-size: 1.0em;
  69. /* margin-top: 1.6em; */
  70. margin-bottom: 1.44em;
  71. }
  72. h6 {
  73. font-size: 0.83333em;
  74. /* margin-top: 2em; */
  75. margin-bottom: 1.728em;
  76. }
  77. ul{
  78. padding: 0;
  79. }
  80. /* margin to indent marker */
  81. li {
  82. margin: 0 0 0.57870em 2.0736em !important;
  83. }
  84. /* ordered list alignment */
  85. ol {
  86. padding: inherit;
  87. }
  88. /* separator types */
  89. hr .wp-block-separator, .is-style-default {
  90. height: 1px;
  91. width: 15vw;
  92. }
  93. hr .wp-block-separator, .is-style-wide {
  94. height: 3px;
  95. width: 50vw;
  96. }
  97. hr .wp-block-separator, .is-style-dots:before {
  98. letter-spacing: 4em;
  99. padding-left: 4em;
  100. }