mostly filebased Content Presentation System
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

_structure.scss 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. }