Skip to content

Commit

Permalink
Added demo files
Browse files Browse the repository at this point in the history
Added the HTML and CSS responsive demo files
  • Loading branch information
Joshua Pekera committed Jul 31, 2012
1 parent 0f3295b commit c7c3908
Show file tree
Hide file tree
Showing 34 changed files with 5,962 additions and 0 deletions.
Binary file added demo/banners/awwwards_sotd_b_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_left2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_left_huge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_left_mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_left_mobile2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_right2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_right_huge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_right_mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_b_right_mobile2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_left2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_left_huge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_left_mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_left_mobile2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_right2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_right_huge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_right_mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_g_right_mobile2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_w_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_w_left2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_w_left_huge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_w_left_mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_w_left_mobile2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/banners/awwwards_sotd_w_right.png
Binary file added demo/banners/awwwards_sotd_w_right2x.png
Binary file added demo/banners/awwwards_sotd_w_right_huge.png
Binary file added demo/banners/awwwards_sotd_w_right_mobile.png
Binary file added demo/banners/awwwards_sotd_w_right_mobile2x.png
120 changes: 120 additions & 0 deletions demo/css/awwwards.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
/*
* awwwards.css by Joshua Pekera
* follow me on Twitter @joshuapekera
*/

/* Memo
==================================================
IT IS NOT MANDITORY THAT YOU USE ALL OF THE FOLLOWING MEDIA QUERIES. IF YOU ARE BUILDING A FULLY RESPONSIVE PRODUCT YOU WILL LIKELY HAVE THESE ALREADY.
YOU CAN ADAPT THESE CLASSES TO YOUR OWN STYLE SHEET IF SO CHOOSE.
================================================== */

/* Base Style
================================================== */

#awwwards {
position:absolute;
top:40px;
right:0px;
z-index:1040;
}

#awwwards a {
width:70px;
height:105px;
text-indent:-8000px;
display:block;
background:url('../banners/awwwards_sotd_b_right.png') no-repeat;
overflow:hidden;
}

/* Media Queries
================================================== */

/* Landscape phone to portrait tablet
----------------------------------------*/
@media (max-width: 767px) {
/* Styles */
}

/* Mobile Devices Landscape Specific
----------------------------------------*/
@media (min-width: 480px) and (max-width: 767px) {
/* Styles */
}

/* Landscape phones and down
---------------------------------------------------------------------*/
@media (max-width: 480px) {
/* Styles */
#awwwards a {
width:45px;
height:68px;
background:url('../banners/awwwards_sotd_b_right_mobile.png') no-repeat;
}
}

/* Portrait tablet to landscape and desktop
------------------------------------------------------*/
@media (min-width: 768px) and (max-width: 979px) {
}


/* iPads (portrait and landscape)
---------------------------------------------------------------------------------------*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape)
------------------------ */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait)
----------------------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
/* Styles */
}

/* Slightly Wide Desktop Display
------------------------------------*/
@media (min-width: 980px) {
/* Styles */
}

/* Large Desktop Displays
----------------------------------------*/
@media (min-width: 1200px) {
/* Styles */
}

/* Retina Displays (Tip: Best used only for image replacement. Do not duplicate positioning, height, width etc.)
---------------------------------------------------------------------------------------------------------------- */

/* Target any device with retina display (ie iPad 3 and MacBook Pro)*/
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
#awwwards a {
background:url('../banners/awwwards_sotd_b_right2x.png') no-repeat;
background-size: 70px 105px;
}
}

/* Target only smartphone device with retina display (ie iPhone) */
@media only screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 1.5) {
#awwwards a {
background:url('../banners/awwwards_sotd_b_right_mobile2x.png') no-repeat;
background-size: 45px 68px;
}
}

Loading

0 comments on commit c7c3908

Please sign in to comment.