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.

427 lines
7.3 KiB

3 years ago
  1. .global-wrapper {
  2. width: 100%;
  3. }
  4. .page-wrapper {
  5. display:grid;
  6. width: 100%;
  7. }
  8. .info h1 {
  9. color: rgb(191, 255, 0);
  10. font-family:'IBM Plex Sans', sans-serif;
  11. text-transform: uppercase;
  12. justify-self: center;
  13. align-self: center;
  14. padding-top: 2.5rem;
  15. margin-bottom: 1.5rem;
  16. }
  17. .info p {
  18. color: black;
  19. text-align: center;
  20. }
  21. .info p span {
  22. color: rgb(191, 255, 0);
  23. font-weight: 600;
  24. }
  25. .info img {
  26. width: 25vh;
  27. height: auto;
  28. align-self: center;
  29. }
  30. .strip h3 {
  31. color:rgb(62, 190, 147);
  32. font-family:'IBM Plex Sans', sans-serif;
  33. text-transform: uppercase;
  34. }
  35. .theme h5 {
  36. color: black;
  37. text-transform: uppercase;
  38. align-self: center;
  39. }
  40. .product .click button {
  41. margin: 0 1rem 0 0 !important;
  42. }
  43. @media (max-width:480px) {
  44. .page-wrapper {
  45. grid-template-columns: 100%;
  46. grid-template-rows: auto auto;
  47. grid-template-areas:
  48. "info"
  49. "page-content";
  50. width: 100%;
  51. }
  52. .info {
  53. width:100%;
  54. height: 72.5vh;
  55. grid-area: info;
  56. display: flex;
  57. flex-direction: column;
  58. margin: 0 1vh;
  59. }
  60. .info p {
  61. font-size: .95rem;
  62. margin: 1rem;
  63. text-align: center;
  64. }
  65. .info h1 {
  66. font-size: 2.5rem;
  67. padding-top: 12.5vh;
  68. }
  69. .info h1 span {
  70. margin-left: 7vh;
  71. }
  72. .image {
  73. display:flex;
  74. justify-content: center;
  75. }
  76. .info img {
  77. width: 25vh;
  78. height: auto;
  79. align-self: center;
  80. padding-right: 2vh;
  81. }
  82. .code-container {
  83. width: 100%;
  84. grid-area: page-content;
  85. padding: 1rem;
  86. padding-top: 1.5rem;
  87. position: relative;
  88. width: 100%;
  89. min-height: 100vh;
  90. overflow: hidden;
  91. background-color:rgb(191, 255, 0);
  92. display:flex;
  93. flex-direction: column;
  94. }
  95. .strip {
  96. height: auto;
  97. grid-template-columns: 1fr;
  98. grid-template-rows: .95fr 1fr;
  99. padding:2rem 1rem;
  100. background-color: white;
  101. border-radius: 25px;
  102. z-index: 10000;
  103. margin-top: 1vh;
  104. }
  105. .strip h3 {
  106. font-size: 2rem;
  107. font-weight: 300;
  108. line-height: 3rem;
  109. margin: 1rem 0;
  110. }
  111. .strip #smaller {
  112. font-size: 1.7rem;
  113. }
  114. .theme {
  115. display: flex;
  116. flex-direction: column;
  117. min-height: 65vh;
  118. box-shadow: 1px 1px 5px 3px #333;
  119. margin-bottom: 5vh;
  120. }
  121. .grid {
  122. display: grid;
  123. justify-items: center;
  124. align-items: center;
  125. width: 100%;
  126. padding-top: 3vh;
  127. }
  128. .grid figure {
  129. display: grid;
  130. grid-template-rows: repeat(3, 1fr);
  131. }
  132. .theme h5 {
  133. font-size: 1.5rem;
  134. margin: 2vh 0;
  135. }
  136. .theme #downsize {
  137. font-size: 1.25rem;
  138. }
  139. .theme h6 {
  140. color: rgb(191, 255, 0);
  141. text-align: center;
  142. padding: 1vh 0 0 0;
  143. }
  144. .theme #small {
  145. font-size: 1.2rem;
  146. }
  147. .theme .description {
  148. margin: 1rem;
  149. }
  150. .theme .description {
  151. font-weight: 300;
  152. line-height: 4vh;
  153. text-align: center;
  154. }
  155. .theme .click {
  156. display: flex;
  157. justify-content: center;
  158. align-items: center;
  159. margin: 0 1rem 2rem 1rem;
  160. }
  161. .theme img {
  162. max-width: 65vw;
  163. height: auto;
  164. padding: 1.5rem 0 2rem 0;
  165. }
  166. .theme button {
  167. padding: .5rem 1.25rem;
  168. background-color: #fff;
  169. border: .02em solid hsl(75, 100%, 50%);
  170. font-size: 1.25rem;
  171. font-family:'Lato', sans-serif;
  172. line-height: 1rem;
  173. border-radius: 25px;
  174. font-weight: 300;
  175. cursor: pointer;
  176. transition: .3s;
  177. margin-top: 1rem;
  178. margin-left: .25rem;
  179. transition: .5s;
  180. }
  181. .theme button a {
  182. text-decoration: none;
  183. color: #333;
  184. }
  185. .theme button a:active {
  186. opacity: 50%;
  187. color: rgb(191, 255, 0);
  188. }
  189. .desktop {
  190. display:none;
  191. }
  192. }
  193. @media (min-width:768px){
  194. .page-wrapper {
  195. grid-template-columns: 100%;
  196. grid-template-rows: auto auto;
  197. grid-template-areas:
  198. "info"
  199. "page-content";
  200. width: 100%;
  201. }
  202. .info {
  203. width:100%;
  204. height: 63vh;
  205. grid-area: info;
  206. display: grid;
  207. grid-template-columns: repeat(2, 50%);
  208. grid-template-rows: repeat(2, 50%);
  209. }
  210. .info h1 {
  211. grid-column: 1;
  212. grid-row: 1;
  213. font-size: 7rem;
  214. display: flex;
  215. justify-self: flex-start;
  216. margin: 3rem 0 2.5rem 10rem;
  217. }
  218. .info p {
  219. grid-column: 1;
  220. grid-row: 2;
  221. font-size: 1.5rem;
  222. margin: 1rem 1rem 1rem 12rem;
  223. text-align: left;
  224. line-height: 2.25rem;
  225. letter-spacing: .5px;
  226. }
  227. .info .image {
  228. margin: 5vh 0 0 5vh;
  229. }
  230. .info img {
  231. width: 45vh;
  232. height: auto;
  233. grid-column: 2;
  234. grid-row: 1/3;
  235. display:flex;
  236. justify-self: center;
  237. align-self: center;
  238. }
  239. .code-container {
  240. width: 100%;
  241. grid-area: page-content;
  242. padding:2rem;
  243. overflow: hidden;
  244. background-color: rgb(191, 255, 0);
  245. display:flex;
  246. flex-direction: column;
  247. }
  248. .strip {
  249. background-color: white;
  250. border-radius: 25px;
  251. z-index: 10000;
  252. min-height: 90vh;
  253. margin-top: 5vh;
  254. }
  255. .strip h3 {
  256. font-size: 3rem;
  257. line-height: 3rem;
  258. color: #333;
  259. margin: 5vh 0;
  260. padding-left: 5vh;
  261. }
  262. .strip .grid {
  263. display:grid;
  264. grid-template-columns: repeat(1,1fr);
  265. grid-gap: 5vh;
  266. justify-items: center;
  267. align-items: center;
  268. }
  269. figure {
  270. display: grid;
  271. grid-template-columns: repeat(3, 1fr);
  272. grid-gap: 1vw;
  273. justify-items: center;
  274. width: 100%;
  275. }
  276. #shorter {
  277. height: 60vh;
  278. }
  279. .theme {
  280. display: flex;
  281. flex-direction: column;
  282. justify-content: space-between;
  283. box-shadow: 1px 1px 5px 3px #333;
  284. width: 90%;
  285. min-height: 70vh;
  286. }
  287. .theme h5 {
  288. font-size: 2.25rem;
  289. text-align: center;
  290. padding: 3vh 0 .5rem 0;
  291. }
  292. .theme h6 {
  293. color: rgb(191, 255, 0);
  294. text-align: center;
  295. }
  296. .theme .description {
  297. margin: 1rem;
  298. }
  299. .description p {
  300. padding-bottom: 5vh;
  301. line-height: 4vh;
  302. text-align: center;
  303. }
  304. .theme .click {
  305. display: flex;
  306. justify-content: center;
  307. align-items: center;
  308. margin: 0 1rem 1rem 1rem;
  309. }
  310. .theme .image {
  311. display:flex;
  312. justify-content: center;
  313. align-items: center;
  314. }
  315. .theme img {
  316. width: 35vh;
  317. height: auto;
  318. padding: 1rem 0 0 0;
  319. }
  320. .theme button {
  321. padding: .5rem 1.25rem;
  322. border: .02em solid hsl(75, 100%, 50%);
  323. font-size: 1.25rem;
  324. font-family:'Lato', sans-serif;
  325. line-height: 1rem;
  326. border-radius: 25px;
  327. font-weight: 300;
  328. cursor: pointer;
  329. transition: .3s;
  330. margin: 1rem 0 1rem .25rem;
  331. transition: .5s;
  332. width: 12vh;
  333. height: 5vh;
  334. color: hsl(75, 100%, 50%);
  335. background-color: #fff;
  336. }
  337. .theme button a {
  338. text-decoration: none;
  339. color: hsl(75, 100%, 50%);
  340. }
  341. .theme button a:hover {
  342. color: #fff;
  343. }
  344. .theme button:hover {
  345. opacity: 50%;
  346. color: #fff;
  347. background-color: hsl(75, 100%, 50%);
  348. }
  349. .theme h3 {
  350. font-size: 2.5rem;
  351. line-height: 3rem;
  352. color: #333 ;
  353. margin: 5rem 0 2rem 1rem;
  354. }
  355. .theme span {
  356. color: rgb(0, 255, 170);
  357. }
  358. }