@@ -141,7 +139,7 @@
diff --git a/styles/style.css b/styles/style.css
index 4d1c088e..d70924a7 100644
--- a/styles/style.css
+++ b/styles/style.css
@@ -14,237 +14,201 @@
}
body {
+ font-family: 'Source Sans Pro', sans-serif;
margin: 0;
+ padding: 0;
+ background: #fff;
+ color: #333;
}
-body,
-button {
- font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
- color: var(--grey-dark);
- font-size: 1rem;
-}
-
-h1,h2,h3,h4,h5,h6 {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-p {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.header,
-.content,
-.footer {
- padding: 0 1.5rem;
- max-width: 1200px;
- margin: 0 auto;
-}
-
-/* Header */
-
.header {
display: flex;
- align-items: center;
justify-content: space-between;
- height: 5rem;
- margin-bottom: 1rem;
- padding-top: 1rem;
+ align-items: center;
+ padding: 15px 30px;
+ border-bottom: 1px solid #eee;
}
.header__logo {
- max-height: 90px;
- width: auto;
+ max-height: 50px;
}
-/* Navigation */
-
.navigation__list {
- display: flex;
list-style: none;
+ display: flex;
+ gap: 20px;
+ margin: 0;
+ padding: 0;
}
-.navigation__item {
- padding: 0.5rem 0;
-}
.navigation__link {
- color: var(--grey-dark);
- font-weight: 600;
- text-transform: uppercase;
text-decoration: none;
-}
-
-
-/* Text styles */
-
-.text-highlight {
- color: var(--orange-dark);
+ color: #333;
font-weight: 600;
}
-.arrow-right {
- display: inline-block;
- height: 0;
- width: 0;
- border: 6px solid var(--white);
- border-left-color: var(--orange-dark);
+.donate-button {
+ background-color: #c94b28;
+ color: white;
+ padding: 10px 15px;
+ border: none;
+ font-weight: bold;
+ cursor: pointer;
+ border-radius: 4px;
}
-
-/* Buttons */
-
- /* INSERT BUTTON STYLES HERE */
-
-
-/* Content */
-
.content {
display: flex;
- flex-direction: column;
+ padding: 20px 30px;
+ gap: 40px;
}
-/* Alert */
-
-.alert {
- background-color: var(--orange-light);
- border-left: 4px solid var(--orange-dark);
- border-radius: 4px;
- font-size: 0.85rem;
- line-height: 1.3;
- padding: 1.5rem 1rem;
- margin-bottom: 2rem;
+.main {
+ flex: 2;
}
-/* hero */
-
-.hero {
- background-image: url("header-bike.jpg");
- background-color: var(--grey-light);
+.sidebar {
+ flex: 1;
}
-.hero h1 {
- margin-bottom: 1rem;
- font-size: 2.5rem;
+.alert {
+ background-color: #faeee8;
+ padding: 10px;
+ margin-bottom: 20px;
+ border-left: 5px solid #c94b28;
}
-.hero p {
- font-size: 1.2rem;
- margin-bottom: 2rem;
+.text-highlight {
+ color: #c94b28;
+ font-weight: bold;
}
-
-/* Headings */
-
-.heading-underline {
+.hero {
position: relative;
- margin-bottom: 2rem;
- padding-bottom: 0.5rem;
- border-bottom: 2px solid var(--orange-light);
- font-size: 1rem;
- font-weight: 600;
- text-transform: uppercase;
+ height: 300px;
+ overflow: hidden;
+ color: white;
+ text-align: center;
}
-.heading-underline:before {
- content: "";
+.hero__image {
position: absolute;
- bottom: -2px;
+ top: 0;
left: 0;
- width: 25%;
- height: 2px;
- max-width: 100px;
- background: var(--orange-dark);
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ z-index: 1;
}
-
-/* Article */
-
-.article {
- margin-bottom: 1rem;
+.hero h1,
+.hero p,
+.hero button {
+ position: relative;
+ z-index: 2;
}
-.article__title {
- margin-bottom: 0.5rem;
- font-size: 1rem;
+.hero h1 {
+ font-size: 2.5rem;
font-weight: 700;
+ margin: 0.5em 0 0.2em;
}
-.article__title-link {
- text-decoration: none;
- color: var(--orange-dark);
+.hero p {
+ font-size: 1.2rem;
+ margin: 0.2em 0 1em;
}
-.article__summary {
- margin-top: 0;
- margin-bottom: 1rem;
+.hero button {
+ margin: 0 0.5em;
+ padding: 10px 15px;
+ border: none;
+ border-radius: 4px;
+ font-weight: bold;
+ cursor: pointer;
}
-.article__thumbnail {
- object-fit: contain;
- width: 5rem;
+.hero button:first-of-type {
+ background-color: #c94b28;
+ color: white;
}
-.article__read-more {
- margin-top: 0;
+.hero button:last-of-type {
+ background-color: white;
+ color: #c94b28;
+ border: 2px solid #c94b28;
}
-.article__read-more a {
- font-size: 0.85rem;
- font-weight: 700;
- color: var(--orange-dark);
- text-decoration: none;
+
+button {
+ margin-right: 10px;
+ padding: 10px 15px;
+ background: #c94b28;
+ color: white;
+ border: none;
+ border-radius: 3px;
+ font-weight: bold;
+ cursor: pointer;
}
-.article__read-more a:hover,
-.article__read-more a:focus {
- text-decoration: underline;
+.heading-underline {
+ border-bottom: 3px solid #c94b28;
+ padding-bottom: 5px;
+ margin: 30px 0 15px;
}
-.fa {
- margin-right: 0.5rem;
- color: var(--orange-dark);
+.article {
+ border: 1px solid #ddd;
+ padding: 15px;
+ margin-bottom: 20px;
+ border-radius: 4px;
+ background: #fff;
}
-.facebook-link {
- color: var(--orange-dark);
+.article__title {
+ font-size: 1.1em;
+ color: #c94b28;
+ font-weight: bold;
}
-/* Sidebar */
+.article__summary {
+ color: #444;
+}
-.sidebar {
- display: flex;
- flex-direction: column;
- min-width: 350px;
+.article__read-more a {
+ color: #c94b28;
+ text-decoration: none;
+ font-weight: bold;
}
-/* Footer */
+.article__thumbnail {
+ width: 100%;
+ max-width: 80px;
+ float: left;
+ margin-right: 10px;
+}
-.footer {
- margin-top: 2rem;
+.article__content {
+ overflow: hidden;
}
-.footer__content {
- border-top: 2px solid var(--orange-light);
- padding-top: 2rem;
- padding-bottom: 2rem;
+.facebook-link {
+ display: block;
+ margin-top: 15px;
+ color: #c94b28;
+ text-decoration: none;
+ font-weight: bold;
}
-.footer p {
- padding-bottom: 1rem;
+.footer {
+ background: #f5f5f5;
+ padding: 20px 30px;
text-align: center;
- font-size: 0.85rem;
+ font-size: 0.9em;
}
-/* Media queries */
-
-@media screen and (min-width: 992px) {
- .content {
- flex-direction: row;
- }
-
- .main {
- padding-right: 2rem;
- }
-}
+.footer__content strong {
+ display: block;
+ margin-bottom: 10px;
+}
\ No newline at end of file
@@ -141,7 +139,7 @@
diff --git a/styles/style.css b/styles/style.css
index 4d1c088e..d70924a7 100644
--- a/styles/style.css
+++ b/styles/style.css
@@ -14,237 +14,201 @@
}
body {
+ font-family: 'Source Sans Pro', sans-serif;
margin: 0;
+ padding: 0;
+ background: #fff;
+ color: #333;
}
-body,
-button {
- font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
- color: var(--grey-dark);
- font-size: 1rem;
-}
-
-h1,h2,h3,h4,h5,h6 {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-p {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.header,
-.content,
-.footer {
- padding: 0 1.5rem;
- max-width: 1200px;
- margin: 0 auto;
-}
-
-/* Header */
-
.header {
display: flex;
- align-items: center;
justify-content: space-between;
- height: 5rem;
- margin-bottom: 1rem;
- padding-top: 1rem;
+ align-items: center;
+ padding: 15px 30px;
+ border-bottom: 1px solid #eee;
}
.header__logo {
- max-height: 90px;
- width: auto;
+ max-height: 50px;
}
-/* Navigation */
-
.navigation__list {
- display: flex;
list-style: none;
+ display: flex;
+ gap: 20px;
+ margin: 0;
+ padding: 0;
}
-.navigation__item {
- padding: 0.5rem 0;
-}
.navigation__link {
- color: var(--grey-dark);
- font-weight: 600;
- text-transform: uppercase;
text-decoration: none;
-}
-
-
-/* Text styles */
-
-.text-highlight {
- color: var(--orange-dark);
+ color: #333;
font-weight: 600;
}
-.arrow-right {
- display: inline-block;
- height: 0;
- width: 0;
- border: 6px solid var(--white);
- border-left-color: var(--orange-dark);
+.donate-button {
+ background-color: #c94b28;
+ color: white;
+ padding: 10px 15px;
+ border: none;
+ font-weight: bold;
+ cursor: pointer;
+ border-radius: 4px;
}
-
-/* Buttons */
-
- /* INSERT BUTTON STYLES HERE */
-
-
-/* Content */
-
.content {
display: flex;
- flex-direction: column;
+ padding: 20px 30px;
+ gap: 40px;
}
-/* Alert */
-
-.alert {
- background-color: var(--orange-light);
- border-left: 4px solid var(--orange-dark);
- border-radius: 4px;
- font-size: 0.85rem;
- line-height: 1.3;
- padding: 1.5rem 1rem;
- margin-bottom: 2rem;
+.main {
+ flex: 2;
}
-/* hero */
-
-.hero {
- background-image: url("header-bike.jpg");
- background-color: var(--grey-light);
+.sidebar {
+ flex: 1;
}
-.hero h1 {
- margin-bottom: 1rem;
- font-size: 2.5rem;
+.alert {
+ background-color: #faeee8;
+ padding: 10px;
+ margin-bottom: 20px;
+ border-left: 5px solid #c94b28;
}
-.hero p {
- font-size: 1.2rem;
- margin-bottom: 2rem;
+.text-highlight {
+ color: #c94b28;
+ font-weight: bold;
}
-
-/* Headings */
-
-.heading-underline {
+.hero {
position: relative;
- margin-bottom: 2rem;
- padding-bottom: 0.5rem;
- border-bottom: 2px solid var(--orange-light);
- font-size: 1rem;
- font-weight: 600;
- text-transform: uppercase;
+ height: 300px;
+ overflow: hidden;
+ color: white;
+ text-align: center;
}
-.heading-underline:before {
- content: "";
+.hero__image {
position: absolute;
- bottom: -2px;
+ top: 0;
left: 0;
- width: 25%;
- height: 2px;
- max-width: 100px;
- background: var(--orange-dark);
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ z-index: 1;
}
-
-/* Article */
-
-.article {
- margin-bottom: 1rem;
+.hero h1,
+.hero p,
+.hero button {
+ position: relative;
+ z-index: 2;
}
-.article__title {
- margin-bottom: 0.5rem;
- font-size: 1rem;
+.hero h1 {
+ font-size: 2.5rem;
font-weight: 700;
+ margin: 0.5em 0 0.2em;
}
-.article__title-link {
- text-decoration: none;
- color: var(--orange-dark);
+.hero p {
+ font-size: 1.2rem;
+ margin: 0.2em 0 1em;
}
-.article__summary {
- margin-top: 0;
- margin-bottom: 1rem;
+.hero button {
+ margin: 0 0.5em;
+ padding: 10px 15px;
+ border: none;
+ border-radius: 4px;
+ font-weight: bold;
+ cursor: pointer;
}
-.article__thumbnail {
- object-fit: contain;
- width: 5rem;
+.hero button:first-of-type {
+ background-color: #c94b28;
+ color: white;
}
-.article__read-more {
- margin-top: 0;
+.hero button:last-of-type {
+ background-color: white;
+ color: #c94b28;
+ border: 2px solid #c94b28;
}
-.article__read-more a {
- font-size: 0.85rem;
- font-weight: 700;
- color: var(--orange-dark);
- text-decoration: none;
+
+button {
+ margin-right: 10px;
+ padding: 10px 15px;
+ background: #c94b28;
+ color: white;
+ border: none;
+ border-radius: 3px;
+ font-weight: bold;
+ cursor: pointer;
}
-.article__read-more a:hover,
-.article__read-more a:focus {
- text-decoration: underline;
+.heading-underline {
+ border-bottom: 3px solid #c94b28;
+ padding-bottom: 5px;
+ margin: 30px 0 15px;
}
-.fa {
- margin-right: 0.5rem;
- color: var(--orange-dark);
+.article {
+ border: 1px solid #ddd;
+ padding: 15px;
+ margin-bottom: 20px;
+ border-radius: 4px;
+ background: #fff;
}
-.facebook-link {
- color: var(--orange-dark);
+.article__title {
+ font-size: 1.1em;
+ color: #c94b28;
+ font-weight: bold;
}
-/* Sidebar */
+.article__summary {
+ color: #444;
+}
-.sidebar {
- display: flex;
- flex-direction: column;
- min-width: 350px;
+.article__read-more a {
+ color: #c94b28;
+ text-decoration: none;
+ font-weight: bold;
}
-/* Footer */
+.article__thumbnail {
+ width: 100%;
+ max-width: 80px;
+ float: left;
+ margin-right: 10px;
+}
-.footer {
- margin-top: 2rem;
+.article__content {
+ overflow: hidden;
}
-.footer__content {
- border-top: 2px solid var(--orange-light);
- padding-top: 2rem;
- padding-bottom: 2rem;
+.facebook-link {
+ display: block;
+ margin-top: 15px;
+ color: #c94b28;
+ text-decoration: none;
+ font-weight: bold;
}
-.footer p {
- padding-bottom: 1rem;
+.footer {
+ background: #f5f5f5;
+ padding: 20px 30px;
text-align: center;
- font-size: 0.85rem;
+ font-size: 0.9em;
}
-/* Media queries */
-
-@media screen and (min-width: 992px) {
- .content {
- flex-direction: row;
- }
-
- .main {
- padding-right: 2rem;
- }
-}
+.footer__content strong {
+ display: block;
+ margin-bottom: 10px;
+}
\ No newline at end of file
diff --git a/styles/style.css b/styles/style.css
index 4d1c088e..d70924a7 100644
--- a/styles/style.css
+++ b/styles/style.css
@@ -14,237 +14,201 @@
}
body {
+ font-family: 'Source Sans Pro', sans-serif;
margin: 0;
+ padding: 0;
+ background: #fff;
+ color: #333;
}
-body,
-button {
- font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
- color: var(--grey-dark);
- font-size: 1rem;
-}
-
-h1,h2,h3,h4,h5,h6 {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-p {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-.header,
-.content,
-.footer {
- padding: 0 1.5rem;
- max-width: 1200px;
- margin: 0 auto;
-}
-
-/* Header */
-
.header {
display: flex;
- align-items: center;
justify-content: space-between;
- height: 5rem;
- margin-bottom: 1rem;
- padding-top: 1rem;
+ align-items: center;
+ padding: 15px 30px;
+ border-bottom: 1px solid #eee;
}
.header__logo {
- max-height: 90px;
- width: auto;
+ max-height: 50px;
}
-/* Navigation */
-
.navigation__list {
- display: flex;
list-style: none;
+ display: flex;
+ gap: 20px;
+ margin: 0;
+ padding: 0;
}
-.navigation__item {
- padding: 0.5rem 0;
-}
.navigation__link {
- color: var(--grey-dark);
- font-weight: 600;
- text-transform: uppercase;
text-decoration: none;
-}
-
-
-/* Text styles */
-
-.text-highlight {
- color: var(--orange-dark);
+ color: #333;
font-weight: 600;
}
-.arrow-right {
- display: inline-block;
- height: 0;
- width: 0;
- border: 6px solid var(--white);
- border-left-color: var(--orange-dark);
+.donate-button {
+ background-color: #c94b28;
+ color: white;
+ padding: 10px 15px;
+ border: none;
+ font-weight: bold;
+ cursor: pointer;
+ border-radius: 4px;
}
-
-/* Buttons */
-
- /* INSERT BUTTON STYLES HERE */
-
-
-/* Content */
-
.content {
display: flex;
- flex-direction: column;
+ padding: 20px 30px;
+ gap: 40px;
}
-/* Alert */
-
-.alert {
- background-color: var(--orange-light);
- border-left: 4px solid var(--orange-dark);
- border-radius: 4px;
- font-size: 0.85rem;
- line-height: 1.3;
- padding: 1.5rem 1rem;
- margin-bottom: 2rem;
+.main {
+ flex: 2;
}
-/* hero */
-
-.hero {
- background-image: url("header-bike.jpg");
- background-color: var(--grey-light);
+.sidebar {
+ flex: 1;
}
-.hero h1 {
- margin-bottom: 1rem;
- font-size: 2.5rem;
+.alert {
+ background-color: #faeee8;
+ padding: 10px;
+ margin-bottom: 20px;
+ border-left: 5px solid #c94b28;
}
-.hero p {
- font-size: 1.2rem;
- margin-bottom: 2rem;
+.text-highlight {
+ color: #c94b28;
+ font-weight: bold;
}
-
-/* Headings */
-
-.heading-underline {
+.hero {
position: relative;
- margin-bottom: 2rem;
- padding-bottom: 0.5rem;
- border-bottom: 2px solid var(--orange-light);
- font-size: 1rem;
- font-weight: 600;
- text-transform: uppercase;
+ height: 300px;
+ overflow: hidden;
+ color: white;
+ text-align: center;
}
-.heading-underline:before {
- content: "";
+.hero__image {
position: absolute;
- bottom: -2px;
+ top: 0;
left: 0;
- width: 25%;
- height: 2px;
- max-width: 100px;
- background: var(--orange-dark);
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ z-index: 1;
}
-
-/* Article */
-
-.article {
- margin-bottom: 1rem;
+.hero h1,
+.hero p,
+.hero button {
+ position: relative;
+ z-index: 2;
}
-.article__title {
- margin-bottom: 0.5rem;
- font-size: 1rem;
+.hero h1 {
+ font-size: 2.5rem;
font-weight: 700;
+ margin: 0.5em 0 0.2em;
}
-.article__title-link {
- text-decoration: none;
- color: var(--orange-dark);
+.hero p {
+ font-size: 1.2rem;
+ margin: 0.2em 0 1em;
}
-.article__summary {
- margin-top: 0;
- margin-bottom: 1rem;
+.hero button {
+ margin: 0 0.5em;
+ padding: 10px 15px;
+ border: none;
+ border-radius: 4px;
+ font-weight: bold;
+ cursor: pointer;
}
-.article__thumbnail {
- object-fit: contain;
- width: 5rem;
+.hero button:first-of-type {
+ background-color: #c94b28;
+ color: white;
}
-.article__read-more {
- margin-top: 0;
+.hero button:last-of-type {
+ background-color: white;
+ color: #c94b28;
+ border: 2px solid #c94b28;
}
-.article__read-more a {
- font-size: 0.85rem;
- font-weight: 700;
- color: var(--orange-dark);
- text-decoration: none;
+
+button {
+ margin-right: 10px;
+ padding: 10px 15px;
+ background: #c94b28;
+ color: white;
+ border: none;
+ border-radius: 3px;
+ font-weight: bold;
+ cursor: pointer;
}
-.article__read-more a:hover,
-.article__read-more a:focus {
- text-decoration: underline;
+.heading-underline {
+ border-bottom: 3px solid #c94b28;
+ padding-bottom: 5px;
+ margin: 30px 0 15px;
}
-.fa {
- margin-right: 0.5rem;
- color: var(--orange-dark);
+.article {
+ border: 1px solid #ddd;
+ padding: 15px;
+ margin-bottom: 20px;
+ border-radius: 4px;
+ background: #fff;
}
-.facebook-link {
- color: var(--orange-dark);
+.article__title {
+ font-size: 1.1em;
+ color: #c94b28;
+ font-weight: bold;
}
-/* Sidebar */
+.article__summary {
+ color: #444;
+}
-.sidebar {
- display: flex;
- flex-direction: column;
- min-width: 350px;
+.article__read-more a {
+ color: #c94b28;
+ text-decoration: none;
+ font-weight: bold;
}
-/* Footer */
+.article__thumbnail {
+ width: 100%;
+ max-width: 80px;
+ float: left;
+ margin-right: 10px;
+}
-.footer {
- margin-top: 2rem;
+.article__content {
+ overflow: hidden;
}
-.footer__content {
- border-top: 2px solid var(--orange-light);
- padding-top: 2rem;
- padding-bottom: 2rem;
+.facebook-link {
+ display: block;
+ margin-top: 15px;
+ color: #c94b28;
+ text-decoration: none;
+ font-weight: bold;
}
-.footer p {
- padding-bottom: 1rem;
+.footer {
+ background: #f5f5f5;
+ padding: 20px 30px;
text-align: center;
- font-size: 0.85rem;
+ font-size: 0.9em;
}
-/* Media queries */
-
-@media screen and (min-width: 992px) {
- .content {
- flex-direction: row;
- }
-
- .main {
- padding-right: 2rem;
- }
-}
+.footer__content strong {
+ display: block;
+ margin-bottom: 10px;
+}
\ No newline at end of file
+