index.css 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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: space-between;
  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: center;
  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. .card.backCard{
  51. justify-content: center;
  52. }
  53. #menu{
  54. display: flex;
  55. flex-direction: column;
  56. align-items: center;
  57. background: #152730;
  58. width: 100px;
  59. height: 100vh;
  60. }
  61. #menu > button{
  62. display: flex;
  63. flex-direction: column;
  64. justify-content: center;
  65. align-items: center;
  66. height: 100px;
  67. width: 100px;
  68. color: #5FECE0;
  69. cursor: pointer;
  70. background: none;
  71. border: none;
  72. }
  73. #menu .active{
  74. background: rgb(196, 198, 192);
  75. cursor: default;
  76. color: #152730;
  77. }
  78. #main{
  79. flex-direction: column;
  80. align-items: center;
  81. justify-content: space-around;
  82. background: rgb(196, 198, 192);
  83. height: 100vh;
  84. width: 100%;
  85. }