MainMenu.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <nav id="main_menu" class="order-last bg-black print:hidden">
  3. <div class="inner_box overflow-x-scroll overflow-y-hidden whitespace-no-wrap border-b-[1px] border-b-slate-700">
  4. <ul class="flex md:px-0 py-2 justify-start ti:justify-around mx-auto max-w-screen-md">
  5. <li class="ml-0"><a href="/" class="text-white pr-3">Home</a></li>
  6. <li><a href="/cv" class="text-white pr-3">CV</a></li>
  7. <li><a href="/research" class="text-white pr-3">Research</a></li>
  8. <li><a href="/development" class="text-white pr-3">Development</a></li>
  9. <li><a href="/writing" class="text-white pr-3">Writing</a></li>
  10. <li><a href="/contact" class="text-white pr-3">Contact</a></li>
  11. </ul>
  12. </div>
  13. </nav>
  14. </template>
  15. <style lang="pcss" scoped>
  16. #main_menu {
  17. background: black url('/images/hscroller-01.png') bottom center no-repeat;
  18. @media screen(sm) {
  19. background: black;
  20. }
  21. li {
  22. font-family: Oswald;
  23. font-size: theme(fontSize.base);
  24. text-align: center;
  25. width: 100%;
  26. padding: theme(spacing.3) theme(spacing.3);
  27. a {
  28. color: white;
  29. }
  30. @media screen(sm) {
  31. font-size: theme(fontSize.xl);
  32. padding: theme(spacing.3) theme(spacing.0);
  33. }
  34. }
  35. }
  36. </style>