_blog.scss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. body{
  2. margin: 0 2.8rem;
  3. }
  4. h1,h2,h3,h4,h5{
  5. margin: 0;
  6. padding: 0;
  7. }
  8. body, html {
  9. height: 100%;
  10. #page-wrapper{
  11. min-height: 90%;
  12. }
  13. #body-wrapper{
  14. margin-top: 6rem;
  15. }
  16. }
  17. .home, .blog{
  18. #item{
  19. .card{
  20. margin-bottom: 6rem;
  21. &:nth-child(5n+1){
  22. width: $first_card;
  23. .card-header{
  24. margin-bottom: 3rem;
  25. }
  26. .card-image{
  27. display: flex;
  28. width: auto;
  29. overflow: hidden;
  30. align-items: center;
  31. justify-content: center;
  32. max-height: 800px;
  33. width: 100%;
  34. }
  35. }
  36. &:not(:nth-child(5n+1)){
  37. width: $all_card;
  38. .card-header{
  39. margin-bottom: 1.5rem;
  40. }
  41. .card-image{
  42. display: flex;
  43. // min-height: 600px;
  44. height: auto;
  45. width: 100%;
  46. overflow: hidden;
  47. align-items: center;
  48. justify-content: center;
  49. }
  50. }
  51. .card-header{
  52. span{
  53. margin-right: 1rem;
  54. }
  55. }
  56. .card-cat{
  57. margin-bottom:0.6rem;
  58. }
  59. }
  60. }
  61. }
  62. .archives, .news{
  63. #body-wrapper{
  64. width: calc((#{$width} / #{$nbr_col}) * 9.5);;
  65. margin-bottom: 2rem;
  66. #item{
  67. @include flexbox;
  68. .card{
  69. width: calc((100% / 3) - 1.4rem );
  70. margin-bottom: 5rem!important;
  71. padding: 0!important;
  72. &:nth-child(3n+2){
  73. margin: 0 1.4rem;
  74. }
  75. .card-header{
  76. margin-bottom: 0.5rem;
  77. }
  78. .card-image{
  79. display: flex;
  80. // max-height: 375px;
  81. width: 100%;
  82. overflow: hidden;
  83. align-items: center;
  84. justify-content: center;
  85. }
  86. }
  87. }
  88. }
  89. }
  90. .item{
  91. margin-bottom: 6rem;
  92. width: $first_card;
  93. .item_content{
  94. h3{
  95. margin: 2rem 0;
  96. }
  97. }
  98. .item_title{
  99. margin-bottom: 3rem;
  100. }
  101. .item_img{
  102. margin-bottom: 3rem;
  103. }
  104. .item_date{
  105. margin-bottom: 1.5rem;
  106. }
  107. }
  108. .events, .default{
  109. #body-wrapper{
  110. .item{
  111. .item_title{
  112. margin-bottom: 3rem;
  113. }
  114. .item_img{
  115. margin-bottom: 3rem;
  116. }
  117. .item_content{
  118. width: 90%;
  119. display: inline-flex;
  120. .content{
  121. width: 100%;
  122. margin-right: 5rem;
  123. }
  124. .side{
  125. padding-left: 1rem;
  126. margin-top: 1rem;
  127. position: relative;
  128. }
  129. }
  130. .item_date{
  131. margin-bottom: 1.5rem;
  132. }
  133. }
  134. }
  135. }
  136. .buy{
  137. min-width: 300px;
  138. position: absolute;
  139. a{
  140. font-family: $Bold;
  141. text-transform: uppercase;
  142. font-size: 1.3rem;
  143. line-height: 1.9rem;
  144. padding: 0.6rem 1rem;
  145. background: black;
  146. color: white;
  147. }
  148. }
  149. .default{
  150. .item_content{
  151. margin-bottom: 3rem;
  152. }
  153. }
  154. #start{
  155. #body-wrapper{
  156. #item{
  157. @include flexbox;
  158. align-items: flex-end;
  159. }
  160. }
  161. }
  162. .home{
  163. #item{
  164. .card{
  165. &.hidden{
  166. display: none;
  167. }
  168. &.visible{
  169. display: block;
  170. }
  171. }
  172. .more{
  173. width: 100%;
  174. text-align: center;
  175. a{
  176. font-family: $Bold;
  177. font-size: 1.6rem;
  178. text-transform: uppercase;
  179. }
  180. }
  181. }
  182. }
  183. .home, .blog, .current-upcoming{
  184. .card{
  185. &:nth-child(5n+2){
  186. padding-right: 0.7rem;
  187. }
  188. &:nth-child(5n+3){
  189. padding-left: 0.7rem;
  190. }
  191. &:nth-child(5n+4){
  192. padding-right: 0.7rem;
  193. }
  194. &:nth-child(5n+5){
  195. padding-left: 0.7rem;
  196. }
  197. }
  198. }
  199. .modular{
  200. #item{
  201. margin-bottom: 6rem;
  202. }
  203. .press{
  204. #body-wrapper{
  205. width: $first_card;
  206. #item{
  207. .card{
  208. display: inline-flex;
  209. margin-bottom: 1rem;
  210. .date{
  211. min-width: 200px;
  212. }
  213. .content{
  214. p{
  215. margin: 0;
  216. }
  217. }
  218. }
  219. }
  220. }
  221. }
  222. .visit-us{
  223. #body-wrapper{
  224. width: calc((100% / 12) * 8)!important;
  225. }
  226. section{
  227. &:not(:nth-last-child(1)){
  228. margin-bottom: 6rem;
  229. }
  230. .map_header{
  231. margin-bottom: 3rem;
  232. }
  233. .map_content{
  234. display: inline-flex;
  235. .image{
  236. width: 50%;
  237. margin-right: 1.4rem;
  238. .img{
  239. height: 400px;
  240. overflow: hidden;
  241. display: flex;
  242. align-items: center;
  243. justify-content: center;
  244. img{
  245. width: auto!important;
  246. height: 100%;
  247. }
  248. }
  249. }
  250. .maps{
  251. width: 50%;
  252. & > .map{
  253. height: 400px;
  254. }
  255. .adress{
  256. margin-top: 1rem;
  257. span{
  258. line-height: 1.5rem;
  259. }
  260. }
  261. }
  262. }
  263. }
  264. }
  265. }
  266. .modular{
  267. #start{
  268. &.visit-us{
  269. header{
  270. display: none;
  271. }
  272. }
  273. #body-wrapper{
  274. .list_press{
  275. @include flexbox;
  276. // width: 70%;
  277. align-items: baseline;
  278. flex-wrap: nowrap;
  279. margin-bottom: 0.8rem;
  280. .date{
  281. margin-right: 3rem;
  282. }
  283. }
  284. section{
  285. &.insitu{
  286. width: 100%;
  287. margin-bottom: 3.2rem;
  288. .header{
  289. margin-bottom: 1rem;
  290. }
  291. .content-warp{
  292. width: 100%;
  293. @include flexbox;
  294. & > div{
  295. width: 50%;
  296. &.image{
  297. padding-right: 1rem;
  298. .img{
  299. overflow: hidden;
  300. min-height: 400px;
  301. display: flex;
  302. width: auto;
  303. height: 400px;
  304. img{
  305. width: auto;
  306. height: 100%;
  307. margin: auto;
  308. }
  309. }
  310. .content{
  311. margin-top: 1rem;
  312. text-transform: none;
  313. color: $grey;
  314. p{
  315. line-height: 1.2rem;
  316. }
  317. }
  318. }
  319. }
  320. }
  321. .leaflet-container{
  322. width: 100%;
  323. height: 400px;
  324. }
  325. .maps{
  326. .adress{
  327. margin-top: 1rem;
  328. text-transform: none;
  329. span{
  330. display: block;
  331. }
  332. }
  333. }
  334. }
  335. }
  336. }
  337. }
  338. .news{
  339. .card{
  340. .card-image{
  341. display: flex;
  342. width: 100%;
  343. // height: 300px;
  344. overflow: hidden;
  345. align-items: center;
  346. }
  347. }
  348. }
  349. }
  350. .content-item{
  351. width: $first_card;
  352. h2{
  353. margin-bottom: 1.6rem;
  354. }
  355. .date{
  356. margin: 1.2rem 0;
  357. }
  358. .e-content{
  359. width: $first_card;
  360. p{
  361. margin-bottom: 1.2rem;
  362. }
  363. }
  364. }