_home.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. // .node-type-static {
  2. // display: grid;
  3. // grid-template-columns: 2fr 2fr 2fr 2fr 2fr;
  4. // }
  5. .field--type-entity-reference-revisions{
  6. .paragraph-summary{
  7. font-family: $font-family-default;
  8. font-size: 5rem;
  9. font-weight: 600;
  10. color: $black !important;
  11. text-transform: capitalize;
  12. span:nth-of-type(2n){
  13. display: block;
  14. font-size: 1rem;
  15. }
  16. }
  17. .paragraph-summary:nth-of-type(2n) {
  18. font-size: 2rem;
  19. }
  20. }
  21. .block-views-blockactus-blocks-pages-block-1{
  22. background-color: $blue-dark;
  23. padding: 1rem;
  24. .view-content{
  25. display: flex;
  26. flex-direction: row;
  27. justify-content: space-around;
  28. .node-type-actualite{
  29. div:first-child{
  30. color: $white;
  31. .field--name-field-images {
  32. .field__item img{
  33. width: 200px;
  34. height: fit-content;
  35. // &::after{
  36. // content:"line";
  37. // }
  38. }
  39. }
  40. }
  41. h2{ margin:0; }
  42. a{ color: $white; }
  43. }
  44. }
  45. }
  46. .node-type-actualite div:first-child{
  47. display: flex;
  48. flex-direction: column;
  49. :nth-child(1) { order: 1; }
  50. :nth-child(4) { order: 2; }
  51. :nth-child(5) { order: 3; }
  52. }
  53. .field--type-link {
  54. display: block;
  55. width: fit-content;
  56. padding: 1rem;
  57. font-size: 1.5rem;
  58. background-color: $white;
  59. border: 2px solid $blue-light;
  60. a{
  61. font-size: 1rem;
  62. text-transform: uppercase;
  63. font-weight: 700;
  64. color: $blue-light;
  65. }
  66. a::after{
  67. // font-family: "Font Awesome";
  68. display: inline-block;
  69. content: url("../../images/pictos/polygon2.svg");
  70. // width: 6rem;
  71. // height: 4rem;
  72. background: green;
  73. }
  74. }
  75. .node-type-static{
  76. padding: 1rem;
  77. .inline.links{
  78. display: block;
  79. width: fit-content;
  80. padding: 1rem;
  81. font-size: 1rem;
  82. // background-color: $white;
  83. border: 2px solid $blue-light;
  84. list-style: none;
  85. a{
  86. text-transform: uppercase;
  87. font-weight: 700;
  88. color: $blue-light;
  89. // &::after{
  90. // content: url('../../images/pictos/noun_Arrow_3771902.svg');
  91. // }
  92. }
  93. }
  94. }