From 801342e03adbaee60f82dfc44ebb9680d68e00f9 Mon Sep 17 00:00:00 2001
From: Yukari Hafner
Date: Thu, 29 Aug 2024 18:18:13 +0200
Subject: [PATCH] Add compose box to index.
---
index.css | 21 ++++++++++++++++++---
index.ctml | 39 ++++++++++++++++++++++++---------------
2 files changed, 42 insertions(+), 18 deletions(-)
diff --git a/index.css b/index.css
index 4d5c662..702f746 100644
--- a/index.css
+++ b/index.css
@@ -77,9 +77,9 @@ a.button:hover {
}
main {
background: #EEEEEE;
- padding: 4em 0;
+ padding: 2em 0;
}
-.search {
+input.search {
box-sizing: border-box;
font-size: 1.5em;
width: 20em;
@@ -89,6 +89,21 @@ main {
border: 1px solid #CCCCCC;
border-radius: 0.2em;
}
+input.compose {
+ box-sizing: border-box;
+ font-family: promptfont;
+ font-size: 1.5em;
+ width: 100%;
+ display: block;
+ margin: 0 auto 1em auto;
+ padding: 0.2em 0.5em;
+ background: rgba(0,0,0,0.1);
+ border: none;
+ text-align: center;
+}
+input.compose:focus {
+ outline: none;
+}
.glyphsection {
display: flex;
flex-wrap: wrap;
@@ -179,7 +194,7 @@ img{
background: #303030;
color: #EFEFEF;
}
-#popup .copy:hover{
+#popup .copy:hover, #popup .compose:hover{
color: orange;
cursor: pointer;
}
diff --git a/index.ctml b/index.ctml
index 7141264..8cce342 100644
--- a/index.ctml
+++ b/index.ctml
@@ -30,6 +30,7 @@
+