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

work: added some styling #35

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
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
http-equiv="origin-trial"
content="Anx9P4m5tzLOL/wLICKy/mA+DRyoSsTkyqmnK5t+S7oyw7A2SeBI2jO4LKqoQiQgChP2MTtqMNKofelMwvGtPQsAAABKeyJvcmlnaW4iOiJodHRwczovL2ttZWFucy5vcmc6NDQzIiwiZmVhdHVyZSI6IldlYkdQVSIsImV4cGlyeSI6MTY5MTcxMTk5OX0="
/>
<link rel="stylesheet" type="text/css" href="style/style.css">
<script src="tokenizer.js"></script>
<script src="instructions.js"></script>
<script src="model.js"></script>
Expand Down
67 changes: 67 additions & 0 deletions style/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 0;
}
h1 {
margin-top: 50px;
margin-bottom: 20px;
text-align: center;
}
p {
font-style: italic;
text-align: center;
color: #666;
}
a {
color: #666;
text-decoration: none;
border-bottom: 1px solid #666;
}
button {
background-color: #4CAF50;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-left: 10px;
}
button:hover {
background-color: #3e8e41;
}
label {
display: inline-block;
width: 100px;
text-align: right;
margin-right: 10px;
}
input[type=number] {
width: 60px;
padding: 5px;
margin-right: 10px;
border-radius: 4px;
border: 1px solid #ccc;
}
#generateButton {
margin-top: 20px;
}
textarea {
resize: vertical;
width: 100%;
font-size: 16px;
padding: 10px;
border-radius: 4px;
border: 1px solid #ccc;
}
#prompt {
margin-top: 20px;
height: 250px;
}
footer {
margin-top: 50px;
text-align: center;
color: #999;
font-size: 14px;
}