NEXT craftinamerica.org. Base setup for headless wordpress https://www.craftinamerica.org
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

app.vue 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <template lang="pug">
  2. #theme.f-col
  3. cia-nav.f-col
  4. cia-hero
  5. main.f-col
  6. router-view
  7. cia-footer
  8. </template>
  9. <script>
  10. import ciaNav from '@/components/navigation/navigation'
  11. import ciaHero from '@/components/hero'
  12. import ciaFooter from '@/components/footer'
  13. import '@/sss'
  14. export default {
  15. components: { ciaNav, ciaHero, 'cia-footer':ciaFooter }
  16. }
  17. </script>
  18. <style lang="postcss">
  19. @import './sss/variables.sss'
  20. html > body
  21. font-family: $sans
  22. font-size: $base
  23. main
  24. background-color: green
  25. width: 100%
  26. :--headings
  27. color: yellow
  28. > [class^="page--"]
  29. background-color: pink
  30. max-width: $max-width
  31. width: 90%
  32. padding: $ms 0
  33. align-items: flex-start
  34. /* Block Shadow Thing */
  35. .shadow
  36. box-shadow: rgb(34, 36, 37) 0px 0px 4px 0px
  37. border-radius: 8px
  38. /* Content Pieces */
  39. .post
  40. background-color: teal
  41. margin: 0 0 $ms
  42. &--title
  43. color: yellow
  44. padding: 0 0 $ms
  45. &--content
  46. color: orange
  47. &--block > p
  48. color: white
  49. .wp-block-image
  50. margin: 0
  51. img
  52. width: 100%
  53. > ul
  54. list-style: none
  55. /* Single & List Pages */
  56. > article
  57. background-color: lightpink
  58. > * > *
  59. padding: $ms
  60. > section, > header
  61. margin: 0 0 $ms
  62. .block-wrapper
  63. .wp-block-gallery
  64. .blocks-gallery
  65. /* &-grid
  66. list-style: none
  67. &-item
  68. float: left
  69. &.columns-1
  70. .blocks-gallery-item
  71. width: 100%
  72. &.columns-2
  73. .blocks-gallery-item
  74. width: 50%
  75. &.columns-3
  76. .blocks-gallery-item
  77. width: 33.33%
  78. &.columns-4
  79. .blocks-gallery-item
  80. width: 25% */
  81. /* Sidebar */
  82. > aside
  83. background-color: salmon
  84. margin: 0 0 0 $ms
  85. min-width: 27%
  86. width: 27%
  87. > section
  88. > *
  89. padding: $ms
  90. margin: 0 0 $ms 0
  91. > .post
  92. background-color: blue
  93. nav, footer
  94. &.main
  95. background-color: grey
  96. padding: 0 $ms
  97. width: 100%
  98. ul > li
  99. padding: 0 $ms
  100. </style>