Skip to content

Commit

Permalink
chore: add explanation text & styling, move to website folder (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksym-arutyunyan authored Sep 14, 2024
1 parent c93f4d9 commit 8a6ffef
Show file tree
Hide file tree
Showing 8 changed files with 268 additions and 144 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
npm-debug.log
.DS_Store
.git
coverage
.env
95 changes: 0 additions & 95 deletions css/style.css

This file was deleted.

9 changes: 0 additions & 9 deletions docker-compose.yml

This file was deleted.

40 changes: 0 additions & 40 deletions index.html

This file was deleted.

182 changes: 182 additions & 0 deletions website/css/style.css
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);
}
Loading

0 comments on commit 8a6ffef

Please sign in to comment.