summaryrefslogtreecommitdiff
path: root/graphs/js/todoList/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'graphs/js/todoList/style.css')
-rw-r--r--graphs/js/todoList/style.css64
1 files changed, 64 insertions, 0 deletions
diff --git a/graphs/js/todoList/style.css b/graphs/js/todoList/style.css
new file mode 100644
index 0000000..ebdd8d7
--- /dev/null
+++ b/graphs/js/todoList/style.css
@@ -0,0 +1,64 @@
+body {
+ background-color: #f2f2f2;
+ font-family: Arial, sans-serif;
+}
+
+h1 {
+ text-align: center;
+ margin-top: 20px;
+}
+
+div {
+ display: flex;
+ justify-content: center;
+ width: 70%;
+ margin-right: auto;
+ margin-left: auto;
+}
+
+input[type="text"] {
+ padding: 10px;
+ border: none;
+ border-radius: 5px;
+ margin-right: 10px;
+ width: 70%;
+}
+
+#todoList {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ margin-top: 30px;
+ list-style-type: decimal;
+}
+
+.todoItem {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 10px;
+ margin-bottom: 10px;
+ width: 80%;
+ background-color: #fff;
+ border-radius: 5px;
+ box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
+}
+
+.todoText {
+ flex-grow: 1;
+ margin-right: 10px;
+ padding-left: 10px;
+}
+
+button {
+ padding: 5px 10px;
+ background-color: #f44336;
+ color: white;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+}
+
+button:hover {
+ background-color: #e53935;
+}