cannabinieri website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

235 lines
4.3 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. @font-face {
  2. font-family: 'Lato', sans-serif;
  3. src: url('fonts/Lato-Thin.ttf') format('truetype');
  4. font-style: normal;
  5. font-weight: 100;
  6. }
  7. .main_bar {
  8. background-color: #000;
  9. display: flex;
  10. flex-direction: row;
  11. justify-content: space-between;
  12. height: 100%;
  13. border-bottom: .2rem solid hsl(160, 51%, 49%);
  14. }
  15. .logo {
  16. width: auto;
  17. height: 4.5rem;
  18. margin: .25rem 0 0 .25rem;
  19. }
  20. .hamburger_wrapper {
  21. display: flex;
  22. align-items: center;
  23. }
  24. .hamburger_wrapper #icon {
  25. color: #fff;
  26. height: 2.5rem;
  27. width: 2.5rem;
  28. cursor: pointer;
  29. margin-right: .5rem;
  30. }
  31. .mobile_dropdown_container {
  32. background-color: rgb(0, 255, 170);
  33. opacity: 95%;
  34. position: absolute;
  35. margin-top: 5rem;
  36. width: 100%;
  37. height: 80%;
  38. display: none;
  39. justify-content: center;
  40. z-index: 9;
  41. }
  42. .mobile_dropdown_container #mobile_dropdown {
  43. display: flex;
  44. flex-direction: column;
  45. align-items: center;
  46. justify-content: space-evenly;
  47. margin-top: 2rem;
  48. }
  49. #mobile_dropdown ul {
  50. list-style: none;
  51. max-height: 16vh;
  52. }
  53. #mobile_dropdown ul li {
  54. display: flex;
  55. flex-direction: column;
  56. margin-top: .75rem;
  57. max-height: 5vh;
  58. }
  59. #mobile_dropdown ul li a {
  60. color:#000;
  61. text-decoration: none;
  62. font-family: 'Lato', sans-serif;
  63. font-size: 1.15rem;
  64. line-height: 1.8em;
  65. font-weight: 300;
  66. margin-bottom: .25rem;
  67. letter-spacing: .2rem;
  68. display: flex;
  69. align-items: center;
  70. }
  71. #mobile_dropdown ul li li a {
  72. font-weight: 400;
  73. }
  74. #mobile_dropdown ul li a:active {
  75. opacity: 50%;
  76. color: rgb(0, 255, 170);
  77. transition: all ease-in-out;
  78. }
  79. .drop {
  80. display: flex;
  81. justify-content: center;
  82. }
  83. .chevron {
  84. height: 1.5rem;
  85. width: 1.5rem;
  86. cursor: pointer;
  87. }
  88. .down {
  89. display: none;
  90. flex-direction: column;
  91. align-items: center;
  92. z-index: 200;
  93. position: fixed;
  94. background-color: hsl(300, 100%, 50%);
  95. max-height: 30vh;
  96. margin-top: 5rem;
  97. min-width: 80%;
  98. right: 10%;
  99. border-radius: .2rem;
  100. box-shadow:.1rem .1rem #888;
  101. opacity: 85%;
  102. transition: all .7 ease;
  103. }
  104. #down_3 {
  105. margin-top: 4rem;
  106. }
  107. .desktop_navigation {
  108. display: none;
  109. }
  110. @media (min-width: 1000px) {
  111. .main_bar {
  112. z-index: 1;
  113. display: flex;
  114. align-items: center;
  115. border-bottom: .25rem solid rgb(62, 190, 147);
  116. height: 7.5rem;
  117. }
  118. .main_bar #logo_container {
  119. margin-top: .5rem;
  120. padding-bottom: 15vh;
  121. }
  122. .logo {
  123. z-index:3;
  124. height: 10rem;
  125. width: auto;
  126. margin-left: 2.5rem;
  127. margin-top: .5rem;
  128. position: absolute;
  129. }
  130. .hamburger_wrapper {
  131. display: none;
  132. }
  133. .mobile_dropdown_container {
  134. display: none;
  135. }
  136. .desktop_navigation {
  137. z-index: 2;
  138. display:flex;
  139. align-items:center;
  140. position: relative;
  141. width: 100%;
  142. margin-left: 30%;
  143. }
  144. .desktop_navigation ul {
  145. list-style: none;
  146. position: relative;
  147. align-items: center;
  148. padding-top: 1rem;
  149. }
  150. .desktop_navigation ul li {
  151. position: relative;
  152. text-align: center;
  153. padding-right: 1.5rem;
  154. transition: ease .2s;
  155. }
  156. .desktop_navigation ul li:hover {
  157. opacity: 90%;
  158. }
  159. .desktop_navigation ul li a {
  160. color: #fff;
  161. text-decoration: none;
  162. justify-content: space-between;
  163. line-height: 50px;
  164. font-family: 'Lato' , sans-serif;
  165. font-weight: 300 !important;
  166. padding: 2vw;
  167. }
  168. .desktop_navigation ul ul {
  169. border-top: 3px solid rgb(62, 190, 147);
  170. position: absolute;
  171. top: 80%;
  172. opacity: 0;
  173. visibility: hidden;
  174. max-height: 10vh;
  175. }
  176. #broader {
  177. min-width: 15vw;
  178. z-index: 1;
  179. }
  180. .desktop_navigation ul li li {
  181. position: relative;
  182. display: list-item;
  183. background-color: #000;
  184. opacity: 95%;
  185. padding-top: 1rem;
  186. }
  187. .desktop_navigation #fix {
  188. padding: 0;
  189. }
  190. .desktop_navigation ul li #fix {
  191. padding: 0 .6rem 0 .475rem;
  192. }
  193. .desktop_navigation ul li li a {
  194. font-size: 1.15rem;
  195. }
  196. .desktop_navigation ul li:hover > ul {
  197. opacity: 1;
  198. visibility: visible;
  199. }
  200. }