index.css 1.9 KB

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