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.

_freaCMSfeatures.scss 2.6KB

il y a 4 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. header {
  2. img {
  3. max-width: 100%;
  4. display: block;
  5. }
  6. }
  7. // content elements:
  8. // box
  9. a.content_element_box {
  10. .hover {
  11. display: none;
  12. }
  13. &:hover {
  14. .hover {
  15. display: inline;
  16. }
  17. .standard {
  18. display: none;
  19. }
  20. }
  21. div.content_element_box {
  22. display: inline-block;
  23. position: relative;
  24. height: 200px;
  25. margin:1em;
  26. .image { height:100%; }
  27. img {
  28. height: 100%;
  29. width: auto;
  30. }
  31. .caption {
  32. position: absolute;
  33. width: 100%;
  34. bottom:0;
  35. right:0;
  36. background: rgba(255,255,255,0.8);
  37. }
  38. }
  39. }
  40. .content_elment_box_body {
  41. display: none;
  42. }
  43. // devided
  44. .content_element_devided {
  45. display: grid;
  46. grid-template-columns:50% 50%;
  47. }
  48. // page
  49. .content_element_page {
  50. &:after {
  51. content: "";
  52. display: block;
  53. clear: both;
  54. }
  55. }
  56. // image
  57. .bulkImportedImage,
  58. .content_element_image {
  59. width: 60%;
  60. &.left {
  61. float: left;
  62. }
  63. &.right {
  64. float: right;
  65. }
  66. &.full {
  67. width:100%;
  68. }
  69. img {
  70. width: 100%;
  71. }
  72. }
  73. // lightbox -----------------------
  74. .featherlight .featherlight-content {
  75. background: none;
  76. overflow: visible;
  77. .featherlight-close-icon {
  78. color:$white;
  79. background: none;
  80. top: -10px;
  81. right: -10px;
  82. font-size: 1.5em;
  83. }
  84. @media #{$view_mobile} {
  85. iframe { width:100%; height:100%;}
  86. }
  87. }
  88. //--------------------------lightbox
  89. // mobile navigation--------------
  90. #main-nav {
  91. @media #{$view-mobile} {
  92. display: none;
  93. }
  94. }
  95. #mobile-nav {
  96. display: none;
  97. @media #{$view-mobile} {
  98. display: block;
  99. a.menu-toggle {
  100. display: block;
  101. }
  102. }
  103. .the_list {
  104. display: none;
  105. }
  106. &.open .the_list {
  107. display: block;
  108. position: fixed;
  109. top:0;
  110. left:0;
  111. z-index:99;
  112. background: rgba(255,255,255,0.9);
  113. height:100%;
  114. width: 100%;
  115. overflow: scroll;
  116. }
  117. a.menu-toggle {
  118. position: fixed;
  119. top:0;
  120. right:0;
  121. width:50px;
  122. height:50px;
  123. z-index:100;
  124. cursor: pointer;
  125. background: rgba(255,255,255,0.9);
  126. background-image: url('menu-icon.png');
  127. background-position: top;
  128. background-size: 100%;
  129. }
  130. &.open a.menu-toggle {
  131. background-position: bottom;
  132. }
  133. }
  134. // --------------mobile navigation