From 6f90d60c56c2d7441628f643a0fe51893426f3c8 Mon Sep 17 00:00:00 2001 From: tynanpurdy Date: Thu, 25 Jul 2019 11:36:42 -0400 Subject: [PATCH] trying slant --- bootstrap/css/bootstrap.css | 1 + imgs/slant.svg | 5 +++++ index.css | 6 ++++-- index.html | 8 +++----- style.css | 33 ++++++++++++++++++++++++++++++--- 5 files changed, 43 insertions(+), 10 deletions(-) create mode 100644 imgs/slant.svg diff --git a/bootstrap/css/bootstrap.css b/bootstrap/css/bootstrap.css index 33365bb..fe33c31 100644 --- a/bootstrap/css/bootstrap.css +++ b/bootstrap/css/bootstrap.css @@ -20,6 +20,7 @@ --gray-dark: #343a40; --primary: #050505; --secondary: #ff449b; + --tertiary: #435CFF; --success: #28a745; --info: #17a2b8; --warning: #ffc107; diff --git a/imgs/slant.svg b/imgs/slant.svg new file mode 100644 index 0000000..03e916f --- /dev/null +++ b/imgs/slant.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/index.css b/index.css index f5fb586..e8d6cf0 100644 --- a/index.css +++ b/index.css @@ -4,13 +4,15 @@ body { background: var(--light); } -.header { +.hero { + content: ""; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; background-position: center; position: relative; - height: 100%; + height: 90%; + background: url(./imgs/slant.svg); } .overlay { diff --git a/index.html b/index.html index e84f740..78cb774 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ - +
@@ -69,10 +70,7 @@
- -
- -
+