_mobile.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @media screen and (max-width: 1024px){
  2. body{
  3. #start{
  4. width: $Wi80-m;
  5. #text_figli{
  6. #item_list{
  7. .card{
  8. width: $Wi33-m;
  9. #item{
  10. width: calc(300% + (.5rem * 2));
  11. }
  12. }
  13. }
  14. }
  15. }
  16. }
  17. }
  18. @media screen and (max-width: 1000px){
  19. .sidebar-right{
  20. .list-projets {
  21. .container{
  22. width: 100%;
  23. float: none;
  24. padding-bottom: 0;
  25. }
  26. .informations{
  27. width: calc(100% - 10px);
  28. float: none;
  29. padding-left: 0.5rem;
  30. margin-left: 10px;
  31. &::after{
  32. height: 1px;
  33. width: 0;
  34. }
  35. }
  36. }
  37. &.is-active{
  38. .informations{
  39. &::after{
  40. width: 100%;
  41. transition: 1s width 1s ease;
  42. }
  43. }
  44. }
  45. }
  46. #item_list{
  47. width: 90vw!important;
  48. }
  49. }
  50. @media screen and (max-width: 414px) {
  51. body{
  52. #start{
  53. width: $Wi-m;
  54. margin: 0rem auto 2rem auto;
  55. padding-right: 2rem;
  56. #text_figli{
  57. p{
  58. font-size: 1.7rem;
  59. line-height: 2.3rem;
  60. a{
  61. &:before,
  62. &:after {
  63. width: 50%;
  64. opacity: 1;
  65. background-color: black;
  66. }
  67. }
  68. }
  69. #item_list{
  70. width: 100%;
  71. .card{
  72. width: calc(100%);
  73. margin: 0 0 0.5rem 0;
  74. #item{
  75. width: 100%;
  76. padding: 1rem;
  77. .content-title{
  78. h2{
  79. font-size: 2rem !important;
  80. line-height: 2.5rem !important;
  81. }
  82. & > div{
  83. line-height: 1rem;
  84. }
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }
  91. .sidebar-right{
  92. width: 100%;
  93. right: -100%;
  94. #icone_list{
  95. z-index: 0;
  96. width: 100%;
  97. // background-color: #f9f9f9fe;
  98. .hamburger{
  99. float: right;
  100. z-index: 999;
  101. }
  102. }
  103. .list-projets{
  104. z-index: 999;
  105. ul{
  106. text-align: center;
  107. span{
  108. text-align: center;
  109. }
  110. li{
  111. text-align: center;
  112. margin-top: 0!important;
  113. &::before{
  114. width: 100%;
  115. }
  116. a{
  117. padding: 0.5rem;
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }
  124. footer{
  125. z-index: 999;
  126. justify-content: center;
  127. width: 100%;
  128. bottom: 0!important;
  129. left: 0!important;
  130. padding: 0.5rem;
  131. background-color: #f9f9f9fe;
  132. }
  133. .circle_hover.open{
  134. width: 100px!important;
  135. height: 100px!important;
  136. }
  137. }