|  | 
|  | 1 | +:root .project4 { | 
|  | 2 | +  --bg-color: linear-gradient(to top, #a8edea 0%, #fed6e3 100%); | 
|  | 3 | +  --base-font-family: 'Noto Sans KR', sans-serif; | 
|  | 4 | +  --border-radius: 0.4rem; | 
|  | 5 | +  --box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.4); | 
|  | 6 | +  --base-margin: 1.3rem; | 
|  | 7 | +  --base-padding: 1.6rem; | 
|  | 8 | +  --base-button-padding: 0.5rem; | 
|  | 9 | +  --base-button-border: 1px solid gray; | 
|  | 10 | +  --base-button-color: #d4e1e6; | 
|  | 11 | +  --base-button-hover-color: #f4d9e4; | 
|  | 12 | +  --base-line-height: 1.6rem; | 
|  | 13 | +} | 
|  | 14 | + | 
|  | 15 | +.wrap { | 
|  | 16 | +  width: 100vw; | 
|  | 17 | +  height: 100vh; | 
|  | 18 | +} | 
|  | 19 | + | 
|  | 20 | +.page { | 
|  | 21 | +  width: 100%; | 
|  | 22 | +  height: 100%; | 
|  | 23 | +  display: flex; | 
|  | 24 | +  justify-content: center; | 
|  | 25 | +  align-items: center; | 
|  | 26 | +} | 
|  | 27 | + | 
|  | 28 | +.project4.page { | 
|  | 29 | +  background-image: var(--bg-color); | 
|  | 30 | +  padding: 1.6rem; | 
|  | 31 | +  box-sizing: border-box; | 
|  | 32 | +  flex-direction: row; | 
|  | 33 | +  font-weight: bold; | 
|  | 34 | +} | 
|  | 35 | + | 
|  | 36 | +.project4 .messageBox { | 
|  | 37 | +  font-family: var(--base-font-family); | 
|  | 38 | +  padding: 0 var(--base-padding); | 
|  | 39 | +  background-color: white; | 
|  | 40 | +  border-radius: var(--border-radius); | 
|  | 41 | +  box-shadow: var(--box-shadow); | 
|  | 42 | +  flex-basis: 500px; | 
|  | 43 | +  box-sizing: border-box; | 
|  | 44 | +} | 
|  | 45 | + | 
|  | 46 | +.project4 .messageBox h2 { | 
|  | 47 | +  font-size: 1.5rem; | 
|  | 48 | +  font-weight: bold; | 
|  | 49 | +  padding: var(--base-padding); | 
|  | 50 | +  text-align: center; | 
|  | 51 | +} | 
|  | 52 | + | 
|  | 53 | +.project4 .messageBox hr { | 
|  | 54 | +  background-color: lightgray; | 
|  | 55 | +  height: 2px; | 
|  | 56 | +  border: 0; | 
|  | 57 | +  margin-top: 0; | 
|  | 58 | +} | 
|  | 59 | + | 
|  | 60 | +.project4 .messageBox label { | 
|  | 61 | +  display: block; | 
|  | 62 | +  font-weight: normal; | 
|  | 63 | +  margin: var(--base-margin) 0; | 
|  | 64 | +} | 
|  | 65 | + | 
|  | 66 | +.project4 .messageBox .inputBox { | 
|  | 67 | +  display: flex; | 
|  | 68 | +} | 
|  | 69 | + | 
|  | 70 | +.project4 .messageBox .inputBox button { | 
|  | 71 | +  padding: var(--base-button-padding); | 
|  | 72 | +  border: var(--base-button-border); | 
|  | 73 | +  border-right-width: 0; | 
|  | 74 | +  border-radius: 0; | 
|  | 75 | +  border-top-left-radius: var(--border-radius); | 
|  | 76 | +} | 
|  | 77 | + | 
|  | 78 | +.project4 .messageBox .inputBox button:hover { | 
|  | 79 | +  background-color: var(--base-button-hover-color); | 
|  | 80 | +} | 
|  | 81 | + | 
|  | 82 | +.project4 .messageBox #messageInput { | 
|  | 83 | +  flex-grow: 1; | 
|  | 84 | +  padding: 0.5rem; | 
|  | 85 | +  font-family: var(--base-font-family); | 
|  | 86 | +  border: 1px solid gray; | 
|  | 87 | +  border-radius: 0; | 
|  | 88 | +  border-top-right-radius: var(--border-radius); | 
|  | 89 | +} | 
|  | 90 | + | 
|  | 91 | +.project4 .messageBox #messageInput:focus { | 
|  | 92 | +  outline: none; | 
|  | 93 | +} | 
|  | 94 | + | 
|  | 95 | +.project4 .messageBox .button__submit { | 
|  | 96 | +  width: 100%; | 
|  | 97 | +  font-family: var(--base-font-family); | 
|  | 98 | +  padding: var(--base-button-padding); | 
|  | 99 | +  border-radius: 0; | 
|  | 100 | +  border-bottom-left-radius: var(--border-radius); | 
|  | 101 | +  border-bottom-right-radius: var(--border-radius); | 
|  | 102 | +  border: var(--base-button-border); | 
|  | 103 | +  border-top-width: 0; | 
|  | 104 | +  background-color: var(--base-button-color); | 
|  | 105 | +} | 
|  | 106 | + | 
|  | 107 | +.project4 .messageBox .button__submit:hover { | 
|  | 108 | +  background-color: var(--base-button-hover-color); | 
|  | 109 | +} | 
|  | 110 | + | 
|  | 111 | +.project4 .messageBox .previewBox { | 
|  | 112 | +  padding: 1.4rem; | 
|  | 113 | +  text-align: center; | 
|  | 114 | +} | 
0 commit comments