aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/css/style.css33
-rw-r--r--app/index.html7
2 files changed, 39 insertions, 1 deletions
diff --git a/app/css/style.css b/app/css/style.css
new file mode 100644
index 0000000..a77cec5
--- /dev/null
+++ b/app/css/style.css
@@ -0,0 +1,33 @@
+body {
+ margin: 0;
+ padding: 0;
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+}
+
+.dict_ui {
+ background-color: #204186;
+ width: 100%;
+ height: 100vh;
+ min-height: 100vh;
+ max-height: 100vh;
+}
+
+.search_box {
+ position: absolute;
+ top: 40%;
+ left: 10%;
+ width: 80%;
+}
+
+.search {
+ background: transparent;
+ font-size: 24px;
+ border: none;
+ color: #ffffff;
+ outline: none;
+ width: 100%;
+}
+
+.search::placeholder {
+ color: #c9c9c9;
+}
diff --git a/app/index.html b/app/index.html
index 5fcd6ec..e6a421d 100644
--- a/app/index.html
+++ b/app/index.html
@@ -4,8 +4,13 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dictionary</title>
+ <link rel="stylesheet" href="css/style.css">
</head>
<body>
- Renderer
+ <div class="dict_ui">
+ <div class="search_box">
+ <input type="text" class="search" placeholder="Search for words...">
+ </div>
+ </div>
</body>
</html> \ No newline at end of file