Created
June 26, 2012 08:31
Revisions
-
ajaxray revised this gist
Aug 18, 2012 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
ajaxray revised this gist
Aug 18, 2012 . 1 changed file with 18 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ /* Media query and conditional styles *---------------------------------------------*/ /*styles for 800px and up!*/ @media only screen and (min-width: 800px) { body{background-color: #666; } #container{width: 320px; min-height: 460px; background-color: #fff; margin: 0px auto 60px;} }/*/mediaquery*/ /* iPhone 4, Opera Mobile 11 and other high pixel ratio devices ----------- */ @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { #container{background-color: #fff; margin: 0 auto; padding-bottom: 60px} } -
ajaxray renamed this gist
Aug 18, 2012 . 1 changed file with 0 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,22 +23,3 @@ a.button{ background: -ms-linear-gradient(top, #bf3b4a, #8c2b36); background: -o-linear-gradient(top, #bf3b4a, #8c2b36); } -
ajaxray revised this gist
Jun 26, 2012 . No changes.There are no files selected for viewing
-
ajaxray revised this gist
Jun 26, 2012 . 1 changed file with 20 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ /* * Small (collected) snippets of useful css tricks * * @author: Anis uddin Ahmad <[email protected]> * @link : http://ajaxray.com @@ -22,4 +22,23 @@ a.button{ background: -moz-linear-gradient(top, #bf3b4a, #8c2b36); background: -ms-linear-gradient(top, #bf3b4a, #8c2b36); background: -o-linear-gradient(top, #bf3b4a, #8c2b36); } /* Media query and conditional styles *---------------------------------------------*/ /*styles for 800px and up!*/ @media only screen and (min-width: 800px) { body{background-color: #666; } #container{width: 320px; min-height: 460px; background-color: #fff; margin: 0px auto 60px;} }/*/mediaquery*/ /* iPhone 4, Opera Mobile 11 and other high pixel ratio devices ----------- */ @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { #container{background-color: #fff; margin: 0 auto; padding-bottom: 60px} } -
ajaxray revised this gist
Jun 26, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ /* CSS Gradient button *---------------------------------*/ a.button{ background-color: #AB3645; border-radius: 6px; border: 1px outset #AB3645; -
ajaxray created this gist
Jun 26, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ /* * Small snippets of useful css tricks * * @author: Anis uddin Ahmad <[email protected]> * @link : http://ajaxray.com */ /* CSS Gradient button *---------------------------------*/ a.button.text{ background-color: #AB3645; border-radius: 6px; border: 1px outset #AB3645; display: inline-block; padding: 0 20px; margin: 5px; font-weight: bold; box-shadow: 1px 1px 2px #777; /* Create gradient background */ background: -webkit-linear-gradient(top, #bf3b4a, #8c2b36); background: -moz-linear-gradient(top, #bf3b4a, #8c2b36); background: -ms-linear-gradient(top, #bf3b4a, #8c2b36); background: -o-linear-gradient(top, #bf3b4a, #8c2b36); }