_layout.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. overflow: hidden;
  13. display: flex;
  14. flex-flow: row wrap;
  15. -webkit-user-select: none;
  16. -webkit-touch-callout: none;
  17. -moz-user-select: none;
  18. -ms-user-select: none;
  19. user-select: none;
  20. header{
  21. flex: 0 0 100%;
  22. }
  23. footer{
  24. flex: 0 0 100%;
  25. z-index: 101;
  26. }
  27. }
  28. .layout-content{
  29. position: relative;
  30. top: $header-height;
  31. order: 2;
  32. padding-top: 3rem;
  33. padding-bottom: 6rem;
  34. width: 80%;
  35. margin: auto;
  36. @media(max-width: 891px){
  37. width: 90%;
  38. }
  39. @media (max-width:500px) {
  40. padding-top: 0;
  41. }
  42. .layout__region--first{
  43. flex: 0 1 25%;
  44. }
  45. .layout__region--second{
  46. flex: 0 1 75%;
  47. &.view-id-home{
  48. margin: 0;
  49. }
  50. }
  51. }
  52. aside.layout-sidebar-first{
  53. width: 20%;
  54. order: 1;
  55. margin-top: 5rem;
  56. margin-left: 10%;
  57. margin-right: 1rem;
  58. @media(max-width:891px){
  59. margin-left: 5%;
  60. margin-top: 9rem;
  61. }
  62. @media (max-width:500px) {
  63. width: 80%;
  64. margin-top: 3rem;
  65. }
  66. }
  67. aside.layout-sidebar-second{
  68. position: absolute;
  69. top:0;
  70. right:0;
  71. background-color: #fff;
  72. height: 300vh;
  73. padding: 1em;
  74. z-index: 100;
  75. }
  76. main{
  77. width: 100%;
  78. display: flex;
  79. flex-direction: row;
  80. position: relative;
  81. @media (max-width:500px) {
  82. flex-direction: column;
  83. }
  84. }
  85. .main-content{
  86. margin-top: 7rem;
  87. }
  88. #block-reha-titredepage{
  89. // display: none;
  90. }
  91. p{
  92. background-color: transparent;
  93. }