diff --git a/.gitignore b/.gitignore index a56a7ef..c3beaed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ node_modules +yarn.lock +yarn-error.log + diff --git a/assets/search.png b/assets/search.png new file mode 100644 index 0000000..b794dd5 Binary files /dev/null and b/assets/search.png differ diff --git a/index.html b/index.html index 76d2285..3981641 100644 --- a/index.html +++ b/index.html @@ -28,6 +28,35 @@ padding: 10px 20px; } + /* 搜索框位置 */ + #search { + position: absolute; + right: 100px; + top: 20px; + } + + .serachbar {background: #F9F0DA;} + .serachbar input { + border: 2px solid #c5464a; + border-radius: 5px; + background: transparent; + top: 0; + right: 0; + font-size: 16px; + } + .serachbar button { + background: #c5464a; + border-radius: 0 5px 5px 0; + width: 60px; + top: 0; + right: 0; + } + .serachbar button:before { + content: "搜索"; + font-size: 16px; + color: #F9F0DA; + } + #info { position: absolute; right: 10px; @@ -91,6 +120,15 @@