actualites.scss 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .page-actualites{
  2. .view-actus{
  3. padding-top: 3rem;
  4. padding-bottom: 6rem;
  5. width: 80%;
  6. margin: auto;
  7. .views-row{
  8. .node-type-actualite{
  9. .image-actualite{
  10. width: 90%;
  11. margin: auto;
  12. img{
  13. width: 100%;
  14. height: auto;
  15. }
  16. }
  17. .infos-content{
  18. position: relative;
  19. top: -10px;
  20. display: flex;
  21. flex-direction: column;
  22. border: solid $yellow-puca 1px;
  23. background-color: $white-button;
  24. padding: 1rem;
  25. h2{
  26. order: 2;
  27. margin: 0;
  28. font-size: 1.5rem;
  29. font-weight: 600;
  30. }
  31. .field--name-field-sous-titre {
  32. order: 3;
  33. font-size: 1.3rem;
  34. // line-height: 0.3rem;
  35. }
  36. .field--name-field-date{
  37. order: 4;
  38. font-weight: 900;
  39. padding-bottom: 1rem;
  40. }
  41. .field--name-field-type-d-actualite{
  42. order: 1;
  43. text-transform: uppercase;
  44. font-size: 1.2rem;
  45. }
  46. .field--name-field-site{
  47. order: 5;
  48. background-color: $gris-violet;
  49. border-radius: 50px;
  50. width: fit-content;
  51. padding: 0.2rem 0.9rem;
  52. margin-top: 1rem;
  53. .field__item{
  54. display: inline;
  55. }
  56. a{
  57. color: white;
  58. font-weight: 900;
  59. font-size: 0.8rem;
  60. vertical-align: top;
  61. }
  62. }
  63. ul.links{
  64. order: 6;
  65. display: none;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }