Skip to content

Commit 4a89b23

Browse files
committed
Merge pull request #527 from twbs/header-gradient
Making sure our header gradient works everywhere...
2 parents d1b1ff5 + b0e8b2d commit 4a89b23

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

docs/assets/css/docs.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,14 @@ body {
5757
.docs-header,
5858
.docs-sub-header {
5959
position: relative;
60-
background-image: linear-gradient(45deg, #0a1855 0%, #da0024 100%);
61-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a1855', endColorstr='#da0024', GradientType=0 );
60+
background-color: #0a1855;
61+
background-image: -moz-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
62+
background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #0a1855), color-stop(100%, #da0024));
63+
background-image: -webkit-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
64+
background-image: -o-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
65+
background-image: -ms-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
66+
background-image: linear-gradient(45deg, #0a1855 0%, #da0024 100%);
67+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a1855', endColorstr='#da0024',GradientType=1 );
6268
}
6369

6470
.docs-header {

docs/assets/css/docs.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sass/docs.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,14 @@ body {
6363
.docs-header,
6464
.docs-sub-header {
6565
position: relative;
66-
background-image: linear-gradient(45deg, #0a1855 0%,#da0024 100%);
67-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024', GradientType=0 );
66+
background-color: #0a1855;
67+
background-image: -moz-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
68+
background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#0a1855), color-stop(100%,#da0024));
69+
background-image: -webkit-linear-gradient(45deg, #0a1855 0%,#da0024 100%);
70+
background-image: -o-linear-gradient(45deg, #0a1855 0%,#da0024 100%);
71+
background-image: -ms-linear-gradient(45deg, #0a1855 0%,#da0024 100%);
72+
background-image: linear-gradient(45deg, #0a1855 0%,#da0024 100%);
73+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024',GradientType=1 );
6874
}
6975
.docs-header {
7076
height: 100vh;

0 commit comments

Comments
 (0)