index.css 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. *{margin:0;padding:0;}
  2. body{
  3. height: 100vh;
  4. width: 100vw;
  5. display: flex;
  6. }
  7. .cardContainer{
  8. display: flex;
  9. justify-content: space-around;
  10. flex-wrap: wrap;
  11. height: 100%;
  12. width: 100%;
  13. box-sizing: border-box;
  14. padding: 25px;
  15. overflow-y: auto;
  16. }
  17. .card{
  18. position: relative;
  19. display: flex;
  20. flex-direction: column;
  21. justify-content: center;
  22. align-items: center;
  23. background: white;
  24. width: 300px;
  25. height: 300px;
  26. cursor: pointer;
  27. margin: 10px;
  28. padding: 25px;
  29. text-decoration: none;
  30. color: black;
  31. }
  32. .card:hover{
  33. box-shadow: 0 0 3px black;
  34. }
  35. .card h2{
  36. text-align: justify;
  37. }
  38. .card img{
  39. margin-top: 10px;
  40. width: 90%;
  41. max-height: 150px;
  42. max-width: 150px;
  43. }
  44. .card p{
  45. text-align: justify;
  46. }
  47. .card > *{
  48. margin: 10px 0;
  49. }
  50. #menu{
  51. display: flex;
  52. flex-direction: column;
  53. align-items: center;
  54. background: #152730;
  55. width: 100px;
  56. height: 100vh;
  57. }
  58. #menu > button{
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: center;
  62. align-items: center;
  63. height: 100px;
  64. width: 100px;
  65. color: #5FECE0;
  66. cursor: pointer;
  67. background: none;
  68. border: none;
  69. }
  70. #menu .active{
  71. background: rgb(196, 198, 192);
  72. cursor: default;
  73. color: #152730;
  74. }
  75. #main{
  76. flex-direction: column;
  77. align-items: center;
  78. justify-content: space-around;
  79. background: rgb(196, 198, 192);
  80. height: 100vh;
  81. width: 100%;
  82. }