_layout.scss 1.9 KB

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