Permalink
Browse files

Changed to newer, simpler CSS gradient syntax.

  • Loading branch information...
1 parent e510c89 commit 290bc1a6be3472e1d944fa0c5ee3b710c8b93ce0 @yellowled committed Jul 20, 2012
Showing with 14 additions and 14 deletions.
  1. +14 −14 style.css
View
@@ -369,13 +369,13 @@ fieldset,
#primary-nav,
.serendipity_calendar thead,
.serendipity_calendar tfoot {
- background: #294564 url({TEMPLATE_PATH}img/gradient-dblue.png) left top repeat-x; /* Fallback */
- background: -moz-linear-gradient(top, #3e5f81 0%, #294564 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3e5f81), color-stop(100%,#294564)); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, #3e5f81 0%, #294564 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, #3e5f81 0%, #294564 100%); /* Opera11.10+ */
- background: -ms-linear-gradient(top, #3e5f81 0%, #294564 100%); /* IE10+ */
- background: linear-gradient(top, #3e5f81 0%, #294564 100%); /* W3C */
+ background: #294564;
+ background-image: url({TEMPLATE_PATH}img/gradient-dblue.png) left top repeat-x; /* Fallback */
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3e5f81), color-stop(100%, #294564));
+ background-image: -webkit-linear-gradient(#3e5f81, #294564);
+ background-image: -moz-linear-gradient(#3e5f81, #294564);
+ background-image: -o-linear-gradient(#3e5f81, #294564);
+ background-image: linear-gradient(#3e5f81, #294564);
}
#primary-nav span,
@@ -410,13 +410,13 @@ fieldset,
#primary-nav a:hover,
#primary-nav a:focus {
- background: #aabcc5 url({TEMPLATE_PATH}img/gradient-lblue.png) left top repeat-x; /* Fallback */
- background: -moz-linear-gradient(top, #ccdee7 0%, #aabcc5 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ccdee7), color-stop(100%,#aabcc5)); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, #ccdee7 0%, #aabcc5 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, #ccdee7 0%, #aabcc5 100%); /* Opera11.10+ */
- background: -ms-linear-gradient(top, #ccdee7 0%, #aabcc5 100%); /* IE10+ */
- background: linear-gradient(top, #ccdee7 0%, #aabcc5 100%); /* W3C */
+ background: #aabcc5;
+ background-image: url({TEMPLATE_PATH}img/gradient-lblue.png) left top repeat-x; /* Fallback */
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ccdee7), color-stop(100%, #aabcc5));
+ background-image: -webkit-linear-gradient(#ccdee7, #aabcc5);
+ background-image: -moz-linear-gradient(#ccdee7, #aabcc5);
+ background-image: -o-linear-gradient(#ccdee7, #aabcc5);
+ background-image: linear-gradient(#ccdee7, #aabcc5);
}
.serendipity_entry,

0 comments on commit 290bc1a

Please sign in to comment.