NEXT craftinamerica.org. Base setup for headless wordpress https://www.craftinamerica.org
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

editor-style.css 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. font-size:15.2px;
  27. }
  28. p{
  29. line-height: 1.4;
  30. margin-top: 0;
  31. margin-bottom: 1em !important;
  32. }
  33. a {
  34. color: #a10000;
  35. /* leave underline to show links when editing */
  36. /* text-decoration: none; */
  37. }
  38. a:hover {
  39. cursor: pointer;
  40. color: black;
  41. }
  42. /* common */
  43. /* h1, h2, h3, h4, h5, h6 {
  44. display: block;
  45. margin-left: 0;
  46. margin-right: 0;
  47. } */
  48. h1 {
  49. font-size: 2.0736em;
  50. margin-top: 0.48225em;
  51. margin-bottom: 0.48225em;
  52. }
  53. h2 {
  54. font-size: 1.728em;
  55. margin-top: 0.83333em;
  56. margin-bottom: 0;
  57. }
  58. h3{
  59. font-size: 1.44em;
  60. /* margin-top: 1em; */
  61. margin-bottom: 1em;
  62. }
  63. h4 {
  64. font-size: 1.2em;
  65. /* margin-top: 1.33em; */
  66. margin-bottom: 1.2em;
  67. }
  68. h5 {
  69. font-size: 1.0em;
  70. /* margin-top: 1.6em; */
  71. margin-bottom: 1.44em;
  72. }
  73. h6 {
  74. font-size: 0.83333em;
  75. /* margin-top: 2em; */
  76. margin-bottom: 1.728em;
  77. }
  78. ul{
  79. padding: 0;
  80. }
  81. /* margin to indent marker */
  82. li {
  83. margin: 0 0 0.57870em 2.0736em !important;
  84. }
  85. /* ordered list alignment */
  86. ol {
  87. padding: inherit;
  88. }
  89. /* separator types */
  90. .editor-styles-wrapper, .wp-block-separator {
  91. border: none;
  92. /* height: 0.8em; */
  93. text-align: center
  94. }
  95. hr .wp-block-separator, .is-style-default {
  96. width: 15vw;
  97. border-top: 3px solid !important;
  98. border-bottom: 0 !important;
  99. }
  100. hr .wp-block-separator, .is-style-wide {
  101. width: 50vw;
  102. border-top: 3px solid;
  103. border-bottom: 0;
  104. }
  105. hr .wp-block-separator, .is-style-dots:before {
  106. letter-spacing: 4em;
  107. padding-left: 4em;
  108. }
  109. .wp-block-image figcaption {
  110. position: inherit !important;
  111. background: none !important;
  112. color: black !important;
  113. }