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. 8
      docs/assets/css/docs.css
  2. 2
      docs/assets/css/docs.min.css
  3. 8
      sass/docs.scss

8
docs/assets/css/docs.css

@ -57,8 +57,14 @@ body {
.docs-header, .docs-header,
.docs-sub-header { .docs-sub-header {
position: relative; position: relative;
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%); background-image: linear-gradient(45deg, #0a1855 0%, #da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a1855', endColorstr='#da0024', GradientType=0 ); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0a1855', endColorstr='#da0024',GradientType=1 );
} }
.docs-header { .docs-header {

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

File diff suppressed because one or more lines are too long

8
sass/docs.scss

@ -63,8 +63,14 @@ body {
.docs-header, .docs-header,
.docs-sub-header { .docs-sub-header {
position: relative; position: relative;
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%); background-image: linear-gradient(45deg, #0a1855 0%,#da0024 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024', GradientType=0 ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a1855', endColorstr='#da0024',GradientType=1 );
} }
.docs-header { .docs-header {
height: 100vh; height: 100vh;

Loading…
Cancel
Save