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.

111 lines
1.9 KiB

3 years ago
3 years ago
3 years ago
  1. .container {
  2. height: calc(100% -30vh);
  3. width: 100vw;
  4. font-family: 'Lato', sans-serif;
  5. }
  6. img {
  7. border-radius: 50%;
  8. }
  9. .content_container {
  10. display: grid;
  11. justify-items: center;
  12. padding: 1vh 1vw;
  13. }
  14. .content_container img {
  15. grid-row: 2;
  16. grid-column: 1/2;
  17. height: 80vw;
  18. width: 80vw;
  19. }
  20. .content_container h1 {
  21. grid-row: 1;
  22. color: #333;
  23. font-size: 8vh;
  24. text-transform: uppercase;
  25. padding: 1vh 0;
  26. }
  27. .content_container h1 span {
  28. opacity: 70%;
  29. }
  30. .content_container p {
  31. grid-row: 2/3;
  32. grid-column: 1/2;
  33. text-align: center;
  34. background-color: rgba(255, 255, 255, 0.5);
  35. margin-top: 25vh;
  36. color: #333;
  37. font-size: 2.5vh;
  38. padding: 2vh 2vw;
  39. letter-spacing: .1vw;
  40. line-height: 4vh;
  41. }
  42. .content_container a {
  43. grid-row: 3;
  44. text-decoration: none;
  45. background-color: rgba(61, 189, 146, 1);
  46. opacity: 80%;
  47. color: #eee;
  48. padding: 2vh 7vw;
  49. text-transform: uppercase;
  50. letter-spacing: .35vw;
  51. transition: all ease .4s;
  52. }
  53. .content_container a:active {
  54. box-shadow: 0px 0px 10px #63caa7;
  55. }
  56. #withbutton {
  57. padding-bottom: 4vh;
  58. }
  59. @media (min-width: 700px) {
  60. .content_container p {
  61. padding-bottom: 6vh;
  62. }
  63. }
  64. @media (min-width: 1000px) {
  65. .content_container {
  66. padding: 3vh 4vw 1vh 4vw;
  67. }
  68. .content_container img {
  69. grid-column: 1/3;
  70. grid-row: 1/3;
  71. height: 40vw;
  72. width: 40vw;
  73. align-self: center;
  74. justify-self: flex-start;
  75. }
  76. .content_container h1 {
  77. grid-column:2 ;
  78. grid-row: 1;
  79. align-self: center;
  80. letter-spacing: .3vw;
  81. }
  82. .content_container p {
  83. grid-column:2 ;
  84. grid-row: 2;
  85. margin-top: 0;
  86. width: 50vw;
  87. line-height: 5.25vh;
  88. }
  89. .content_container a {
  90. grid-column: 2;
  91. }
  92. #withbutton {
  93. padding-bottom: 6vh;
  94. }
  95. }