_blog.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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. .about{
  109. .item_content{
  110. width: calc((100% / 12) * 10)!important ;
  111. }
  112. }
  113. .events, .default{
  114. #body-wrapper{
  115. .item{
  116. .item_title{
  117. margin-bottom: 3rem;
  118. }
  119. .item_img{
  120. margin-bottom: 3rem;
  121. }
  122. .item_content{
  123. width: calc(100vw - 5.6rem);
  124. display: inline-flex;
  125. .content{
  126. width: 180%;
  127. margin-right: 60px;
  128. }
  129. .side{
  130. width: 100%;
  131. text-align: center;
  132. padding-left: 1rem;
  133. margin-top: 1rem;
  134. position: relative;
  135. }
  136. }
  137. .item_date{
  138. margin-bottom: 1.5rem;
  139. }
  140. }
  141. }
  142. }
  143. .buy{
  144. min-width: 300px;
  145. position: relative;
  146. a{
  147. font-family: $Bold;
  148. text-transform: uppercase;
  149. font-size: 1.3rem;
  150. line-height: 1.9rem;
  151. padding: 0.6rem 1rem;
  152. background: black;
  153. color: white;
  154. }
  155. }
  156. .default{
  157. .item_content{
  158. margin-bottom: 3rem;
  159. }
  160. }
  161. #start{
  162. #body-wrapper{
  163. #item{
  164. @include flexbox;
  165. align-items: flex-end;
  166. }
  167. }
  168. }
  169. .home{
  170. #item{
  171. .card{
  172. &.hidden{
  173. display: none;
  174. }
  175. &.visible{
  176. display: block;
  177. }
  178. }
  179. .more{
  180. width: 100%;
  181. text-align: center;
  182. a{
  183. font-family: $Bold;
  184. font-size: 1.6rem;
  185. text-transform: uppercase;
  186. }
  187. }
  188. }
  189. }
  190. .home, .blog, .current-upcoming{
  191. .card{
  192. &:nth-child(5n+2){
  193. padding-right: 0.7rem;
  194. }
  195. &:nth-child(5n+3){
  196. padding-left: 0.7rem;
  197. }
  198. &:nth-child(5n+4){
  199. padding-right: 0.7rem;
  200. }
  201. &:nth-child(5n+5){
  202. padding-left: 0.7rem;
  203. }
  204. }
  205. }
  206. .modular{
  207. #item{
  208. margin-bottom: 6rem;
  209. }
  210. .press{
  211. #body-wrapper{
  212. width: $first_card;
  213. #item{
  214. .card{
  215. display: inline-flex;
  216. margin-bottom: 1rem;
  217. .date{
  218. min-width: 200px;
  219. }
  220. .content{
  221. p{
  222. margin: 0;
  223. }
  224. }
  225. }
  226. }
  227. }
  228. }
  229. .visit-us{
  230. #body-wrapper{
  231. width: calc((100% / 12) * 8)!important;
  232. }
  233. section{
  234. &:not(:nth-last-child(1)){
  235. margin-bottom: 6rem;
  236. }
  237. .map_header{
  238. margin-bottom: 3rem;
  239. }
  240. .map_content{
  241. display: inline-flex;
  242. .image{
  243. width: 50%;
  244. margin-right: 1.4rem;
  245. .img{
  246. height: 400px;
  247. overflow: hidden;
  248. display: flex;
  249. align-items: center;
  250. justify-content: center;
  251. img{
  252. width: auto!important;
  253. height: 100%;
  254. }
  255. }
  256. }
  257. .maps{
  258. width: 50%;
  259. & > .map{
  260. height: 400px;
  261. }
  262. .adress{
  263. margin-top: 1rem;
  264. span{
  265. line-height: 1.5rem;
  266. }
  267. }
  268. }
  269. }
  270. }
  271. }
  272. }
  273. .modular{
  274. #start{
  275. &.visit-us{
  276. header{
  277. display: none;
  278. }
  279. }
  280. #body-wrapper{
  281. .list_press{
  282. @include flexbox;
  283. // width: 70%;
  284. align-items: baseline;
  285. flex-wrap: nowrap;
  286. margin-bottom: 0.8rem;
  287. .date{
  288. margin-right: 3rem;
  289. }
  290. }
  291. section{
  292. &.insitu{
  293. width: 100%;
  294. margin-bottom: 3.2rem;
  295. .header{
  296. margin-bottom: 1rem;
  297. }
  298. .content-warp{
  299. width: 100%;
  300. @include flexbox;
  301. & > div{
  302. width: 50%;
  303. &.image{
  304. padding-right: 1rem;
  305. .img{
  306. overflow: hidden;
  307. min-height: 400px;
  308. display: flex;
  309. width: auto;
  310. height: 400px;
  311. img{
  312. width: auto;
  313. height: 100%;
  314. margin: auto;
  315. }
  316. }
  317. .content{
  318. margin-top: 1rem;
  319. text-transform: none;
  320. color: $grey;
  321. p{
  322. line-height: 1.2rem;
  323. }
  324. }
  325. }
  326. }
  327. }
  328. .leaflet-container{
  329. width: 100%;
  330. height: 400px;
  331. }
  332. .maps{
  333. .adress{
  334. margin-top: 1rem;
  335. text-transform: none;
  336. span{
  337. display: block;
  338. }
  339. }
  340. }
  341. }
  342. }
  343. }
  344. }
  345. .news{
  346. .card{
  347. .card-image{
  348. display: flex;
  349. width: 100%;
  350. // height: 300px;
  351. overflow: hidden;
  352. align-items: center;
  353. }
  354. }
  355. }
  356. }
  357. .content-item{
  358. width: $first_card;
  359. h2{
  360. margin-bottom: 1.6rem;
  361. }
  362. .date{
  363. margin: 1.2rem 0;
  364. }
  365. .e-content{
  366. width: $first_card;
  367. p{
  368. margin-bottom: 1.2rem;
  369. }
  370. }
  371. }