_mobile.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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: 414px) {
  19. body{
  20. #start{
  21. width: $Wi-m;
  22. margin: 0rem auto 2rem auto;
  23. padding-right: 2rem;
  24. #text_figli{
  25. p{
  26. font-size: 1.7rem;
  27. line-height: 2.3rem;
  28. a{
  29. &:before,
  30. &:after {
  31. width: 50%;
  32. opacity: 1;
  33. background-color: black;
  34. }
  35. }
  36. }
  37. #item_list{
  38. width: 100%;
  39. .card{
  40. width: calc(100%);
  41. margin: 0 0 0.5rem 0;
  42. #item{
  43. width: 100%;
  44. padding: 1rem;
  45. .content-title{
  46. h2{
  47. font-size: 2rem !important;
  48. line-height: 2.5rem !important;
  49. }
  50. & > div{
  51. line-height: 1rem;
  52. }
  53. }
  54. }
  55. }
  56. }
  57. }
  58. }
  59. .sidebar-right{
  60. width: 100%;
  61. right: -100%;
  62. #icone_list{
  63. z-index: 0;
  64. width: 100%;
  65. // background-color: #f9f9f9fe;
  66. .hamburger{
  67. float: right;
  68. z-index: 999;
  69. }
  70. }
  71. .list-projets{
  72. z-index: 999;
  73. ul{
  74. text-align: center;
  75. span{
  76. text-align: center;
  77. }
  78. li{
  79. text-align: center;
  80. margin-top: 0!important;
  81. &::before{
  82. width: 100%;
  83. }
  84. a{
  85. padding: 0.5rem;
  86. }
  87. }
  88. }
  89. }
  90. }
  91. }
  92. footer{
  93. z-index: 999;
  94. justify-content: center;
  95. width: 100%;
  96. bottom: 0!important;
  97. left: 0!important;
  98. padding: 0.5rem;
  99. background-color: #f9f9f9fe;
  100. }
  101. .circle_hover.open{
  102. width: 100px!important;
  103. height: 100px!important;
  104. }
  105. }