Skip to content
This repository was archived by the owner on Mar 4, 2019. It is now read-only.

Commit 1c83c72

Browse files
committed
Set viewport width to device width.
1 parent bc50ca7 commit 1c83c72

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

css/style.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset 'UTF-8';
22
/*
3-
* jQuery File Upload Plugin CSS Example 2.2
3+
* jQuery File Upload Plugin CSS Example 2.3
44
* https://github.com/blueimp/jQuery-File-Upload
55
*
66
* Copyright 2012, Sebastian Tschan
@@ -21,6 +21,8 @@ body {
2121
}
2222
h1 {
2323
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;
24+
font-size: 30px;
25+
line-height: 36px;
2426
}
2527
a {
2628
color: #08C;
@@ -57,3 +59,10 @@ ul.nav li {
5759
*+html ul.nav li {
5860
display: inline;
5961
}
62+
63+
@media (max-width: 480px) {
64+
body {
65+
margin: 0;
66+
padding: 10px;
67+
}
68+
}

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE HTML>
22
<!--
33
/*
4-
* jQuery Image Gallery Plugin Demo 2.2
4+
* jQuery Image Gallery Plugin Demo 2.3
55
* https://github.com/blueimp/jQuery-Image-Gallery
66
*
77
* Copyright 2011, Sebastian Tschan
@@ -16,6 +16,7 @@
1616
<meta charset="utf-8">
1717
<title>jQuery Image Gallery Demo</title>
1818
<meta name="description" content="jQuery Image Gallery is an extension to the Dialog component of jQuery UI, to ease navigation between a set of gallery images. It features mouse and keyboard navigation, transition effects, fullscreen mode and slideshow functionality.">
19+
<meta name="viewport" content="width=device-width">
1920
<!-- jQuery UI styles -->
2021
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/south-street/jquery-ui.css" id="theme">
2122
<!-- jQuery Image Gallery styles -->

0 commit comments

Comments
 (0)