_blog.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. // home
  2. .gal{
  3. width: 100%;
  4. height:400px;
  5. overflow-y: hidden;
  6. margin-bottom: 20px;
  7. position: relative;
  8. .slidesjs-navigation{
  9. z-index: 999;
  10. position: absolute;
  11. top: 50%;
  12. transform: translateY(-50%);
  13. &.slidesjs-previous{
  14. left: 10px;
  15. &:before{
  16. display: block;
  17. content: " ";
  18. width: 30px;
  19. height: 50px;
  20. background-image: url('/user/themes/lecampus/images/arrow.svg');
  21. background-repeat: no-repeat;
  22. background-size: 30px 50px;
  23. }
  24. }
  25. &.slidesjs-next{
  26. right: 10px;
  27. &:before{
  28. display: block;
  29. content: " ";
  30. width: 30px;
  31. height: 50px;
  32. background-image: url('/user/themes/lecampus/images/arrow.svg');
  33. background-repeat: no-repeat;
  34. background-size: 30px 50px;
  35. transform: rotate(180deg);
  36. }
  37. }
  38. }
  39. }
  40. .cat{
  41. height: 50px;
  42. z-index: 999;
  43. margin: 20px 0;
  44. .tags{
  45. @include inlineflex();
  46. margin-left: 15px;
  47. }
  48. .filters{
  49. padding: 10px;
  50. border: 1px solid black;
  51. margin-right: 20px;
  52. }
  53. }
  54. .start:not(#form){
  55. #item{
  56. @include inlineflex();
  57. width: 100%;
  58. .card{
  59. width: calc( (100% / 4) - 45px);
  60. min-width: 250px;
  61. margin: 0 15px 30px 15px;
  62. border: 1px solid black;
  63. .card-header{
  64. position: absolute;
  65. width: auto;
  66. right: 0;
  67. text-align: right;
  68. .publics{
  69. padding: 10px;
  70. background: grey;
  71. a{
  72. color: white;
  73. }
  74. }
  75. }
  76. .card-body{
  77. padding: 15px;
  78. .card-title{
  79. margin-bottom: 10px;
  80. }
  81. }
  82. }
  83. }
  84. }
  85. .start#form{
  86. #item{
  87. width: calc( (100% / 2));
  88. min-width: 250px;
  89. margin: 100px auto;
  90. form{
  91. @include inlineflex();
  92. margin-top: 20px;
  93. & > div{
  94. margin: 20px 0;
  95. width: 50%;
  96. &:nth-of-type(3){
  97. width: 100%;
  98. }
  99. input{
  100. width: 90%;
  101. }
  102. &:nth-of-type(10){
  103. width: 100%;
  104. }
  105. }
  106. }
  107. }
  108. }
  109. .content{
  110. width: 40%;
  111. margin: 0px 20px 20px auto;
  112. p{
  113. margin: 10px 0;
  114. }
  115. }
  116. #default{
  117. .content{
  118. & > p{
  119. &:first-child{
  120. a{
  121. display: block;
  122. padding: 10px;
  123. text-align: center;
  124. border: 1px solid black;
  125. margin-left: 60%;
  126. }
  127. }
  128. &:last-child{
  129. margin-top: 80px;
  130. padding: 10px;
  131. border: 1px solid black;
  132. img{
  133. width: 33%;
  134. margin-right: 20px;
  135. float: left;
  136. }
  137. a{
  138. display: block;
  139. text-align: right;
  140. margin-top:15px;
  141. padding: 5px;
  142. border: 1px solid black;
  143. width: auto;
  144. margin-left: 70%;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. // items
  151. .bandeau{
  152. width: 100%;
  153. height: 300px;
  154. overflow: hidden;
  155. margin-bottom: 35px;
  156. img{
  157. transform: translateY(-20%);
  158. }
  159. }
  160. #item{
  161. .sub-content{
  162. border-top: 1px solid black;
  163. margin-bottom: 20px;
  164. margin-top: 20px;
  165. h3{
  166. margin-top: 20px;
  167. }
  168. }
  169. }
  170. #event{
  171. .content{
  172. margin-top: 50px;
  173. h2{
  174. float: left;
  175. margin-right: 20px;
  176. }
  177. .reso{
  178. @include inlineflex;
  179. flex-wrap: nowrap;
  180. width: 50px;
  181. height: 25px;
  182. }
  183. }
  184. .sidebar{
  185. margin-top: 50px;
  186. }
  187. }
  188. #footer{
  189. @include inlineflex;
  190. .sub-content{
  191. width: calc((100% / 3) - 40px);
  192. border-top: 1px solid black;
  193. margin: 20px;
  194. h3{
  195. margin-top: 20px;
  196. }
  197. }
  198. }
  199. .sidebar{
  200. margin: 0 auto 0 20px;
  201. .side-agenda{
  202. border-top: 1px solid black;
  203. padding: 10px 0;
  204. &:nth-of-type(3){
  205. border-bottom: 1px solid black;
  206. margin-bottom: 10px;
  207. }
  208. }
  209. .side-all-agenda{
  210. width: auto;
  211. padding: 5px;
  212. margin-bottom: 10px;
  213. float: right;
  214. border: 1px solid black;
  215. }
  216. .side-newsletter{
  217. margin-top: 100px;
  218. padding: 20px;
  219. background: lightgrey;
  220. }
  221. }
  222. #footer{
  223. margin-top: 20px;
  224. }