style.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. #registForm {
  2. width: 100%;
  3. fieldset {
  4. position: relative;
  5. border: 1px solid #cecece;
  6. border-radius: 3px;
  7. padding: 20px 26px;
  8. align-content: center;
  9. max-width: 800px;
  10. margin: 0 auto;
  11. > legend {
  12. position: absolute;
  13. top: -0.625rem;
  14. left: 1.25rem;
  15. padding: 0 5px;
  16. background: white;
  17. font-size: 1rem;
  18. font-weight: bold;
  19. }
  20. // 좌측 안내문구
  21. dl {
  22. dt {
  23. font-weight: bold;
  24. padding-bottom: 5px;
  25. }
  26. dd {
  27. font-size: 0.938rem;
  28. }
  29. }
  30. // 회원가입 창
  31. form {
  32. label {
  33. cursor: pointer;
  34. margin-bottom: 7px;
  35. }
  36. input[type="email"],
  37. input[type="password"] {
  38. margin-bottom: 15px;
  39. }
  40. input[type="password"] {
  41. letter-spacing: 1px;
  42. &:last-child {
  43. margin-bottom: 0;
  44. }
  45. }
  46. p {
  47. padding-bottom: 5px;
  48. }
  49. section {
  50. &:nth-of-type(2n+1) {
  51. flex-basis: 57%;
  52. }
  53. &:nth-of-type(2n) {
  54. flex-basis: 43%;
  55. label {
  56. small {
  57. padding-right: 5px;
  58. }
  59. button {
  60. color: #0060a9;
  61. &:hover {
  62. text-decoration: underline;
  63. color: #c7511f;
  64. }
  65. }
  66. }
  67. }
  68. }
  69. }
  70. hr {
  71. margin: 20px 0;
  72. }
  73. }
  74. }
  75. @media (max-width: 420px) {
  76. #registForm {
  77. fieldset {
  78. padding: 1rem 0 0 0;
  79. border: none;
  80. > legend {
  81. position: initial;
  82. padding: initial;
  83. font-size: 1rem;
  84. font-weight: bold;
  85. }
  86. > form {
  87. padding: 0;
  88. }
  89. }
  90. }
  91. }
  92. @media (max-width: 660px) {
  93. #registForm {
  94. fieldset {
  95. form {
  96. section {
  97. &:nth-of-type(2n+1) {
  98. flex-basis: 100%;
  99. }
  100. &:nth-of-type(2n) {
  101. flex-basis: 100%;
  102. }
  103. }
  104. }
  105. }
  106. }
  107. }