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.

131 line
2.6KB

  1. $below-banner:2em;
  2. // reset
  3. body,h1,h2,h3,h4,h5,h6,ul {
  4. margin:0;
  5. padding:0;
  6. }
  7. #main-nav {
  8. //dev:
  9. // display: none;
  10. @media #{$view-mobile} {
  11. display: none;
  12. }
  13. }
  14. //////////////////////////////////////////////
  15. // basic site layout
  16. h1 { margin: .5em 0 0 1em; }
  17. .card {
  18. max-width:600px;
  19. img { width: 100%; }
  20. &::after {
  21. content:"";
  22. clear: both;
  23. display:table;
  24. }
  25. }
  26. #page-wrap {
  27. }
  28. ///////////////////////////////////////////////
  29. .featherlight .featherlight-content {
  30. background: none;
  31. overflow: visible;
  32. .featherlight-close-icon {
  33. background: none;
  34. top: -10px;
  35. right: -10px;
  36. color: $white;
  37. font-size: 1.5em;
  38. }
  39. @media #{$view_mobile} {
  40. iframe { width:100%; height:100%;}
  41. }
  42. }
  43. /////////////////////////////////////////////////////////////////////
  44. #mobile-nav {
  45. display: none;
  46. @media #{$view-mobile} {
  47. display: block;
  48. // dev
  49. display: none;
  50. a.menu-toggle {
  51. display: block;
  52. }
  53. }
  54. font-family: $sans;
  55. font-size:1.2em;
  56. .the_list {
  57. .home-link,
  58. >ul:last-child {
  59. font-family:$cursive;
  60. font-size: 1.4em;
  61. margin-top: -.7em;
  62. color: $spkt02;
  63. a {
  64. color: $spkt02;
  65. display: inline-block;
  66. margin-top: 8px;
  67. }
  68. }
  69. .home-link {
  70. display: inline-block;
  71. text-transform: lowercase;
  72. margin-bottom: 8px;
  73. }
  74. display:none;
  75. padding: 2em;
  76. ul { margin-bottom: 1.7em; }
  77. li {
  78. margin:0.5em;
  79. list-style:none;
  80. ul { margin-bottom: 1em; }
  81. }
  82. a {
  83. color:$black;
  84. text-decoration:none;
  85. font-weight: normal;
  86. }
  87. .active>a {
  88. color:$spkt02;
  89. font-weight: bold;
  90. }
  91. }
  92. &.open .the_list {
  93. display:block;
  94. position:fixed;
  95. top:0;
  96. left:0;
  97. z-index:99;
  98. background: rgba(255,255,255,0.9);
  99. height:100%;
  100. width: 100%;
  101. overflow:scroll;
  102. }
  103. a.menu-toggle {
  104. position:fixed;
  105. top:0;
  106. right:0;
  107. width:50px;
  108. height:50px;
  109. z-index:100;
  110. cursor:pointer;
  111. background:$white;
  112. background: rgba(255,255,255,0.9);
  113. background-image: url('img/menu-icon.png');
  114. background-position: top;
  115. }
  116. &.open a.menu-toggle {
  117. background-position:bottom;
  118. }
  119. }