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.

106 lines
1.8 KiB

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. .content {
  8. height: 120vh !important;
  9. width: 100vw;
  10. }
  11. .content .container {
  12. display: grid;
  13. grid-template-columns: 1fr 1fr;
  14. grid-template-rows: repeat(8, 1fr);
  15. margin-top: .2rem;
  16. font-family: 'Lato', sans-serif;;
  17. }
  18. .container img {
  19. height: 100%;
  20. z-index: 0;
  21. max-width: 100vw;
  22. grid-column: 1/3;
  23. grid-row: 1/9;
  24. justify-self: center;
  25. }
  26. .link button {
  27. width: 2rem;
  28. height: 2rem;
  29. border-radius: 50%;
  30. border: .1rem solid hsl(300, 100%, 50%);
  31. background-color: hsl(300, 100%, 50%);
  32. transition: all .5s ease-in-out;
  33. }
  34. #hemp button:active {
  35. box-shadow: 0px 0px 10px hsl(300, 100%, 30%);
  36. }
  37. .link button a {
  38. color: #fff;
  39. text-decoration: none;
  40. font-weight: 600;
  41. font-size: 1.25rem;
  42. transition: all .4s ease-in-out;
  43. }
  44. .link button a:active {
  45. color: #999;
  46. }
  47. .link h6 {
  48. text-transform: uppercase;
  49. font-size: .85rem;
  50. letter-spacing: .25rem;
  51. }
  52. .link p {
  53. font-size: .65rem;
  54. text-align: center;
  55. background-color: #333;
  56. color: #eee;
  57. line-height: 2.25vh;
  58. }
  59. #hemp {
  60. grid-column: 1/3;
  61. grid-row: 1;
  62. z-index: 2;
  63. display: grid;
  64. grid-template-columns: repeat(2, 1fr);
  65. grid-template-rows: repeat(3, 1fr)
  66. }
  67. #hemp button {
  68. grid-column: 2;
  69. grid-row: 2;
  70. justify-self: start;
  71. align-self: end;
  72. margin-left: 2.4rem;
  73. margin-bottom: .2rem;
  74. }
  75. #hemp h6 {
  76. grid-column: 1;
  77. grid-row: 1;
  78. justify-self: center;
  79. display: flex;
  80. align-items: center;
  81. }
  82. #hemp p {
  83. grid-column: 1;
  84. grid-row: 2;
  85. }
  86. @media (min-width: 768px) {
  87. .content {
  88. height: 250vh !important;
  89. margin-top: 5rem;
  90. }
  91. }