Skip to content

Commit 8a1c702

Browse files
committed
recolor header background
1 parent b06c96f commit 8a1c702

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

_sass/layout/header.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
background: $gray-darker;
88

99
.new-on-the-blog {
10-
background: rgba($gray-darker, 0.8);
10+
background: rgba($banner-notice-bg, 0.8);
1111
text-align: center;
1212
padding: 8px 0;
1313
color: #fff;
@@ -44,7 +44,7 @@
4444
&.header-home {
4545
background: none;
4646
.header-background {
47-
background: linear-gradient($brand-secondary, 40%, $gray-darker);
47+
background: $header-bg;
4848
position: relative;
4949
padding-bottom: 120px;
5050
}

_sass/layout/nutshell.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
//------------------------------------------------
44

55
.nutshell {
6-
background: $gray;
6+
background: $gray-nutshell;
77

88
.heading-line {
99
h2 {
1010
span {
11-
background: $gray;
11+
background: $gray-nutshell;
1212
}
1313
}
1414
.call-to-action.action-medium {

_sass/layout/scala-main-resources.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
.scala-main-resources {
66
height: 105px;
7-
background: $gray-darker;
7+
background: $banner-bg;
88
position: relative;
99

1010
.resources {
@@ -82,9 +82,11 @@
8282
margin-right: 7px;
8383
font-weight: $font-bold;
8484

85+
color: rgba(#fff, 0.90);
86+
8587
a {
86-
color: rgba(#fff, 0.90);
8788
font-size: $font-size-medium;
89+
color: rgba(#fff, 0.90);
8890

8991
&:active,
9092
&:focus,
@@ -122,7 +124,7 @@
122124
@include justify-content(center);
123125

124126
.circle-solid {
125-
background: $gray-darker;
127+
background: $gray-darkest;
126128
width: 185px;
127129
height: 185px;
128130
border-radius: 100%;

_sass/utils/_variables.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,23 @@ $brand-tertiary: #5CC6E4;
1010
$brand-tertiary-dotty: #E45C77;
1111

1212
//-------------------------------------------------
13+
$gray-darkest: #002B36;
1314
$gray-darker: #002B36;
1415
$gray-dark: #073642;
1516
$gray: #15414C;
17+
$gray-nutshell: $gray;
1618
$gray-li: #244E58;
1719
$gray-light: #E5EAEA;
1820
$gray-lighter: #F0F3F3;
1921
$apple-blue: #6dccf5;
2022
$std-link: #23aad1;
2123
$gray-heading: rgb(134, 161, 166);
2224

25+
// $header-bg: #266270;
26+
$header-bg: #0c4d5d;
27+
$banner-notice-bg: $gray-darkest;
28+
$banner-bg: #0c3540;
29+
2330
//-------------------------------------------------
2431
$code-bg-color-dark: #22272e; // taken from github-dark-dimmed hljs theme
2532
$code-bg-color-dark-highlight: #464e5b;

0 commit comments

Comments
 (0)