Browse Source

Merge pull request #527 from twbs/header-gradient

Making sure our header gradient works everywhere...
pull/522/head
Connor Sears 11 years ago
parent
commit
4a89b23411
  1. 10
      docs/assets/css/docs.css
  2. 2
      docs/assets/css/docs.min.css
  3. 10
      sass/docs.scss

10
docs/assets/css/docs.css

@ -57,8 +57,14 @@ body {
.docs-header,
.docs-sub-header {
position: relative;
background-image: linear-gradient(45deg, #0a1855 0%, #da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a1855', endColorstr='#da0024', GradientType=0 );
background-color: #0a1855;
background-image: -moz-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%, #0a1855), color-stop(100%, #da0024));
background-image: -webkit-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -o-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -ms-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: linear-gradient(45deg, #0a1855 0%, #da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a1855', endColorstr='#da0024',GradientType=1 );
}
.docs-header {

2
docs/assets/css/docs.min.css vendored

File diff suppressed because one or more lines are too long

10
sass/docs.scss

@ -63,8 +63,14 @@ body {
.docs-header,
.docs-sub-header {
position: relative;
background-image: linear-gradient(45deg, #0a1855 0%,#da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024', GradientType=0 );
background-color: #0a1855;
background-image: -moz-linear-gradient(45deg, #0a1855 0%, #da0024 100%);
background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#0a1855), color-stop(100%,#da0024));
background-image: -webkit-linear-gradient(45deg, #0a1855 0%,#da0024 100%);
background-image: -o-linear-gradient(45deg, #0a1855 0%,#da0024 100%);
background-image: -ms-linear-gradient(45deg, #0a1855 0%,#da0024 100%);
background-image: linear-gradient(45deg, #0a1855 0%,#da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024',GradientType=1 );
}
.docs-header {
height: 100vh;

Loading…
Cancel
Save