style.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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: 660px) {
  76. #registForm {
  77. fieldset {
  78. form {
  79. section {
  80. &:nth-of-type(2n+1) {
  81. flex-basis: 100%;
  82. }
  83. &:nth-of-type(2n) {
  84. flex-basis: 100%;
  85. }
  86. }
  87. }
  88. }
  89. }
  90. }