Skip to content

Commit

Permalink
enhance ui for public website
Browse files Browse the repository at this point in the history
  • Loading branch information
n-sikka committed Nov 11, 2018
1 parent 7125cc4 commit 6ec794c
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 5 deletions.
25 changes: 25 additions & 0 deletions public/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,20 @@ section h2 {
line-height: 3.1rem;
}

.title-separator {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
width: 100%;
height: 10px;
}

@media (max-width: 767px) {
.title-separator {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}

#mainNav {
padding-top: 1rem;
padding-bottom: 1rem;
Expand Down Expand Up @@ -352,3 +366,14 @@ a:focus, a:hover, a:active {
background-color: #1a252f;
border-color: #1a252f;
}

.btn-accent {
background-color: #00A34A;
border-color: #00A34A;
color: #fff;
}

.btn-accent:hover, .btn-accent:focus, .btn-accent:active {
background-color: #007033;
border-color: #007033;
}
2 changes: 1 addition & 1 deletion public/css/index.min.css

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

10 changes: 6 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ <h1 class="text-uppercase mb-1 lead">Excalibur</h1>
<h4 class="mb-4 mt-3">PDF Table Extraction for Humans</h4>
<a class="github-button" href="https://github.com/camelot-dev/excalibur" data-size="large" data-show-count="true" aria-label="Star camelot-dev/excalibur on GitHub">Star</a>
</div>
<div class="col-md-4 offset-md-2 offset-sm-0 col-sm-12 col-xs-12">
<h4 class="lead">Tell us what you think about Excalibur. We definitely listen!</h4>
<hr>
<div class="col-md-4 offset-md-2 offset-sm-0 col-sm-12 col-xs-12 mt-4">
<div>
<h4 class="lead">Tell us what you think about Excalibur. We definitely listen!</h4>
<hr>
</div>
<div class="d-flex align-items-center justify-content-center mt-2">
<form action="https://formspree.io/[email protected]" method="POST">
<label class="text-white" for="emailID">Email ID</label>
Expand All @@ -74,7 +76,7 @@ <h4 class="lead">Tell us what you think about Excalibur. We definitely listen!</
<textarea class="form-control form-control-lg mb-3" name="comment" id="comment" cols="30" rows="5" placeholder="Anything you'd like to say?"></textarea>

<div class="text-right">
<button type="submit" value="Send" class="btn btn-lg btn-secondary">Submit</button>
<button type="submit" value="Send" class="btn btn-lg btn-block btn-accent">Submit</button>
</div>
</form>
</div>
Expand Down
12 changes: 12 additions & 0 deletions public/scss/_bootstrap-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,15 @@ a {
border-color: darken($secondary, 10%);
}
}

.btn-accent {
background-color: $accent;
border-color: $accent;
color: #fff;
&:hover,
&:focus,
&:active {
background-color: darken($accent, 10%);
border-color: darken($accent, 10%);
}
}
13 changes: 13 additions & 0 deletions public/scss/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,16 @@ section {
line-height: 3.1rem;
}
}


.title-separator {
transform: rotate(90deg);
width: 100%;
height: 10px;

@media (max-width: 767px) {

transform: rotate(0deg)

}
}

0 comments on commit 6ec794c

Please sign in to comment.