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.

107 lines
2.0KB

  1. // content elements:
  2. // box
  3. a.content_element_box {
  4. .hover {
  5. display: none;
  6. }
  7. &:hover {
  8. .hover {
  9. display: inline;
  10. }
  11. .standard {
  12. display: none;
  13. }
  14. }
  15. div.content_element_box {
  16. display: inline-block;
  17. position: relative;
  18. height: 200px;
  19. margin:1em;
  20. .image { height:100%; }
  21. img {
  22. height: 100%;
  23. width: auto;
  24. }
  25. .caption {
  26. position: absolute;
  27. width: 100%;
  28. bottom:0;
  29. right:0;
  30. background: rgba(255,255,255,0.8);
  31. }
  32. }
  33. }
  34. .content_elment_box_body {
  35. display: none;
  36. }
  37. // lightbox -----------------------
  38. .featherlight .featherlight-content {
  39. background: none;
  40. overflow: visible;
  41. .featherlight-close-icon {
  42. color:$white;
  43. background: none;
  44. top: -10px;
  45. right: -10px;
  46. font-size: 1.5em;
  47. }
  48. @media #{$view_mobile} {
  49. iframe { width:100%; height:100%;}
  50. }
  51. }
  52. //--------------------------lightbox
  53. // mobile navigation--------------
  54. #main-nav {
  55. @media #{$view-mobile} {
  56. display: none;
  57. }
  58. }
  59. #mobile-nav {
  60. display: none;
  61. @media #{$view-mobile} {
  62. display: block;
  63. a.menu-toggle {
  64. display: block;
  65. }
  66. }
  67. .the_list {
  68. display: none;
  69. }
  70. &.open .the_list {
  71. display: block;
  72. position: fixed;
  73. top:0;
  74. left:0;
  75. z-index:99;
  76. background: rgba(255,255,255,0.9);
  77. height:100%;
  78. width: 100%;
  79. overflow: scroll;
  80. }
  81. a.menu-toggle {
  82. position: fixed;
  83. top:0;
  84. right:0;
  85. width:50px;
  86. height:50px;
  87. z-index:100;
  88. cursor: pointer;
  89. background: rgba(255,255,255,0.9);
  90. background-image: url('menu-icon.png');
  91. background-position: top;
  92. background-size: 100%;
  93. }
  94. &.open a.menu-toggle {
  95. background-position: bottom;
  96. }
  97. }
  98. // --------------mobile navigation