Skip to content

Commit 7c80d05

Browse files
committed
Clearer backgrounds
1 parent 1799aef commit 7c80d05

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

css/style.css

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,22 @@ strong, .bold {
464464
.bg-contrast {
465465
background: #fff;
466466
}
467+
.bg-contrast-purple {
468+
background: #2E369D;
469+
height: 460px;
470+
}
471+
.bg-contrast-purple--before {
472+
position: relative;
473+
}
474+
.bg-contrast-purple--before:before {
475+
content: '';
476+
position: absolute;
477+
background: #2E369D;
478+
height: 460px;
479+
width: 5000px;
480+
right: 100%;
481+
top: 0;
482+
}
467483

468484
.bg-contrast--after {
469485
position: relative;
@@ -504,11 +520,11 @@ strong, .bold {
504520
.bg-img {
505521
-webkit-background-size: cover;
506522
background-size: cover;
507-
background: url("../images/bg2.jpg") no-repeat fixed;
523+
background: url("../images/bg1.jpg") no-repeat fixed;
508524
}
509525
@media (max-width: 1199px) {
510526
.bg-img {
511-
background: url("../images/bg2.jpg") no-repeat scroll center center;
527+
background: url("../images/bg1.jpg") no-repeat scroll center center;
512528
}
513529
}
514530

@@ -716,6 +732,8 @@ strong, .bold {
716732
}
717733
.thumb-wrap .thumb {
718734
display: inline-block;
735+
margin-top: 10px;
736+
margin-right: 10px;
719737
}
720738
@media (max-width: 991px) {
721739
.thumb-wrap .thumb {

images/bg2.jpg

-526 KB
Binary file not shown.

images/bg3.jpg

5.81 MB
Loading

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h1 class="brand_name">
5656
=========================================================-->
5757
<main>
5858

59-
<section class="parallax well cbp-so-section" data-url="images/bg1.jpg" data-mobile="true">
59+
<section class="parallax well cbp-so-section" data-url="images/bg3.jpg" data-mobile="true">
6060
<div class="container">
6161
<div class="row">
6262
<div class="col-md-10 col-md-offset-2 cbp-so-side cbp-so-side-right">
@@ -75,7 +75,7 @@ <h2>Data. Innovation.</h2>
7575
<div class="container">
7676
<div class="row">
7777
<div class="col-lg-9 cbp-so-side cbp-so-side-left">
78-
<div class="thumb-wrap bg-contrast bg-contrast--before text-right">
78+
<div class="thumb-wrap bg-contrast-purple bg-contrast-purple--before text-right">
7979

8080
<a class="thumb" href="images/sequence-labeling-original.png">
8181
<img src="images/sequence-labeling-thumb.png" alt=""/>

0 commit comments

Comments
 (0)