main.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .main-container {
  2. display: flex;
  3. width: 100%;
  4. height: 100vh;
  5. }
  6. #aside {
  7. display: flex;
  8. flex-direction: column;
  9. background-color: #eb0000;
  10. padding: 10px;
  11. width: 15%;
  12. position: fixed;
  13. }
  14. #aside a {
  15. text-decoration: none;
  16. color: white;
  17. margin: 10px 0;
  18. transition: all 0.5s;
  19. }
  20. #main {
  21. display: flex;
  22. flex-direction: column;
  23. width: 85%;
  24. margin-left: 20%;
  25. }
  26. #main h2 {
  27. margin-left: 20px;
  28. }
  29. .cards {
  30. display: flex;
  31. flex-wrap: wrap;
  32. justify-content: flex-start;
  33. width: 100%;
  34. padding: 20px;
  35. text-align: center;
  36. }
  37. .cards a {
  38. text-decoration: none;
  39. color: #000;
  40. margin: 15px;
  41. border-radius: 10px;
  42. width: 25%;
  43. transition: all 0.5s;
  44. box-shadow: 0 0 2px rgb(8, 8, 8);
  45. }
  46. .cards a:hover {
  47. transform: scale(1.05);
  48. }
  49. .card img {
  50. max-width: 80%;
  51. margin: 10px 0;
  52. }
  53. .card {
  54. display: flex;
  55. flex-direction: column;
  56. align-items: center;
  57. justify-content: space-between;
  58. height: 100%;
  59. padding: 15px;
  60. }
  61. button {
  62. box-sizing: border-box;
  63. background-color: transparent;
  64. border: 2px solid #e74c3c;
  65. border-radius: 0.6em;
  66. color: #e74c3c;
  67. cursor: pointer;
  68. line-height: 1;
  69. margin: 10px;
  70. padding: 0.5em;
  71. text-decoration: none;
  72. text-align: center;
  73. text-transform: uppercase;
  74. transition: box-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
  75. }
  76. button:hover {
  77. color: #fff;
  78. outline: 0;
  79. box-shadow: 0 0 40px 40px #e74c3c inset;
  80. }
  81. input {
  82. width: 40px;
  83. height: 35px;
  84. text-align: center;
  85. border: 2px solid #e74c3c;
  86. border-radius: 0.6em;
  87. }