_layout.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. $header-height : 150px;
  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{
  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. main{
  65. width: 100%;
  66. display: flex;
  67. flex-direction: row;
  68. position: relative;
  69. @media (max-width:500px) {
  70. flex-direction: column;
  71. }
  72. }
  73. .main-content{
  74. margin-top: 7rem;
  75. }
  76. #block-reha-titredepage{
  77. // display: none;
  78. }
  79. p{
  80. background-color: transparent;
  81. }