-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add explanation text & styling, move to website folder (#3)
- Loading branch information
1 parent
c93f4d9
commit 8a6ffef
Showing
8 changed files
with
268 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules | ||
npm-debug.log | ||
.DS_Store | ||
.git | ||
coverage | ||
.env |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
* { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
font-family: 'Arial', sans-serif; | ||
background-color: #f4f4f9; | ||
color: #333; | ||
line-height: 1.6; | ||
padding: 20px; | ||
} | ||
|
||
.container { | ||
max-width: 800px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
background-color: #fff; | ||
border-radius: 10px; | ||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
/* Header Styling */ | ||
header { | ||
margin-bottom: 20px; | ||
text-align: center; | ||
} | ||
|
||
h1 { | ||
color: #444; | ||
font-size: 2em; | ||
font-weight: 700; | ||
margin-bottom: 10px; | ||
} | ||
|
||
h4 { | ||
font-size: 1.3em; | ||
color: #007bff; /* Consistent color for sub-headings */ | ||
margin-bottom: 8px; | ||
} | ||
|
||
p { | ||
margin-bottom: 15px; | ||
color: #555; | ||
} | ||
|
||
/* Consistent styling for sections before the tool */ | ||
section { | ||
margin-bottom: 20px; | ||
} | ||
|
||
h5 { | ||
font-size: 1.2em; | ||
color: #007bff; /* Same color for headings */ | ||
margin-bottom: 8px; | ||
} | ||
|
||
ul { | ||
margin-left: 20px; /* Adjust indentation for consistency */ | ||
margin-bottom: 15px; | ||
} | ||
|
||
li { | ||
margin-bottom: 8px; | ||
color: #555; | ||
} | ||
|
||
a { | ||
color: #0056b3; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
/* Code formatting for inline and block code */ | ||
code, | ||
.inline-code { | ||
background-color: #f9f9f9; | ||
padding: 0.1em 0.3em; | ||
border-radius: 3px; | ||
font-family: "Consolas", "Monaco", "Andale Mono", "Ubuntu Mono", monospace; | ||
font-size: 0.95em; | ||
} | ||
|
||
.inline-code { | ||
display: inline; | ||
padding: 0; | ||
/* Keep it small and inline */ | ||
} | ||
|
||
/* Form fields styling */ | ||
select, | ||
textarea { | ||
width: 100%; | ||
padding: 12px; | ||
border: 1px solid #ddd; | ||
border-radius: 6px; | ||
font-size: 16px; | ||
margin-bottom: 20px; | ||
transition: all 0.3s ease; | ||
background-color: #f9f9f9; | ||
} | ||
|
||
textarea, | ||
pre { | ||
width: 100%; | ||
height: 250px; | ||
padding: 12px; | ||
border: 1px solid #ddd; | ||
border-radius: 6px; | ||
font-family: "Consolas", "Monaco", "Andale Mono", "Ubuntu Mono", monospace; | ||
background-color: #f9f9f9; | ||
resize: vertical; | ||
} | ||
|
||
pre { | ||
white-space: pre-wrap; | ||
word-wrap: break-word; | ||
overflow-x: auto; | ||
} | ||
|
||
select:focus, | ||
textarea:focus { | ||
border-color: #007bff; | ||
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); | ||
outline: none; | ||
} | ||
|
||
/* Output group styles */ | ||
.output-group { | ||
position: relative; | ||
margin-top: 20px; | ||
} | ||
|
||
.output-header { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
/* Button Styling */ | ||
button { | ||
background-color: #007bff; | ||
color: white; | ||
border: none; | ||
padding: 12px 25px; | ||
border-radius: 6px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
margin-left: 10px; | ||
transition: background-color 0.3s ease, transform 0.2s ease; | ||
} | ||
|
||
button:hover { | ||
background-color: #0056b3; | ||
transform: translateY(-2px); | ||
} | ||
|
||
#copy-btn.copied { | ||
background-color: #28a745; | ||
} | ||
|
||
/* Footer styling */ | ||
footer { | ||
text-align: center; | ||
margin-top: 40px; | ||
font-size: 0.9em; | ||
color: #666; | ||
} | ||
|
||
code { | ||
display: block; | ||
padding: 0; | ||
} | ||
|
||
button:focus { | ||
outline: none; | ||
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); | ||
} |
Oops, something went wrong.