Joung Jiwon

css 2차수정

...@@ -276,7 +276,7 @@ select::-ms-expand { ...@@ -276,7 +276,7 @@ select::-ms-expand {
276 276
277 /*style the items (options), including the selected item:*/ 277 /*style the items (options), including the selected item:*/
278 .select-items div,.select-selected { 278 .select-items div,.select-selected {
279 - color: #333; font-size:15px; 279 + color: #333; font-size:20px;
280 text-align: center; 280 text-align: center;
281 border: 1px solid transparent; 281 border: 1px solid transparent;
282 border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent; 282 border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
...@@ -327,34 +327,43 @@ select::-ms-expand { ...@@ -327,34 +327,43 @@ select::-ms-expand {
327 #contact { 327 #contact {
328 background-color: grey; 328 background-color: grey;
329 color: white; 329 color: white;
330 - background-image: url(../img/the-town-bg-02.jpg);
331 background-position: center; 330 background-position: center;
332 background-repeat: no-repeat; 331 background-repeat: no-repeat;
333 - min-height: 1500px; 332 + min-height: 750px;
334 position: relative; 333 position: relative;
335 padding-bottom: 50px; 334 padding-bottom: 50px;
336 padding-top: 160px; 335 padding-top: 160px;
337 } 336 }
338 337
339 -.question-field{ 338 +.grid-container {
340 - display: flex; 339 + display: grid;
341 - justify-content: center; 340 + grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
342 - width:100%; 341 + grid-template-rows: 1fr 1fr 1fr;
343 - height:50px; 342 + gap: 50px 50px;
343 + grid-template-areas:
344 + "question-home question-home question-home input-home input-home"
345 + "question-school question-school question-school input-school input-school"
346 + "question-grade question-grade question-grade input-grade input-grade";
344 } 347 }
345 -.question-text{ 348 +
346 - width:25%; 349 +.input-home { grid-area: input-home; }
347 - box-sizing: border-box; 350 +
348 - float:left; 351 +.question-grade { grid-area: question-grade; }
349 - text-align:left; 352 +
350 - padding-right:10px; 353 +.input-school { grid-area: input-school; }
351 - font-size:20px; 354 +
352 -} 355 +.question-home { grid-area: question-home; }
353 -.question-input{ 356 +
354 - width:25%; 357 +.question-school { grid-area: question-school; }
355 - box-sizing:border-box; 358 +
356 - float:right; 359 +.input-grade { grid-area: input-grade; }
360 +
361 +.question-field{
362 + font-size: 35px;
363 + text-shadow: 2px 2px 2px #333;
357 } 364 }
365 +
366 +
358 #semester{ 367 #semester{
359 width: 200px; 368 width: 200px;
360 padding: .2em .5em; 369 padding: .2em .5em;
...@@ -375,15 +384,6 @@ select::-ms-expand { ...@@ -375,15 +384,6 @@ select::-ms-expand {
375 input{ 384 input{
376 border-radius:5px; 385 border-radius:5px;
377 } 386 }
378 -.button_calculate{
379 - width:15%;
380 - position:relative;
381 - left:44%;
382 - margin-top:40px;
383 - border:none;
384 - border-radius:5px;
385 - color : -internal-light-dark(black, white);
386 -}
387 387
388 #map-answer{ 388 #map-answer{
389 display:flex; 389 display:flex;
...@@ -484,9 +484,22 @@ iframe{ ...@@ -484,9 +484,22 @@ iframe{
484 right:10%; 484 right:10%;
485 } 485 }
486 486
487 +/*result*/
488 +#result{
489 + margin-top : 200px;
490 + background-color: grey;
491 + color: white;
492 + background-position: center;
493 + background-repeat: no-repeat;
494 + min-height: 750px;
495 + position: relative;
496 + padding-bottom: 50px;
497 + padding-top: 160px;
498 +}
499 +
487 500
488 .tm-footer { 501 .tm-footer {
489 - position: absolute; 502 + position: relative;
490 bottom: 35px; 503 bottom: 35px;
491 left: 0; 504 left: 0;
492 right: 0; 505 right: 0;
...@@ -528,7 +541,7 @@ p { ...@@ -528,7 +541,7 @@ p {
528 } 541 }
529 542
530 .tm-container-contact { 543 .tm-container-contact {
531 - max-width: 1063px; 544 + max-width: 900px;
532 } 545 }
533 } 546 }
534 547
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
66 </div> 66 </div>
67 67
68 <div class="tm-next tm-intro-next"> 68 <div class="tm-next tm-intro-next">
69 - <a href="#introduction" class="text-center tm-down-arrow-link"> 69 + <a href="#contact" class="text-center tm-down-arrow-link">
70 <i class="fas fa-3x fa-caret-down tm-down-arrow">계산해보기</i> 70 <i class="fas fa-3x fa-caret-down tm-down-arrow">계산해보기</i>
71 </a> 71 </a>
72 </div> 72 </div>
...@@ -77,50 +77,43 @@ ...@@ -77,50 +77,43 @@
77 <!-- Contact --> 77 <!-- Contact -->
78 <section id="contact" class="tm-section-pad-top tm-parallax-2"> 78 <section id="contact" class="tm-section-pad-top tm-parallax-2">
79 <div class="container tm-container-contact"> 79 <div class="container tm-container-contact">
80 - <div class="row"> 80 + <div class="grid-container">
81 - <div class="container question-field"> 81 + <div class="question-field question-home">어디에 사나요?</div>
82 - <div class="question-text">어디에 사나요?</div> 82 + <div class="input-field input-home">
83 - <div class="question-input"> 83 + <label for="question-input-field"></label>
84 - <label for="question-input-field"></label> 84 + <input type ="text" id="start"></div>
85 - <input type ="text" id="start"> 85 + <div class="question-field question-school">무슨 학교에 다니나요?</div>
86 - </div> 86 + <div class="input-school">
87 - </div> 87 + <label for="question-input-field"></label>
88 - <div class="container question-field"> 88 + <input type ="text" id="end">
89 - <div class="question-text">무슨 학교에 다니나요?</div>
90 - <div class="question-input">
91 - <label for="question-input-field"></label>
92 - <input type ="text" id="end">
93 - </div>
94 - </div>
95 - <div class="container question-field">
96 - <div class="question-text">몇 학년인가요?</div>
97 - <div class="custom-select" style="width:208px; margin-right:42px">
98 - <select>
99 - <option value="0">1학년 1학기</option>
100 - <option value="sem-1-1">1학년 1학기</option>
101 - <option value="sem-1-2">1학년 2학기</option>
102 - <option value="sem-2-1">2학년 1학기</option>
103 - <option value="sem-2-2">2학년 2학기</option>
104 - <option value="sem-3-1">3학년 1학기</option>
105 - <option value="sem-3-2">3학년 2학기</option>
106 - <option value="sem-4-1">4학년 1학기</option>
107 - <option value="sem-4-2">4학년 2학기</option>
108 - </select>
109 - </div>
110 - </div>
111 - <div class="container button-field">
112 - <button class="button_calculate" type="button" onclick="semester();return false;">계산하기
113 - </button>
114 - </div>
115 - </div>
116 -<br>
117 -
118 -<div id="map" style="width:700px;height:700px;"></div>
119 - <div class="answer-field">
120 - 한번 갈 때마다 ...<br>
121 - <span class="answer-highlight">n</span> 시간 <span class="answer-highlight">n</span><br>
122 - <span class="answer-highlight">n</span><br>
123 </div> 89 </div>
90 + <div class="question-field question-grade">몇학년인가요?</div>
91 + <div class="input-grade"><div class="custom-select" style="width:208px; margin-right:40px">
92 + <select>
93 + <option value="0">1학년 1학기</option>
94 + <option value="sem-1-1">1학년 1학기</option>
95 + <option value="sem-1-2">1학년 2학기</option>
96 + <option value="sem-2-1">2학년 1학기</option>
97 + <option value="sem-2-2">2학년 2학기</option>
98 + <option value="sem-3-1">3학년 1학기</option>
99 + <option value="sem-3-2">3학년 2학기</option>
100 + <option value="sem-4-1">4학년 1학기</option>
101 + <option value="sem-4-2">4학년 2학기</option>
102 + </select>
103 + </div></div>
104 + </div>
105 + <a href="#result" class="text-center tm-down-arrow-link">
106 + <i class="fas fa-3x fa-caret-down tm-down-arrow">계산해보기</i>
107 + </a>
108 + </div>
109 + </section>
110 +
111 +
112 + <section id="result">
113 + <div id="map" style="width:700px;height:300px;"></div>
114 + <div class="answer-field">한번 갈 때마다 ...<br>
115 + <span class="answer-highlight">n</span> 시간
116 + <span class="answer-highlight">n</span><br>
124 </div> 117 </div>
125 <div class="row"> 118 <div class="row">
126 <div id="list-answer"> 119 <div id="list-answer">
...@@ -144,15 +137,15 @@ ...@@ -144,15 +137,15 @@
144 <span id = "earth">?</span>바퀴나 돌아요<br><br><br> 137 <span id = "earth">?</span>바퀴나 돌아요<br><br><br>
145 </div> 138 </div>
146 </div> 139 </div>
147 - </div> 140 + <footer class="text-center small tm-footer">
148 - <footer class="text-center small tm-footer"> 141 + <p class="mb-0">
149 - <p class="mb-0"> 142 + Copyright &copy; 2020 TongGilMut
150 - Copyright &copy; 2020 TongGilMut 143 +
144 + - Design: <a rel="nofollow" href="https://github.com/wjdwl001" class="tm-footer-link">Joung Jiwon</a>
145 + </p>
146 + </footer>
147 + </section>
151 148
152 - - Design: <a rel="nofollow" href="https://github.com/wjdwl001" class="tm-footer-link">Joung Jiwon</a>
153 - </p>
154 - </footer>
155 - </section>
156 149
157 150
158 <script src="js/jquery-1.9.1.min.js"></script> 151 <script src="js/jquery-1.9.1.min.js"></script>
......