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.

252 lines
4.6 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
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: 300;
  73. letter-spacing: 1.5vw;
  74. }
  75. #mobile_dropdown ul li a:active {
  76. opacity: 50%;
  77. color: rgb(0, 255, 170);
  78. transition: all ease-in-out;
  79. }
  80. .drop {
  81. display: flex;
  82. justify-content: center;
  83. }
  84. .chevron {
  85. height: 1.5rem;
  86. width: 1.5rem;
  87. cursor: pointer;
  88. }
  89. .down {
  90. display: none;
  91. flex-direction: column;
  92. align-items: center;
  93. z-index: 200;
  94. max-height: 30vh;
  95. margin-top: 5rem;
  96. min-width: 80%;
  97. right: 10%;
  98. border-radius: .2rem;
  99. background-color: #0cffae;
  100. transition: all .7 ease;
  101. }
  102. #down_2, #down_3{
  103. margin-top: 0;
  104. box-shadow: 0 0 15px 47px #0cffae;
  105. }
  106. #chevron_2, #chevron_3 {
  107. z-index: 1000;
  108. }
  109. #spider_dropdown, #offgrid_dropdown {
  110. width: 25vw;
  111. }
  112. .desktop_navigation {
  113. display: none;
  114. }
  115. @media (min-width: 700px) {
  116. #spider_dropdown, #offgrid_dropdown {
  117. width: 15vw;
  118. }
  119. #mobile_dropdown ul li a {
  120. padding-left: 1vw;
  121. }
  122. }
  123. @media (min-width: 1000px) {
  124. .main_bar {
  125. z-index: 1;
  126. display: flex;
  127. align-items: center;
  128. border-bottom: .25rem solid rgb(62, 190, 147);
  129. height: 7.5rem;
  130. }
  131. .main_bar #logo_container {
  132. margin-top: .5rem;
  133. padding-bottom: 15vh;
  134. }
  135. .logo {
  136. z-index:3;
  137. height: 10rem;
  138. width: auto;
  139. margin-left: 2.5rem;
  140. margin-top: .5rem;
  141. position: absolute;
  142. }
  143. .hamburger_wrapper {
  144. display: none;
  145. }
  146. .mobile_dropdown_container {
  147. display: none;
  148. }
  149. .desktop_navigation {
  150. z-index: 2;
  151. display:flex;
  152. align-items:center;
  153. position: relative;
  154. width: 100%;
  155. margin-left: 30%;
  156. }
  157. .desktop_navigation ul {
  158. list-style: none;
  159. position: relative;
  160. align-items: center;
  161. padding-top: 1rem;
  162. }
  163. .desktop_navigation ul li {
  164. position: relative;
  165. text-align: center;
  166. padding-right: 1.5rem;
  167. transition: ease .2s;
  168. }
  169. .desktop_navigation ul li:hover {
  170. opacity: 90%;
  171. }
  172. .desktop_navigation ul li a {
  173. color: #fff;
  174. text-decoration: none;
  175. justify-content: space-between;
  176. line-height: 50px;
  177. font-family: 'Lato' , sans-serif;
  178. font-weight: 300 !important;
  179. padding: 2vw;
  180. }
  181. .desktop_navigation ul ul {
  182. border-top: 3px solid rgb(62, 190, 147);
  183. position: absolute;
  184. top: 80%;
  185. opacity: 0;
  186. visibility: hidden;
  187. max-height: 10vh;
  188. }
  189. #broader {
  190. min-width: 15vw;
  191. z-index: 1;
  192. }
  193. .desktop_navigation ul li li {
  194. position: relative;
  195. display: list-item;
  196. background-color: #000;
  197. opacity: 95%;
  198. padding-top: 1rem;
  199. }
  200. .desktop_navigation #fix {
  201. padding: 0;
  202. }
  203. .desktop_navigation ul li #fix {
  204. padding: 0 .6rem 0 .475rem;
  205. }
  206. .desktop_navigation ul li li a {
  207. font-size: 1.15rem;
  208. }
  209. .desktop_navigation ul li:hover > ul {
  210. opacity: 1;
  211. visibility: visible;
  212. }
  213. }