diff options
| author | Kumar Priyansh <[email protected]> | 2020-08-31 00:46:59 +0530 |
|---|---|---|
| committer | Kumar Priyansh <[email protected]> | 2020-08-31 00:46:59 +0530 |
| commit | 2f4741f0170eacc4048fcaf0f4c7ff7951a799ab (patch) | |
| tree | 92616011c9aba76a5c5bc4c2133d218ac2443801 /app | |
| parent | 268ea465afcb7c2244bd1dc004cf458e0669ffdc (diff) | |
| download | dictionary-2f4741f0170eacc4048fcaf0f4c7ff7951a799ab.tar.xz dictionary-2f4741f0170eacc4048fcaf0f4c7ff7951a799ab.zip | |
Improved styling
Diffstat (limited to 'app')
| -rw-r--r-- | app/css/style.css | 11 | ||||
| -rw-r--r-- | app/index.html | 1 |
2 files changed, 9 insertions, 3 deletions
diff --git a/app/css/style.css b/app/css/style.css index d9ff071..29ad841 100644 --- a/app/css/style.css +++ b/app/css/style.css @@ -18,10 +18,8 @@ body { } .search_box { - position: absolute; - top: 30%; - left: 10%; width: 80%; + margin: 10% auto 0px auto; } .search { @@ -36,3 +34,10 @@ body { .search::placeholder { color: #c9c9c9; } + +.small { + font-size: 0.75rem; + color: #bdbdbd; + text-transform: uppercase; + padding-left: 5px; +} diff --git a/app/index.html b/app/index.html index 40896a0..9d90dd7 100644 --- a/app/index.html +++ b/app/index.html @@ -11,6 +11,7 @@ <div class="drag_region"></div> <div class="search_box"> <input type="text" class="search" placeholder="Search for words..." id="searchBox"> + <p class="small">press enter to search</p> </div> </div> <script src="scripts/search.js"></script> |
