actualites.scss 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. color: white;
  50. border-radius: 50px;
  51. width: fit-content;
  52. padding: 0.2rem 0.9rem;
  53. div:nth-child(1)
  54. {
  55. display: none;
  56. }
  57. .field__item{
  58. display: inline;
  59. }
  60. a{
  61. color: white;
  62. font-weight: 900;
  63. font-size: 0.8rem;
  64. vertical-align: top;
  65. }
  66. }
  67. ul.links{
  68. order: 6;
  69. display: none;
  70. }
  71. }
  72. }
  73. }
  74. }
  75. }