style.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. section.latest-list-layout {
  2. border-top: 1px solid #eaeaea;
  3. margin: 0.75rem 0;
  4. article:nth-of-type(1) {
  5. background-color: #f9fafb;
  6. border-bottom: 1px solid #eaeaea;
  7. padding: 0.5rem 0;
  8. ul {
  9. display: grid;
  10. grid-template-columns:
  11. clamp(50px, 5%, 80px)
  12. clamp(80px, 10%, 120px)
  13. 1fr
  14. clamp(100px, 14%, 190px)
  15. clamp(80px, 10%, 100px)
  16. clamp(50px, 9%, 100px)
  17. clamp(50px, 9%, 100px);
  18. column-gap: 0.75rem;
  19. li {
  20. text-align: center;
  21. &:nth-child(2),
  22. &:nth-child(3),
  23. &:nth-child(4) {
  24. text-align: left;
  25. }
  26. }
  27. }
  28. @media (max-width: 1024px) {
  29. display: none;
  30. }
  31. }
  32. article:nth-of-type(2) {
  33. box-sizing: border-box;
  34. section {
  35. padding: 0.5rem 0;
  36. box-sizing: inherit;
  37. border-bottom: 1px solid #eaeaea;
  38. &.active,
  39. &:hover {
  40. background-color: #faffd1;
  41. }
  42. .prefix {
  43. color: #333;
  44. padding-right: 0.5rem;
  45. }
  46. .board-name {
  47. color: #666;
  48. font-size: 0.813rem;
  49. padding-right: 0.5rem;
  50. }
  51. a {
  52. color: #0060a9;
  53. text-decoration: none;
  54. &:hover {
  55. text-decoration: underline;
  56. color: #c7511f;
  57. }
  58. > em {
  59. display: inherit;
  60. font-style: normal;
  61. > span {
  62. color: #d13232;
  63. font-size: 0.813rem;
  64. vertical-align: text-top;
  65. padding-right: 4px;
  66. }
  67. }
  68. > svg {
  69. padding-right: 4px;
  70. color: #9c9898;
  71. }
  72. > span {
  73. display: inline-block;
  74. vertical-align: middle;
  75. }
  76. }
  77. // PC
  78. ol {
  79. display: grid;
  80. grid-template-columns:
  81. clamp(50px, 5%, 80px)
  82. clamp(80px, 10%, 120px)
  83. 1fr
  84. clamp(100px, 14%, 190px)
  85. clamp(80px, 10%, 100px)
  86. clamp(50px, 9%, 100px)
  87. clamp(50px, 9%, 100px);
  88. column-gap: 0.75rem;
  89. align-items: center;
  90. li {
  91. text-align: center;
  92. &:nth-child(2) {
  93. text-align: left;
  94. color: #666;
  95. font-size: 0.875rem;
  96. }
  97. &:nth-child(3) {
  98. min-width: 0;
  99. text-align: left;
  100. word-break: keep-all;
  101. overflow-wrap: break-word;
  102. text-overflow: ellipsis;
  103. }
  104. &:nth-child(4) {
  105. text-align: left;
  106. }
  107. }
  108. }
  109. // Mobile
  110. dl {
  111. dt {
  112. font-size: 1.063rem;
  113. word-break: keep-all;
  114. overflow-wrap: break-word;
  115. text-overflow: ellipsis;
  116. }
  117. dd {
  118. ul {
  119. display: flex;
  120. flex-direction: row;
  121. flex-wrap: nowrap;
  122. justify-content: start;
  123. padding-top: 0.5rem;
  124. column-gap: 1.063rem;
  125. li {
  126. font-size: 0.875rem;
  127. &:last-child {
  128. flex-grow: 1;
  129. text-align: right;
  130. }
  131. }
  132. }
  133. }
  134. }
  135. @media (max-width: 1024px) {
  136. ol {
  137. display: none;
  138. }
  139. dl {
  140. display: block;
  141. }
  142. }
  143. }
  144. }
  145. }