style.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // FAQ
  2. #faq {
  3. padding: 0 32px 32px 32px;
  4. min-width: 410px;
  5. max-width: 1920px;
  6. margin: 0 auto;
  7. > p {
  8. font-weight: 600;
  9. font-size: 22px;
  10. margin-bottom: 20px;
  11. }
  12. > form {
  13. > dl {
  14. > dt {
  15. display: flex;
  16. flex-direction: row;
  17. flex-wrap: nowrap;
  18. justify-content: flex-start;
  19. align-items: center;
  20. gap: 0.625rem;
  21. > input {
  22. flex-grow: 0.08;
  23. flex-basis: auto;
  24. }
  25. > button {
  26. flex-grow: auto;
  27. }
  28. }
  29. > dd {
  30. margin-top: 14px;
  31. > ul {
  32. display: flex;
  33. flex-direction: row;
  34. flex-wrap: wrap;
  35. column-gap: 14px;
  36. list-style: none;
  37. > li {
  38. font-size: 16px;
  39. > button {
  40. cursor: pointer;
  41. &:hover {
  42. color: #e47911;
  43. background-color: var(--color-primary-100);
  44. text-decoration: underline;
  45. }
  46. }
  47. // 가운데 점 대신 1px짜리 수직선
  48. &::after {
  49. content: '';
  50. display: inline-block;
  51. width: 1px;
  52. height: 14px;
  53. background-color: #858585;
  54. margin-left: 15px;
  55. position: relative;
  56. top: 2px; // 글씨 정렬용 (필요시 조정)
  57. }
  58. // 마지막 li는 점 숨김
  59. &:last-child::after {
  60. display: none;
  61. }
  62. }
  63. }
  64. }
  65. }
  66. }
  67. > #questions {
  68. > div > h3 > button {
  69. &:hover, &:active {
  70. text-decoration: underline;
  71. }
  72. }
  73. }
  74. }