mostly filebased Content Presentation System
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

114 lines
2.1KB

  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. // devided
  38. .content_element_devided {
  39. display: grid;
  40. grid-template-columns:50% 50%;
  41. }
  42. // lightbox -----------------------
  43. .featherlight .featherlight-content {
  44. background: none;
  45. overflow: visible;
  46. .featherlight-close-icon {
  47. color:$white;
  48. background: none;
  49. top: -10px;
  50. right: -10px;
  51. font-size: 1.5em;
  52. }
  53. @media #{$view_mobile} {
  54. iframe { width:100%; height:100%;}
  55. }
  56. }
  57. //--------------------------lightbox
  58. // mobile navigation--------------
  59. #main-nav {
  60. @media #{$view-mobile} {
  61. display: none;
  62. }
  63. }
  64. #mobile-nav {
  65. display: none;
  66. @media #{$view-mobile} {
  67. display: block;
  68. a.menu-toggle {
  69. display: block;
  70. }
  71. }
  72. .the_list {
  73. display: none;
  74. }
  75. &.open .the_list {
  76. display: block;
  77. position: fixed;
  78. top:0;
  79. left:0;
  80. z-index:99;
  81. background: rgba(255,255,255,0.9);
  82. height:100%;
  83. width: 100%;
  84. overflow: scroll;
  85. }
  86. a.menu-toggle {
  87. position: fixed;
  88. top:0;
  89. right:0;
  90. width:50px;
  91. height:50px;
  92. z-index:100;
  93. cursor: pointer;
  94. background: rgba(255,255,255,0.9);
  95. background-image: url('menu-icon.png');
  96. background-position: top;
  97. background-size: 100%;
  98. }
  99. &.open a.menu-toggle {
  100. background-position: bottom;
  101. }
  102. }
  103. // --------------mobile navigation