Add landing page for WebGoat
This commit is contained in:
51
docs/scss/_bootstrap-overrides.scss
Normal file
51
docs/scss/_bootstrap-overrides.scss
Normal file
@ -0,0 +1,51 @@
|
||||
// Bootstrap overrides for this template
|
||||
a {
|
||||
color: $primary;
|
||||
&:focus,
|
||||
&:hover,
|
||||
&:active {
|
||||
color: darken($primary, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
border-width: 2px;
|
||||
}
|
||||
|
||||
.bg-primary {
|
||||
background-color: $primary !important;
|
||||
}
|
||||
|
||||
.bg-secondary {
|
||||
background-color: $secondary !important;
|
||||
}
|
||||
|
||||
.text-primary {
|
||||
color: $primary !important;
|
||||
}
|
||||
|
||||
.text-secondary {
|
||||
color: $secondary !important;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: $primary;
|
||||
border-color: $primary;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
background-color: darken($primary, 10%);
|
||||
border-color: darken($primary, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: $secondary;
|
||||
border-color: $secondary;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
background-color: darken($secondary, 10%);
|
||||
border-color: darken($secondary, 10%);
|
||||
}
|
||||
}
|
54
docs/scss/_contact.scss
Normal file
54
docs/scss/_contact.scss
Normal file
@ -0,0 +1,54 @@
|
||||
// Styling for the contact section
|
||||
.floating-label-form-group {
|
||||
position: relative;
|
||||
border-bottom: 1px solid $gray-200;
|
||||
input,
|
||||
textarea {
|
||||
font-size: 1.5em;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
resize: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: none;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
label {
|
||||
font-size: 0.85em;
|
||||
line-height: 1.764705882em;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
top: 2em;
|
||||
display: block;
|
||||
margin: 0;
|
||||
-webkit-transition: top 0.3s ease, opacity 0.3s ease;
|
||||
-moz-transition: top 0.3s ease, opacity 0.3s ease;
|
||||
-ms-transition: top 0.3s ease, opacity 0.3s ease;
|
||||
transition: top 0.3s ease, opacity 0.3s ease;
|
||||
vertical-align: middle;
|
||||
vertical-align: baseline;
|
||||
opacity: 0;
|
||||
}
|
||||
&:not(:first-child) {
|
||||
padding-left: 14px;
|
||||
border-left: 1px solid $gray-200;
|
||||
}
|
||||
}
|
||||
|
||||
.floating-label-form-group-with-value {
|
||||
label {
|
||||
top: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.floating-label-form-group-with-focus {
|
||||
label {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
form .row:first-child .floating-label-form-group {
|
||||
border-top: 1px solid $gray-200;
|
||||
}
|
10
docs/scss/_footer.scss
Normal file
10
docs/scss/_footer.scss
Normal file
@ -0,0 +1,10 @@
|
||||
.footer {
|
||||
padding-top: 5rem;
|
||||
padding-bottom: 5rem;
|
||||
background-color: $secondary;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
background-color: darken($secondary, 10%);
|
||||
}
|
98
docs/scss/_global.scss
Normal file
98
docs/scss/_global.scss
Normal file
@ -0,0 +1,98 @@
|
||||
// Typography
|
||||
body {
|
||||
@include body-font;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
@include heading-font;
|
||||
}
|
||||
|
||||
// Custom Horizontal Rule with Star Icon
|
||||
hr.star-light,
|
||||
hr.star-dark {
|
||||
max-width: 15rem;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
border: none;
|
||||
border-top: solid 0.25rem;
|
||||
margin-top: 2.5rem;
|
||||
margin-bottom: 2.5rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
hr.star-light:after,
|
||||
hr.star-dark:after {
|
||||
position: relative;
|
||||
top: -.8em;
|
||||
display: inline-block;
|
||||
padding: 0 0.25em;
|
||||
content: '\f005';
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-weight: 900;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
hr.star-light {
|
||||
border-color: $white;
|
||||
}
|
||||
hr.star-light:after {
|
||||
color: $white;
|
||||
background-color: $primary;
|
||||
}
|
||||
|
||||
hr.star-dark {
|
||||
border-color: $secondary;
|
||||
}
|
||||
hr.star-dark:after {
|
||||
color: $secondary;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
// Section Padding Settings
|
||||
section {
|
||||
padding: 6rem 0;
|
||||
h2 {
|
||||
font-size: 2.25rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
h2 {
|
||||
font-size: 3rem;
|
||||
line-height: 2.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Custom Button Size
|
||||
.btn-xl {
|
||||
padding: 1rem 1.75rem;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
// Custom Rounded Social Button
|
||||
.btn-social {
|
||||
width: 3.25rem;
|
||||
height: 3.25rem;
|
||||
font-size: 1.25rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
// Scroll to Top Button
|
||||
.scroll-to-top {
|
||||
z-index: 1042;
|
||||
right: 1rem;
|
||||
bottom: 1rem;
|
||||
display: none;
|
||||
a {
|
||||
width: 3.5rem;
|
||||
height: 3.5rem;
|
||||
background-color: fade-out($gray-900, 0.5);
|
||||
line-height: 3.1rem;
|
||||
}
|
||||
}
|
26
docs/scss/_masthead.scss
Normal file
26
docs/scss/_masthead.scss
Normal file
@ -0,0 +1,26 @@
|
||||
header.masthead {
|
||||
padding-top: calc(6rem + 72px);
|
||||
padding-bottom: 6rem;
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
line-height: 3rem;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.3rem;
|
||||
@include body-font;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
header.masthead {
|
||||
padding-top: calc(6rem + 106px);
|
||||
padding-bottom: 6rem;
|
||||
h1 {
|
||||
font-size: 4.75em;
|
||||
line-height: 4rem;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.75em;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
8
docs/scss/_mixins.scss
Normal file
8
docs/scss/_mixins.scss
Normal file
@ -0,0 +1,8 @@
|
||||
@mixin body-font() {
|
||||
font-family: 'Lato';
|
||||
}
|
||||
|
||||
@mixin heading-font() {
|
||||
font-weight: 700;
|
||||
font-family: 'Montserrat';
|
||||
}
|
67
docs/scss/_navbar.scss
Normal file
67
docs/scss/_navbar.scss
Normal file
@ -0,0 +1,67 @@
|
||||
// Styling for the navbar
|
||||
#mainNav {
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
@include heading-font;
|
||||
.navbar-brand {
|
||||
color: $white;
|
||||
}
|
||||
.navbar-nav {
|
||||
margin-top: 1rem;
|
||||
letter-spacing: 0.0625rem;
|
||||
li.nav-item {
|
||||
a.nav-link {
|
||||
color: $white;
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
&:active,
|
||||
&:focus {
|
||||
color: $white;
|
||||
}
|
||||
&.active {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.navbar-toggler {
|
||||
font-size: 80%;
|
||||
padding: 0.8rem;
|
||||
}
|
||||
}
|
||||
@media(min-width:992px) {
|
||||
#mainNav {
|
||||
padding-top: 1.5rem;
|
||||
padding-bottom: 1.5rem;
|
||||
-webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
|
||||
-moz-transition: padding-top 0.3s, padding-bottom 0.3s;
|
||||
transition: padding-top 0.3s, padding-bottom 0.3s;
|
||||
.navbar-brand {
|
||||
font-size: 2em;
|
||||
-webkit-transition: font-size 0.3s;
|
||||
-moz-transition: font-size 0.3s;
|
||||
transition: font-size 0.3s;
|
||||
}
|
||||
.navbar-nav {
|
||||
margin-top: 0;
|
||||
}
|
||||
.navbar-nav > li.nav-item > a.nav-link.active {
|
||||
color: $white;
|
||||
background: $primary;
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: $white;
|
||||
background: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
#mainNav.navbar-shrink {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
.navbar-brand {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
63
docs/scss/_portfolio.scss
Normal file
63
docs/scss/_portfolio.scss
Normal file
@ -0,0 +1,63 @@
|
||||
// Styling for the portfolio section
|
||||
.portfolio {
|
||||
margin-bottom: -15px;
|
||||
.portfolio-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
max-width: 25rem;
|
||||
margin-bottom: 15px;
|
||||
.portfolio-item-caption {
|
||||
-webkit-transition: all ease 0.5s;
|
||||
-moz-transition: all ease 0.5s;
|
||||
transition: all ease 0.5s;
|
||||
opacity: 0;
|
||||
background-color: fade-out($primary, .1);
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.portfolio-item-caption-content {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: 576px) {
|
||||
margin-bottom: -30px;
|
||||
.portfolio-item {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.portfolio-modal {
|
||||
.portfolio-modal-dialog {
|
||||
padding: 3rem 1rem;
|
||||
min-height: calc(100vh - 2rem);
|
||||
margin: 1rem calc(1rem - 8px);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
-moz-box-shadow: 0 0 3rem 1rem fade-out(black, .5);
|
||||
-webkit-box-shadow: 0 0 3rem 1rem fade-out(black, .5);
|
||||
box-shadow: 0 0 3rem 1rem fade-out(black, .5);
|
||||
.close-button {
|
||||
position: absolute;
|
||||
top: 2rem;
|
||||
right: 2rem;
|
||||
i {
|
||||
line-height: 38px;
|
||||
}
|
||||
}
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
@media(min-width: 768px) {
|
||||
.portfolio-modal-dialog {
|
||||
min-height: 100vh;
|
||||
padding: 5rem;
|
||||
margin: 3rem calc(3rem - 8px);
|
||||
h2 {
|
||||
font-size: 3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
16
docs/scss/_variables.scss
Normal file
16
docs/scss/_variables.scss
Normal file
@ -0,0 +1,16 @@
|
||||
// Variables
|
||||
|
||||
$white: #fff !default;
|
||||
$gray-100: #f8f9fa !default;
|
||||
$gray-200: #e9ecef !default;
|
||||
$gray-300: #dee2e6 !default;
|
||||
$gray-400: #ced4da !default;
|
||||
$gray-500: #adb5bd !default;
|
||||
$gray-600: #868e96 !default;
|
||||
$gray-700: #495057 !default;
|
||||
$gray-800: #343a40 !default;
|
||||
$gray-900: #212529 !default;
|
||||
$black: #000 !default;
|
||||
|
||||
$primary: #18BC9C !default;
|
||||
$secondary: #2C3E50 !default;
|
9
docs/scss/freelancer.scss
Normal file
9
docs/scss/freelancer.scss
Normal file
@ -0,0 +1,9 @@
|
||||
@import "variables.scss";
|
||||
@import "mixins.scss";
|
||||
@import "global.scss";
|
||||
@import "navbar.scss";
|
||||
@import "masthead.scss";
|
||||
@import "portfolio.scss";
|
||||
@import "contact.scss";
|
||||
@import "footer.scss";
|
||||
@import "bootstrap-overrides.scss";
|
Reference in New Issue
Block a user