_default.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. article, .paragraph{
  2. h2,h3,h4,h5,h6{
  3. font-family: "trueno";
  4. font-weight: 600;
  5. font-size: $font-medium;
  6. color:black;
  7. margin-top: 1rem;
  8. margin-bottom: .3rem;
  9. }
  10. p{
  11. margin-bottom: .5rem;
  12. }
  13. }
  14. .block-region-first,.block-region-third{
  15. h2{
  16. font-size: $font-big;
  17. background-color: black;
  18. color: white;
  19. padding: .3rem 1rem;
  20. }
  21. .views-field-field-intro{
  22. display: none;
  23. }
  24. }
  25. .block-region-first{
  26. background-color: black;
  27. color: white;
  28. z-index: 120;
  29. #node\:title{
  30. text-transform: uppercase;
  31. font-family: 'duke';
  32. font-size: $font-big;
  33. text-decoration: none;
  34. &:hover{
  35. text-decoration: underline;
  36. }
  37. }
  38. }
  39. .page-node-type-static{
  40. .layout__region{
  41. position: relative;
  42. }
  43. .layout__region--top{
  44. position: absolute;
  45. top: 0;
  46. left: 0;
  47. width: 100vw;
  48. height: 40vh;
  49. background: $trame;
  50. box-shadow: inset 0 -5rem 8rem white;
  51. z-index: -1;
  52. }
  53. .block-region-third{
  54. position: sticky;
  55. top: 3rem;
  56. }
  57. .block-region-first{
  58. padding: 1rem;
  59. .field_titre{
  60. font-size: $font-normal;
  61. font-weight: 600;
  62. margin-top: .5rem;
  63. cursor: pointer;
  64. &:hover{
  65. text-decoration: underline;
  66. }
  67. }
  68. }
  69. .block-region-first #node\:title{
  70. font-size: 1.3rem;
  71. &:hover{
  72. text-decoration: none;
  73. }
  74. }
  75. .field_textes{
  76. .paragraph{
  77. // border-top: 1px solid black;
  78. border-bottom: 3px dotted gray;
  79. padding: 1rem 0;
  80. .field_titre{
  81. font-size: $font-big;
  82. font-weight: 600;
  83. text-transform: initial;
  84. cursor: pointer;
  85. // margin-top: 1rem;
  86. }
  87. .field_texte{
  88. height: auto;
  89. position: relative;
  90. h2{
  91. text-transform: inherit;
  92. }
  93. -webkit-transition: all 250ms ease;
  94. -moz-transition: all 250ms ease;
  95. -o-transition: all 250ms ease;
  96. transition: all 250ms ease;
  97. }
  98. }
  99. }
  100. }
  101. .page-node-type-actualite, .page-node-type-evenement{
  102. .block-region-first{
  103. background-color: black;
  104. color: white;
  105. a{
  106. text-transform: uppercase;
  107. font-family: 'duke';
  108. font-size: $font-big;
  109. padding: .3rem .5rem;
  110. text-decoration: none;
  111. &:hover{
  112. text-decoration: underline;
  113. }
  114. }
  115. }
  116. #node\:title{
  117. font-family: "trueno";
  118. font-weight: 600;
  119. font-size: $font-medium;
  120. margin-top: 1rem;
  121. margin-bottom: .3rem;
  122. }
  123. }