style.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #forgotPasswordForm {
  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: 460px;
  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. form {
  22. // 상단 안내문구
  23. p {
  24. font-size: 0.938rem;
  25. }
  26. label {
  27. cursor: pointer;
  28. margin-bottom: 7px;
  29. }
  30. hr {
  31. margin: 20px 0;
  32. }
  33. button {
  34. margin-top: 10px;
  35. }
  36. a {
  37. display: block;
  38. color: #0060a9;
  39. text-decoration: none;
  40. text-align: center;
  41. &:hover {
  42. text-decoration: underline;
  43. color: #c7511f;
  44. }
  45. }
  46. }
  47. @media (max-width: 420px) {
  48. & {
  49. padding: 1rem 0 0 0;
  50. border: none;
  51. > legend {
  52. position: initial;
  53. padding: initial;
  54. font-size: 1rem;
  55. font-weight: bold;
  56. }
  57. > form {
  58. padding: 0;
  59. }
  60. }
  61. }
  62. }
  63. }