_blog.scss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. // home
  2. .gal{
  3. width: 100%;
  4. max-height:554px;
  5. overflow-y: hidden;
  6. position: relative;
  7. border-top: 1px solid $light-blue;
  8. border-bottom: 10px solid $green;
  9. .slidesjs-navigation{
  10. z-index: 999;
  11. position: absolute;
  12. top: 50%;
  13. transform: translateY(-50%);
  14. &.slidesjs-previous{
  15. left: 10px;
  16. &:before{
  17. display: block;
  18. content: " ";
  19. width: 30px;
  20. height: 50px;
  21. background-image: url('/user/themes/lecampus/images/arrow.svg');
  22. background-repeat: no-repeat;
  23. background-size: 30px 50px;
  24. }
  25. }
  26. &.slidesjs-next{
  27. right: 10px;
  28. &:before{
  29. display: block;
  30. content: " ";
  31. width: 30px;
  32. height: 50px;
  33. background-image: url('/user/themes/lecampus/images/arrow.svg');
  34. background-repeat: no-repeat;
  35. background-size: 30px 50px;
  36. transform: rotate(180deg);
  37. }
  38. }
  39. }
  40. .title{
  41. position: absolute;
  42. right: 50px;
  43. width: 33%;
  44. background: $light-blue;
  45. padding: 40px;
  46. top: 350px;
  47. color: $white;
  48. }
  49. }
  50. .cat{
  51. height: 50px;
  52. z-index: 999;
  53. margin: 20px 0;
  54. .btn-group{
  55. @include inlineflex();
  56. margin-left: 15px;
  57. }
  58. label{
  59. padding: 10px;
  60. border: 1px solid black;
  61. margin-right: 20px;
  62. }
  63. }
  64. .start:not(#form){
  65. #item{
  66. @include inlineflex();
  67. width: 100%;
  68. .card{
  69. width: calc( (100% / 4) - 45px);
  70. min-width: 250px;
  71. margin: 0 15px 30px 15px;
  72. border: 1px solid black;
  73. .card-header{
  74. position: absolute;
  75. width: auto;
  76. right: 0;
  77. text-align: right;
  78. .publics{
  79. padding: 10px;
  80. background: grey;
  81. color: white;
  82. }
  83. }
  84. .card-body{
  85. padding: 15px;
  86. .card-title{
  87. margin-bottom: 10px;
  88. }
  89. }
  90. }
  91. }
  92. }
  93. .start#form{
  94. #item{
  95. width: calc( (100% / 2));
  96. min-width: 250px;
  97. margin: 100px auto;
  98. form{
  99. @include inlineflex();
  100. margin-top: 20px;
  101. & > div{
  102. margin: 20px 0;
  103. width: 50%;
  104. &:nth-of-type(3){
  105. width: 100%;
  106. }
  107. input{
  108. width: 90%;
  109. }
  110. &:nth-of-type(10){
  111. width: 100%;
  112. }
  113. }
  114. }
  115. }
  116. }
  117. .content{
  118. width: 50%;
  119. margin: 60px 20px 20px auto;
  120. p{
  121. margin: 10px 0;
  122. }
  123. }
  124. .content_s{
  125. margin: auto!important;
  126. }
  127. .entete{
  128. background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
  129. background-position: center;
  130. background-repeat: no-repeat;
  131. background-size: cover;
  132. height: auto;
  133. .entete_c{
  134. width: 66%;
  135. margin: 50px auto;
  136. position: relative;
  137. h2{
  138. float: left;
  139. width: auto;
  140. background: $red;
  141. border-radius: 30px;
  142. width: auto;
  143. padding: 10px 20px;
  144. }
  145. h3{
  146. float: left;
  147. margin-bottom: 50px;
  148. }
  149. }
  150. }
  151. #home{
  152. .entete_c{
  153. margin-top: 20px;
  154. }
  155. .content{
  156. @include inlineflex();
  157. & > p{
  158. position: relative;
  159. width: calc(100% / 3);
  160. padding: 50px 20px;
  161. margin-top: 10px;
  162. img{
  163. position: absolute;
  164. width: 50px;
  165. height: auto;
  166. top: -20px;
  167. left: 50%;
  168. transform: translate(-50%);
  169. }
  170. &:nth-of-type(n+4){
  171. width: calc(100% / 4);
  172. }
  173. &:last-child{
  174. width: auto!important;
  175. margin-top: 0!important;
  176. margin: auto;
  177. a{
  178. display: block;
  179. padding: 10px 20px;
  180. text-align: center;
  181. border: 2px solid $green;
  182. border-radius: 30px;
  183. margin: auto;
  184. transition: background-color 0.3s ease;
  185. }
  186. }
  187. }
  188. }
  189. }
  190. // items
  191. .bandeau{
  192. width: 100%;
  193. max-height: 554px;
  194. overflow: hidden;
  195. }
  196. #item{
  197. h3{
  198. margin-top: 20px;
  199. }
  200. .content{
  201. // width: 50%;
  202. h4{
  203. &:not(:first-of-type){
  204. border-top: 1px solid black;
  205. padding-top: 30px;
  206. margin: 30px 0;
  207. }
  208. }
  209. p{
  210. }
  211. }
  212. .sub-content{
  213. border-top: 1px solid black;
  214. margin-bottom: 20px;
  215. margin-top: 20px;
  216. & > img{
  217. width: 33%;
  218. float: left;
  219. margin: 20px 10px 0px 0px;
  220. }
  221. }
  222. }
  223. #event{
  224. .content{
  225. margin-top: 50px;
  226. h2{
  227. float: left;
  228. margin-right: 20px;
  229. }
  230. .reso{
  231. @include inlineflex;
  232. flex-wrap: nowrap;
  233. width: 50px;
  234. height: 25px;
  235. }
  236. }
  237. .sidebar{
  238. margin-top: 50px;
  239. }
  240. }
  241. .sidebar{
  242. width: 300px;
  243. margin: -50px auto 0 20px;
  244. h2{
  245. background: $red;
  246. border-radius: 100px;
  247. width: 100px;
  248. height: 100px;
  249. }
  250. .side-agenda{
  251. padding: 10px 0;
  252. &:not(:nth-of-type(1)){
  253. border-top: 1px solid $light-blue;
  254. &::before{
  255. content: " ";
  256. display: block;
  257. position: absolute;
  258. width: 5px;
  259. height: 5px;
  260. margin-top: -13px;
  261. border-radius: 10px;
  262. background: $light-blue;
  263. }
  264. }
  265. &:nth-of-type(3){
  266. margin-bottom: 10px;
  267. }
  268. }
  269. .side-all-agenda{
  270. width: auto;
  271. padding: 10px;
  272. margin-bottom: 10px;
  273. float: left;
  274. border: 2px solid $red;
  275. border-radius: 30px;
  276. }
  277. }
  278. .side-newsletter{
  279. padding: 20px;
  280. background: $light-blue;
  281. #mc_embed_signup{
  282. width: 600px;
  283. margin: auto;
  284. padding: 0 0 0 10px;
  285. border-radius: 100px;
  286. border: 1px solid $white;
  287. form{
  288. @include inlineflex();
  289. width: 100%;
  290. #mc_embed_signup_scroll{
  291. @include inlineflex();
  292. width: 100%;
  293. margin: auto;
  294. label{
  295. text-align: center;
  296. color: $white;
  297. margin-right: 10px;
  298. width: 260px;
  299. }
  300. &>input{
  301. width: 315px;
  302. padding-left: 20px;
  303. }
  304. input{
  305. border-radius: 30px;
  306. height: 30px;
  307. box-shadow: none;
  308. border: none;
  309. }
  310. .clear{
  311. input{
  312. background: $white;
  313. margin-left: -30px;
  314. }
  315. }
  316. }
  317. }
  318. }
  319. }