| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- // Replace with calls to menu system
- <template lang="pug">
- nav.main
- router-link(to="/")
- h1.t-serif.t-up x
- span logotype
-
- label(for="toggle-mobile-menu" aria-label="Menu") ☰
- input(id="toggle-mobile-menu" type="checkbox").hide
-
- ul
- li
- router-link(:to="`/`")
- h5 home
- li
- router-link(:to="`/episodes`")
- h5 pbs series
- li
- router-link(:to="`/artists`")
- h5 artists
- li
- router-link(:to="`/exhibitions`")
- h5 exhibitions
- li
- router-link(:to="`/events`")
- h5 events
- li
- router-link(:to="`/center`")
- h5 center
- li
- router-link(:to="`/education`")
- h5 education
- li
- router-link(:to="`/posts`")
- h5 news
- li
- router-link(:to="`/support`")
- h5 support
- li
- router-link(:to="`/search`")
- h5 search
- </template>
-
- <style lang="postcss">
- @import '../../sss/variables.sss'
-
- nav.main
- position: sticky
- top: 0
- background-color: lightblue
- a > h1
- margin: 0
- label
- position: absolute
- right: 3vw
- top: 10px
- input
- &.hide
- display: none
- cursor: pointer
- &:checked + ul
- display: block
- clear: both
- position: fixed
- ul
- width: 100%
- background-color: grey
- display: none
- li
- h5
- color: $cia_black
- h1
- font-size: 1.5em
- color: $cia_red
- </style>
|