mostly filebased Content Presentation System
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.3KB

  1. // reset
  2. body,h1,h2,h3,h4,h5,h6,ul {
  3. // margin:0;
  4. // padding:0;
  5. }
  6. #main-nav {
  7. //dev:
  8. // display: none;
  9. @media #{$view-mobile} {
  10. display: none;
  11. }
  12. }
  13. .featherlight .featherlight-content {
  14. background: none;
  15. overflow: visible;
  16. .featherlight-close-icon {
  17. background: none;
  18. top: -10px;
  19. right: -10px;
  20. font-size: 1.5em;
  21. }
  22. @media #{$view_mobile} {
  23. iframe { width:100%; height:100%;}
  24. }
  25. }
  26. /////////////////////////////////////////////////////////////////////
  27. #mobile-nav {
  28. display: none;
  29. @media #{$view-mobile} {
  30. display: block;
  31. a.menu-toggle {
  32. display: block;
  33. }
  34. }
  35. .the_list {
  36. display: none;
  37. }
  38. &.open .the_list {
  39. display: block;
  40. position: fixed;
  41. top:0;
  42. left:0;
  43. z-index:99;
  44. background: rgba(255,255,255,0.9);
  45. height:100%;
  46. width: 100%;
  47. overflow: scroll;
  48. }
  49. a.menu-toggle {
  50. position: fixed;
  51. top:0;
  52. right:0;
  53. width:50px;
  54. height:50px;
  55. z-index:100;
  56. cursor: pointer;
  57. background: rgba(255,255,255,0.9);
  58. background-image: url('menu-icon.png');
  59. background-position: top;
  60. background-size: 100%;
  61. }
  62. &.open a.menu-toggle {
  63. background-position: bottom;
  64. }
  65. }