index.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. display: flex;
  19. flex-direction: column;
  20. justify-content: center;
  21. align-items: center;
  22. background: white;
  23. width: 300px;
  24. height: 300px;
  25. cursor: pointer;
  26. margin: 10px;
  27. padding: 25px;
  28. text-decoration: none;
  29. color: black;
  30. }
  31. .card:hover{
  32. box-shadow: 0 0 3px black;
  33. }
  34. .card h2{
  35. text-align: justify;
  36. }
  37. .card img{
  38. margin-top: 10px;
  39. width: 90%;
  40. max-height: 150px;
  41. max-width: 150px;
  42. }
  43. .card p{
  44. text-align: justify;
  45. }
  46. .card > *{
  47. margin: 10px 0;
  48. }
  49. .sidebar{
  50. display: flex;
  51. flex-direction: column;
  52. justify-content: space-around;
  53. align-items: center;
  54. background: #152730;
  55. height: 100vh;
  56. width: 25vw;
  57. color: #5FECE0;
  58. border-right: 1px solid white
  59. }
  60. .description{
  61. background: #152730;
  62. color: #5FECE0;
  63. width: 100%;
  64. padding: 25px;
  65. box-sizing: border-box;
  66. font-size: 20px;
  67. text-align: justify;
  68. }
  69. .leeLinks a{
  70. display: flex;
  71. color: #5FECE0;
  72. margin: 10px;
  73. }
  74. .leeLinks svg{
  75. margin-right: 5px;
  76. }
  77. #menu{
  78. display: flex;
  79. flex-direction: column;
  80. align-items: center;
  81. background: #152730;
  82. width: 100px;
  83. height: 100vh;
  84. }
  85. #menu > button{
  86. display: flex;
  87. flex-direction: column;
  88. justify-content: center;
  89. align-items: center;
  90. height: 100px;
  91. width: 100px;
  92. color: #5FECE0;
  93. cursor: pointer;
  94. background: none;
  95. border: none;
  96. }
  97. #menu .active{
  98. background: rgb(196, 198, 192);
  99. cursor: default;
  100. color: #152730;
  101. }
  102. #main{
  103. flex-direction: column;
  104. align-items: center;
  105. justify-content: space-around;
  106. background: rgb(196, 198, 192);
  107. height: 100vh;
  108. width: 75vw;
  109. }