Explorar o código

Changed font color and size on list output

allens hai 1 día
pai
achega
4d9561ca4b

+ 2 - 0
.kdev4/Checklist.kdev4

@@ -0,0 +1,2 @@
+[Project]
+VersionControlSupport=kdevgit

+ 4 - 0
Checklist.kdev4

@@ -0,0 +1,4 @@
+[Project]
+CreatedFrom=
+Manager=KDevGenericManager
+Name=Checklist

+ 5 - 0
checklist.egg-info/PKG-INFO

@@ -0,0 +1,5 @@
+Metadata-Version: 2.4
+Name: checklist
+Version: 0.1
+Requires-Dist: flask
+Requires-Dist: gunicorn

+ 7 - 0
checklist.egg-info/SOURCES.txt

@@ -0,0 +1,7 @@
+README.md
+pyproject.toml
+checklist.egg-info/PKG-INFO
+checklist.egg-info/SOURCES.txt
+checklist.egg-info/dependency_links.txt
+checklist.egg-info/requires.txt
+checklist.egg-info/top_level.txt

+ 1 - 0
checklist.egg-info/dependency_links.txt

@@ -0,0 +1 @@
+

+ 2 - 0
checklist.egg-info/requires.txt

@@ -0,0 +1,2 @@
+flask
+gunicorn

+ 1 - 0
checklist.egg-info/top_level.txt

@@ -0,0 +1 @@
+templates

+ 9 - 0
templates/index.html

@@ -4,6 +4,15 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Checklist</title>
+    <style>
+        body {
+            background-color: #1F2933;
+            color: #CBD2D9;
+        }
+        a {
+            color: #E4E7EB;
+        }
+    </style>
     <script>
         // Function to focus on the input field
         function focusInput() {

+ 4 - 3
templates/list.html

@@ -4,19 +4,20 @@
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta http-equiv="refresh" content="10">
     <title>Today's to-do List</title>
     <style>
         body {
             background-color: transparent;
-            color: black;
+            color: #CBD2D9;
         }
     </style>
 </head>
 <body>
-    <h1>Today's to-do List</h1>
+    <h2>Today's to-do List</h2>
     <ul>
         {% for item in items %}
-            <li style="text-decoration: {{ 'line-through' if item.checked else 'none' }};">
+            <li style="text-decoration: {{ 'line-through' if item.checked else 'none' }}; font-weight: bold; font-size: 18px;">
                 {{ item.name }}
             </li>
         {% endfor %}