subject.component.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. align-items: center;
  5. justify-content: center;
  6. padding: 24px;
  7. }
  8. .card {
  9. width: 100%;
  10. background-color: #f2f2f2;
  11. border-radius: 8px;
  12. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  13. margin-top: 0;
  14. max-width: 28rem;
  15. padding: 0;
  16. }
  17. .flex-container {
  18. display: flex;
  19. flex-direction: column;
  20. align-items: center;
  21. justify-content: center;
  22. padding: 2rem;
  23. }
  24. .form {
  25. display: flex;
  26. flex-direction: column;
  27. align-items: center;
  28. gap: 1rem;
  29. padding: 1.25rem;
  30. }
  31. .label {
  32. margin-bottom: 0.5rem;
  33. font-size: 0.875rem;
  34. font-weight: 500;
  35. color: #111827;
  36. }
  37. .input {
  38. background-color: #f9f9f9;
  39. border: 1px solid #d1d5db;
  40. color: #111827;
  41. font-size: 0.875rem;
  42. border-radius: 0.375rem;
  43. padding: 0.625rem;
  44. outline: none;
  45. }
  46. .error {
  47. margin-top: 0.5rem;
  48. font-size: 0.875rem;
  49. font-weight: 300;
  50. color: #9CA3AF;
  51. }
  52. .button {
  53. width: 100%;
  54. color: #fff;
  55. font-weight: 500;
  56. border-radius: 0.625rem;
  57. font-size: 0.875rem;
  58. padding: 0.625rem 1.25rem;
  59. text-align: center;
  60. background-color: #111827;
  61. margin-top: 0.625rem;
  62. margin-bottom: 0;
  63. outline: none;
  64. cursor: pointer;
  65. }
  66. .error-message {
  67. margin-top: 0.5rem;
  68. font-size: 0.875rem;
  69. font-weight: 300;
  70. color: #9CA3AF;
  71. }
  72. .subjects-container {
  73. padding: 24px 6px;
  74. }
  75. .heading {
  76. font-size: 1.875rem;
  77. font-weight: 600;
  78. color: #111827;
  79. text-transform: uppercase;
  80. margin-bottom: 1.25rem;
  81. }
  82. .empty-subjects {
  83. font-size: 1.125rem;
  84. font-weight: 600;
  85. color: #111827;
  86. text-transform: uppercase;
  87. margin-bottom: 1.25rem;
  88. }
  89. .subjects-list {
  90. display: grid;
  91. grid-template-columns: repeat(4, minmax(0, 1fr));
  92. gap: 0.75rem;
  93. }
  94. .subject-item {
  95. list-style: none;
  96. }
  97. .subject-link {
  98. display: flex;
  99. align-items: center;
  100. justify-content: center;
  101. width: 100%;
  102. height: 100%;
  103. }
  104. .subject-name {
  105. background-color: #f2f2f2;
  106. font-size: 1.5rem;
  107. padding: 0.75rem 1rem;
  108. font-weight: 600;
  109. border-radius: 0.375rem;
  110. width: 100%;
  111. height: 100%;
  112. display: flex;
  113. align-items: center;
  114. justify-content: center;
  115. }