-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add suggest form, and updated styling for docs
- Loading branch information
Showing
7 changed files
with
524 additions
and
54 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
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
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,149 @@ | ||
:root { | ||
/* Main colors */ | ||
--kw-darker-green: #70CF96; | ||
--kw-dark-blue: #9CDDE3; | ||
--kw-green: #85F5B1; | ||
--kw-main-blue: #2D9CDB; | ||
--kw-light-blue: #A7ECF2; | ||
--kw-eighty-percent: #F2CA4D; | ||
|
||
/* Text and background colors */ | ||
--text-primary: #24292e; | ||
--text-secondary: #586069; | ||
--bg-primary: #f5fbfc; /* Very light blue-green tint */ | ||
--bg-white: #ffffff; | ||
} | ||
|
||
body { | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | ||
line-height: 1.6; | ||
max-width: 800px; | ||
margin: 0 auto; | ||
padding: 2rem; | ||
color: var(--text-primary); | ||
background: var(--bg-primary); | ||
} | ||
|
||
.site-header { | ||
text-align: center; | ||
padding: 2rem 1rem 3rem; | ||
margin: -2rem -2rem 0 -2rem; | ||
} | ||
|
||
.site-title { | ||
margin: 0; | ||
font-size: 2.5rem; | ||
font-weight: 600; | ||
color: var(--text-primary); | ||
} | ||
|
||
.site-description { | ||
margin: 0.5rem 0 0; | ||
color: var(--text-secondary); | ||
font-size: 1.1rem; | ||
} | ||
|
||
.main-nav { | ||
padding: 1rem; | ||
margin: -2rem -2rem 2rem -2rem; | ||
text-align: center; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | ||
} | ||
|
||
.main-nav a { | ||
color: var(--text-primary); | ||
text-decoration: none; | ||
padding: 0.5rem 1rem; | ||
margin: 0 0.5rem; | ||
border-radius: 4px; | ||
transition: all 0.2s; | ||
} | ||
|
||
.main-nav a:hover { | ||
background: var(--kw-light-blue); | ||
color: var(--text-primary); | ||
} | ||
|
||
.main-nav a.active { | ||
background: var(--kw-darker-green); | ||
color: white; | ||
} | ||
|
||
.github-link { | ||
background: var(--text-primary) !important; | ||
color: white !important; | ||
} | ||
|
||
.github-link:hover { | ||
background: var(--kw-main-blue) !important; | ||
} | ||
|
||
/* Form styling */ | ||
.form-section { | ||
background: var(--bg-white); | ||
border-left: 4px solid var(--kw-darker-green); | ||
} | ||
|
||
.submit-button { | ||
background: var(--kw-main-blue); | ||
} | ||
|
||
.submit-button:hover { | ||
background: var(--kw-dark-blue); | ||
} | ||
|
||
/* Search styling */ | ||
.search-box input { | ||
border-color: var(--kw-darker-green); | ||
} | ||
|
||
.search-box input:focus { | ||
box-shadow: 0 0 0 2px var(--kw-light-blue); | ||
} | ||
|
||
/* Links */ | ||
a { | ||
color: var(--kw-main-blue); | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
color: var(--kw-darker-green); | ||
} | ||
|
||
/* Headings */ | ||
h1, h2, h3, h4, h5, h6 { | ||
color: var(--text-primary); | ||
padding-bottom: 0.3em; | ||
} | ||
|
||
/* Code blocks */ | ||
code { | ||
background-color: #f6f8fa; | ||
border: 1px solid var(--kw-light-blue); | ||
} | ||
|
||
/* Footer */ | ||
footer { | ||
margin-top: 2rem; | ||
padding-top: 2rem; | ||
border-top: 3px solid var(--kw-darker-green); | ||
color: var(--text-secondary); | ||
font-size: 0.9rem; | ||
} | ||
|
||
.github-icon { | ||
display: inline-block; | ||
vertical-align: text-bottom; | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
height: auto; | ||
} | ||
|
||
pre code { | ||
display: block; | ||
padding: 1rem; | ||
overflow-x: auto; | ||
} |
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,138 @@ | ||
.suggestion-container { | ||
max-width: 800px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.form-section { | ||
margin-bottom: 30px; | ||
padding: 25px; | ||
background: #f5f5f5; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.05); | ||
box-sizing: border-box; | ||
} | ||
|
||
.form-section h3 { | ||
margin-top: 0; | ||
margin-bottom: 20px; | ||
padding-bottom: 10px; | ||
border-bottom: 2px solid #e0e0e0; | ||
color: #333; | ||
} | ||
|
||
.form-group { | ||
margin-bottom: 20px; | ||
display: grid; | ||
grid-template-columns: minmax(150px, 200px) minmax(200px, 1fr); | ||
gap: 15px; | ||
align-items: center; | ||
box-sizing: border-box; | ||
} | ||
|
||
label { | ||
font-weight: 600; | ||
color: #444; | ||
} | ||
|
||
label[for="sources"] { | ||
align-self: start; | ||
padding-top: 8px; | ||
} | ||
|
||
input[type="text"], | ||
input[type="number"], | ||
select, | ||
textarea { | ||
width: 100%; | ||
max-width: 100%; | ||
padding: 10px; | ||
border: 1px solid #ddd; | ||
border-radius: 4px; | ||
font-size: 16px; | ||
transition: border-color 0.2s, box-shadow 0.2s; | ||
box-sizing: border-box; | ||
} | ||
|
||
input[type="text"]:focus, | ||
input[type="number"]:focus, | ||
select:focus, | ||
textarea:focus { | ||
outline: none; | ||
border-color: #4CAF50; | ||
box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1); | ||
} | ||
|
||
/* Add units after input fields */ | ||
.form-group.with-unit { | ||
position: relative; | ||
} | ||
|
||
.form-group.with-unit input { | ||
padding-right: 45px; | ||
} | ||
|
||
.form-group.with-unit::after { | ||
content: attr(data-unit); | ||
position: absolute; | ||
right: 15px; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
color: #666; | ||
font-size: 14px; | ||
} | ||
|
||
textarea { | ||
height: 100px; | ||
resize: vertical; | ||
font-family: inherit; | ||
} | ||
|
||
.submit-button { | ||
background: #4CAF50; | ||
color: white; | ||
padding: 12px 24px; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
width: 100%; | ||
max-width: 300px; | ||
margin: 20px auto 0; | ||
display: block; | ||
transition: background-color 0.2s; | ||
} | ||
|
||
.submit-button:hover { | ||
background: #45a049; | ||
} | ||
|
||
.error { | ||
color: #ff0000; | ||
font-size: 14px; | ||
margin-top: 5px; | ||
grid-column: 2; | ||
} | ||
|
||
/* Required field indicator */ | ||
label.required::after { | ||
content: " *"; | ||
color: #ff0000; | ||
} | ||
|
||
/* Responsive design */ | ||
@media (max-width: 600px) { | ||
.form-group { | ||
grid-template-columns: 1fr; | ||
gap: 8px; | ||
} | ||
|
||
label { | ||
margin-bottom: 5px; | ||
} | ||
|
||
.error { | ||
grid-column: 1; | ||
} | ||
} |
Oops, something went wrong.