_layout.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. min-height: 100vh;
  37. @media(max-width: 891px){
  38. width: 90%;
  39. }
  40. @media (max-width:500px) {
  41. padding-top: 0;
  42. }
  43. .layout__region--first{
  44. flex: 0 1 25%;
  45. }
  46. .layout__region--second{
  47. flex: 0 1 75%;
  48. &.view-id-home{
  49. margin: 0;
  50. }
  51. }
  52. }
  53. aside.layout-sidebar-first{
  54. width: 20%;
  55. order: 1;
  56. margin-top: 5rem;
  57. margin-left: 10%;
  58. margin-right: 1rem;
  59. @media(max-width:891px){
  60. margin-left: 5%;
  61. margin-top: 9rem;
  62. }
  63. @media (max-width:500px) {
  64. width: 80%;
  65. margin-top: 3rem;
  66. }
  67. }
  68. aside.layout-sidebar-second{
  69. position: absolute;
  70. top:0;
  71. right:0;
  72. background-color: #fff;
  73. height: 300vh;
  74. padding: 1em;
  75. z-index: 100;
  76. }
  77. main{
  78. width: 100%;
  79. display: flex;
  80. flex-direction: row;
  81. position: relative;
  82. @media (max-width:500px) {
  83. flex-direction: column;
  84. }
  85. }
  86. .main-content{
  87. margin-top: 7rem;
  88. }
  89. #block-reha-titredepage{
  90. // display: none;
  91. }
  92. p{
  93. background-color: transparent;
  94. }