index.css 2.1 KB

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