_blog.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #item{
  2. @include inlineflex();
  3. .card{
  4. width: calc( (100% / 4) - 45px);
  5. margin: 0 15px 30px 15px;
  6. position: relative;
  7. border: 1px solid black;
  8. .card-header{
  9. width: auto;
  10. position: absolute;
  11. right: 0;
  12. text-align: right;
  13. .publics{
  14. padding: 10px;
  15. background: grey;
  16. color: white;
  17. }
  18. }
  19. .card-body{
  20. padding: 15px;
  21. .card-title{
  22. margin-bottom: 10px;
  23. }
  24. }
  25. }
  26. }
  27. .content{
  28. width: 40%;
  29. p{
  30. margin: 10px 0;
  31. }
  32. }
  33. // items
  34. .bandeau{
  35. width: 100%;
  36. height: 300px;
  37. overflow: hidden;
  38. margin-bottom: 35px;
  39. img{
  40. transform: translateY(-20%);
  41. }
  42. }
  43. .sidebar{
  44. margin-left: 50px;
  45. .side-agenda{
  46. border-top: 1px solid black;
  47. padding: 10px 0;
  48. &:nth-of-type(3){
  49. border-bottom: 1px solid black;
  50. margin-bottom: 10px;
  51. }
  52. }
  53. .side-all-agenda{
  54. width: auto;
  55. padding: 5px;
  56. margin-bottom: 10px;
  57. float: right;
  58. border: 1px solid black;
  59. }
  60. .side-newsletter{
  61. margin-top: 60px;
  62. padding: 20px;
  63. background: lightgrey;
  64. }
  65. }