Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a seperate style file #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions static/img/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.error-message {
color: red;
}
.error input {
box-shadow: 0 0 3px #cc0000;
}
.valid input {
box-shadow: 0 0 3px #36cc00;
}
13 changes: 1 addition & 12 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Iris Flower Classifier</title>

<link rel="stylesheet" href="/static/img/style.css">
<script
src="https://unpkg.com/[email protected]"
integrity="sha384-zUfuhFKKZCbHTY6aRR46gxiqszMk5tcHjsVFxnUo8VMus4kHGVdIYVbOYYNlKmHV"
crossorigin="anonymous"
></script>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<style>
.error-message {
color: red;
}
.error input {
box-shadow: 0 0 3px #cc0000;
}
.valid input {
box-shadow: 0 0 3px #36cc00;
}
</style>
<body class="bg-blue-500">
<div class="flex items-center min-h-screen">
<div class="w-11/12 md:w-full md:max-w-md mx-auto p-4 bg-white rounded-lg shadow-md">
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1