Skip to content

Commit 8f5411c

Browse files
committed
검색 아이콘 위치 왼쪽으로 변경
1 parent 288f499 commit 8f5411c

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

_includes/sidebar-nav.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<a href="{{ site.baseurl }}/" class="textLogo textLogo--white textLogo--sidebar">{{ site.name }}</a>
33
<!--Search function-->
44
<form action="/search">
5-
<div class="tipue_search_left">
6-
<input type="text" name="q" id="tipue_search_input" pattern=".{1,}" title="At least 1 characters" required>
7-
</div>
5+
<div class="tipue_search_left">
6+
<img src="/assets/tipuesearch/search.png" class="tipue_search_icon">
7+
</div>
88
<div class="tipue_search_right">
9-
<img src="/assets/tipuesearch/search.png" class="tipue_search_icon">
9+
<input type="text" name="q" id="tipue_search_input" pattern=".{1,}" title="At least 1 characters" required>
1010
</div>
1111
<div style="clear: both;"></div>
1212
</form>

assets/tipuesearch/css/tipuesearch.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ http://www.tipue.com/search
5050
}
5151
**/
5252
{
53-
color: #333;
54-
max-width: 180px;
55-
max-height: 20px;
53+
color: #333;
54+
max-width: 180px;
55+
max-height: 20px;
5656
padding: 18px;
5757
border: 2px solid #626591;
5858
border-radius: 0;
@@ -84,14 +84,15 @@ http://www.tipue.com/search
8484
.tipue_search_left
8585
{
8686
float: left;
87-
padding: 20px 5px 0 0;
87+
/*padding: 20px 5px 0 0;*/
88+
/*padding: 0 0 0 0;*/
8889
color: #e3e3e3;
8990
max-height: 20px;
9091
}
9192
.tipue_search_right
9293
{
9394
float: left;
94-
padding: 10px 5px 0 0;
95+
padding: 10px 0 0 0;
9596
}
9697

9798
/* search results */

0 commit comments

Comments
 (0)