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.

268 lines
4.8 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
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_1, #down_2, #down_3{
  103. margin-top: 0;
  104. }
  105. #style {
  106. background-color: #0cffae;
  107. padding-left: 6vw;
  108. }
  109. #chevron_1, #chevron_2, #chevron_3 {
  110. z-index: 1000;
  111. }
  112. #hemp_dropdown, #offgrid_dropdown {
  113. width: 25vw;
  114. }
  115. #hemp_dropdown a {
  116. padding-left: 3vw !important;
  117. }
  118. #hover:hover {
  119. color: #3ebe93;
  120. }
  121. .desktop_navigation {
  122. display: none;
  123. }
  124. @media (min-width: 700px) {
  125. #hemp_dropdown, #spider_dropdown, #offgrid_dropdown {
  126. width: 15vw;
  127. }
  128. #hemp_dropdown a {
  129. padding-left: 3vw !important;
  130. }
  131. #mobile_dropdown ul li a {
  132. padding-left: 1vw;
  133. }
  134. }
  135. @media (min-width: 1000px) {
  136. .main_bar {
  137. z-index: 1;
  138. display: flex;
  139. align-items: center;
  140. border-bottom: .25rem solid rgb(62, 190, 147);
  141. height: 7.5rem;
  142. }
  143. .main_bar #logo_container {
  144. margin-top: .5rem;
  145. padding-bottom: 15vh;
  146. }
  147. .logo {
  148. z-index:3;
  149. height: 10rem;
  150. width: auto;
  151. margin-left: 2.5rem;
  152. margin-top: .5rem;
  153. position: absolute;
  154. }
  155. .hamburger_wrapper {
  156. display: none;
  157. }
  158. .mobile_dropdown_container {
  159. display: none;
  160. }
  161. .desktop_navigation {
  162. z-index: 2;
  163. display:flex;
  164. align-items:center;
  165. position: relative;
  166. width: 100%;
  167. margin-left: 30%;
  168. }
  169. .desktop_navigation ul {
  170. list-style: none;
  171. position: relative;
  172. align-items: center;
  173. padding-top: 1rem;
  174. }
  175. .desktop_navigation ul li {
  176. position: relative;
  177. text-align: center;
  178. padding-right: 1.5rem;
  179. transition: ease .2s;
  180. }
  181. .desktop_navigation ul li:hover {
  182. opacity: 90%;
  183. }
  184. .desktop_navigation ul li a {
  185. color: #fff;
  186. text-decoration: none;
  187. justify-content: space-between;
  188. line-height: 50px;
  189. font-family: 'Lato' , sans-serif;
  190. font-weight: 300 !important;
  191. padding: 2vw;
  192. }
  193. .desktop_navigation ul ul {
  194. border-top: 3px solid rgb(62, 190, 147);
  195. position: absolute;
  196. top: 80%;
  197. opacity: 0;
  198. visibility: hidden;
  199. max-height: 10vh;
  200. }
  201. #broader {
  202. min-width: 15vw;
  203. z-index: 1;
  204. }
  205. .desktop_navigation ul li li {
  206. position: relative;
  207. display: list-item;
  208. background-color: #000;
  209. opacity: 95%;
  210. padding-top: 1rem;
  211. }
  212. .desktop_navigation #fix {
  213. padding: 0;
  214. }
  215. .desktop_navigation ul li #fix {
  216. padding: 0 .6rem 0 .475rem;
  217. }
  218. .desktop_navigation ul li li a {
  219. font-size: 1.15rem;
  220. }
  221. .desktop_navigation ul li:hover > ul {
  222. opacity: 1;
  223. visibility: visible;
  224. }
  225. }