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.

242 lines
4.4 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
  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: 1000px) {
  116. .main_bar {
  117. z-index: 1;
  118. display: flex;
  119. align-items: center;
  120. border-bottom: .25rem solid rgb(62, 190, 147);
  121. height: 7.5rem;
  122. }
  123. .main_bar #logo_container {
  124. margin-top: .5rem;
  125. padding-bottom: 15vh;
  126. }
  127. .logo {
  128. z-index:3;
  129. height: 10rem;
  130. width: auto;
  131. margin-left: 2.5rem;
  132. margin-top: .5rem;
  133. position: absolute;
  134. }
  135. .hamburger_wrapper {
  136. display: none;
  137. }
  138. .mobile_dropdown_container {
  139. display: none;
  140. }
  141. .desktop_navigation {
  142. z-index: 2;
  143. display:flex;
  144. align-items:center;
  145. position: relative;
  146. width: 100%;
  147. margin-left: 30%;
  148. }
  149. .desktop_navigation ul {
  150. list-style: none;
  151. position: relative;
  152. align-items: center;
  153. padding-top: 1rem;
  154. }
  155. .desktop_navigation ul li {
  156. position: relative;
  157. text-align: center;
  158. padding-right: 1.5rem;
  159. transition: ease .2s;
  160. }
  161. .desktop_navigation ul li:hover {
  162. opacity: 90%;
  163. }
  164. .desktop_navigation ul li a {
  165. color: #fff;
  166. text-decoration: none;
  167. justify-content: space-between;
  168. line-height: 50px;
  169. font-family: 'Lato' , sans-serif;
  170. font-weight: 300 !important;
  171. padding: 2vw;
  172. }
  173. .desktop_navigation ul ul {
  174. border-top: 3px solid rgb(62, 190, 147);
  175. position: absolute;
  176. top: 80%;
  177. opacity: 0;
  178. visibility: hidden;
  179. max-height: 10vh;
  180. }
  181. #broader {
  182. min-width: 15vw;
  183. z-index: 1;
  184. }
  185. .desktop_navigation ul li li {
  186. position: relative;
  187. display: list-item;
  188. background-color: #000;
  189. opacity: 95%;
  190. padding-top: 1rem;
  191. }
  192. .desktop_navigation #fix {
  193. padding: 0;
  194. }
  195. .desktop_navigation ul li #fix {
  196. padding: 0 .6rem 0 .475rem;
  197. }
  198. .desktop_navigation ul li li a {
  199. font-size: 1.15rem;
  200. }
  201. .desktop_navigation ul li:hover > ul {
  202. opacity: 1;
  203. visibility: visible;
  204. }
  205. }