_layout.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. $header-height : 110px;
  2. $width-menu-slidedown : 550px;
  3. .layout-container {
  4. position: relative;
  5. width: 100vw;
  6. background-color: $background-home;
  7. font-family: $font-family-default;
  8. font-weight: 400;
  9. font-style: normal;
  10. top: 0%;
  11. left: 0%;
  12. // width: 100%;
  13. overflow: hidden;
  14. display: flex;
  15. flex-flow: row wrap;
  16. header{
  17. flex: 0 0 100%;
  18. }
  19. // main{
  20. // // position: relative;
  21. // // top: -7rem;
  22. // }
  23. footer{
  24. flex: 0 0 100%;
  25. }
  26. }
  27. .layout-content{
  28. order: 2;
  29. padding-top: 3rem;
  30. padding-bottom: 6rem;
  31. width: 80%;
  32. margin: auto;
  33. @media(max-width: 891px){
  34. width: 90%;
  35. }
  36. @media (max-width:500px) {
  37. padding-top: 0;
  38. }
  39. .layout__region--first{
  40. flex: 0 1 25%;
  41. }
  42. .layout__region--second{
  43. flex: 0 1 75%;
  44. &.view-id-home{
  45. margin: 0;
  46. }
  47. }
  48. }
  49. aside.layout-sidebar-first{
  50. width: 20%;
  51. order: 1;
  52. margin-top: 5rem;
  53. margin-left: 10%;
  54. margin-right: 1rem;
  55. @media(max-width:891px){
  56. margin-left: 5%;
  57. margin-top: 9rem;
  58. }
  59. @media (max-width:500px) {
  60. width: 80%;
  61. margin-top: 3rem;
  62. }
  63. }
  64. aside.layout-sidebar-second{
  65. position: fixed;
  66. top:0;
  67. right:0;
  68. background-color: #fff;
  69. height: 100vh;
  70. padding: 1em;
  71. z-index: 100;
  72. }
  73. main{
  74. width: 100%;
  75. display: flex;
  76. flex-direction: row;
  77. position: relative;
  78. @media (max-width:500px) {
  79. flex-direction: column;
  80. }
  81. }
  82. .main-content{
  83. margin-top: 7rem;
  84. }
  85. #block-reha-titredepage{
  86. // display: none;
  87. }
  88. p{
  89. background-color: transparent;
  90. }