Add background images to hero and about sections
This commit is contained in:
10
style.css
10
style.css
@@ -147,7 +147,10 @@ body {
|
||||
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
|
||||
background-image: linear-gradient(135deg, rgba(0, 0, 143, 0.85) 0%, rgba(0, 71, 187, 0.85) 100%), url('img/background-hero.jpg');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-attachment: fixed;
|
||||
color: var(--white);
|
||||
padding: 80px 20px;
|
||||
min-height: 62vh;
|
||||
@@ -300,7 +303,10 @@ body {
|
||||
/* About Section */
|
||||
.about {
|
||||
padding: 80px 20px;
|
||||
background-color: var(--bg-light);
|
||||
background-image: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%), url('img/background-about.jpg');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.about h2 {
|
||||
|
||||
Reference in New Issue
Block a user