_blog.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. a{
  43. padding: 10px;
  44. border: 1px solid black;
  45. }
  46. }
  47. #item{
  48. @include inlineflex();
  49. width: 100%;
  50. .card{
  51. width: calc( (100% / 4) - 45px);
  52. min-width: 250px;
  53. margin: 0 15px 30px 15px;
  54. position: relative;
  55. border: 1px solid black;
  56. .card-header{
  57. width: auto;
  58. position: absolute;
  59. right: 0;
  60. text-align: right;
  61. .publics{
  62. padding: 10px;
  63. background: grey;
  64. a{
  65. color: white;
  66. }
  67. }
  68. }
  69. .card-body{
  70. padding: 15px;
  71. .card-title{
  72. margin-bottom: 10px;
  73. }
  74. }
  75. }
  76. }
  77. .content{
  78. width: 40%;
  79. margin: 0px 20px 20px auto;
  80. p{
  81. margin: 10px 0;
  82. }
  83. }
  84. #default{
  85. .content{
  86. & > p{
  87. &:first-child{
  88. a{
  89. display: block;
  90. padding: 10px;
  91. text-align: center;
  92. border: 1px solid black;
  93. margin-left: 60%;
  94. }
  95. }
  96. &:last-child{
  97. margin-top: 80px;
  98. padding: 10px;
  99. border: 1px solid black;
  100. img{
  101. width: 33%;
  102. margin-right: 20px;
  103. float: left;
  104. }
  105. a{
  106. display: block;
  107. text-align: right;
  108. margin-top:15px;
  109. padding: 5px;
  110. border: 1px solid black;
  111. width: auto;
  112. margin-left: 70%;
  113. }
  114. }
  115. }
  116. }
  117. }
  118. // items
  119. .bandeau{
  120. width: 100%;
  121. height: 300px;
  122. overflow: hidden;
  123. margin-bottom: 35px;
  124. img{
  125. transform: translateY(-20%);
  126. }
  127. }
  128. .sub-content{
  129. border-top: 1px solid black;
  130. margin-bottom: 20px;
  131. margin-top: 20px;
  132. h3{
  133. margin-top: 20px;
  134. }
  135. }
  136. .sidebar{
  137. margin: 0 auto 0 20px;
  138. .side-agenda{
  139. border-top: 1px solid black;
  140. padding: 10px 0;
  141. &:nth-of-type(3){
  142. border-bottom: 1px solid black;
  143. margin-bottom: 10px;
  144. }
  145. }
  146. .side-all-agenda{
  147. width: auto;
  148. padding: 5px;
  149. margin-bottom: 10px;
  150. float: right;
  151. border: 1px solid black;
  152. }
  153. .side-newsletter{
  154. margin-top: 100px;
  155. padding: 20px;
  156. background: lightgrey;
  157. }
  158. }
  159. #footer{
  160. margin-top: 20px;
  161. }
  162. // .card{
  163. // height: 100px;
  164. // .card-image{
  165. // height: 100px;
  166. // }
  167. // }