pie 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,63 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <title><%= $current %></title>
7
+ <style type="text/css" media="screen">
8
+
9
+
10
+ img.bg {
11
+ /* Set rules to fill background */
12
+ min-height: 100%;
13
+ min-width: 1024px;
14
+
15
+ /* Set up proportionate scaling */
16
+ width: 100%;
17
+ height: auto;
18
+
19
+ /* Set up positioning */
20
+ position: fixed;
21
+ top: 0;
22
+ left: 0;
23
+ }
24
+
25
+ @media screen and (max-width: 1024px){
26
+ img.bg {
27
+ left: 50%;
28
+ margin-left: -512px; }
29
+ }
30
+
31
+ div#content {
32
+ /* This is the only important rule */
33
+ /* We need our content to show up on top of the background */
34
+ position: relative;
35
+
36
+ /* These have no effect on the functionality */
37
+ width: 80%;
38
+ margin: 0 auto;
39
+ background: #fff;
40
+ padding: 20px;
41
+ font-family: helvetica, arial, sans-serif;
42
+ font-size: 12pt;
43
+ line-height: 14pt;
44
+ -moz-box-shadow: #000 4px 4px 10px;
45
+ -webkit-box-shadow: #000 4px 4px 10px;
46
+ }
47
+
48
+ </style>
49
+ </head>
50
+
51
+ <body>
52
+ <img src="<%= $pie.current_image %>" class="bg" />
53
+ <div id="content">
54
+ <p><%= $pie.current_description %></p>
55
+ <p>
56
+ <% $pie.places[$current].links.each do |place_name, label| %>
57
+ <%= " <a href='#{place_name}'>#{label.to_s}</a> " %>
58
+ <% end %>
59
+ </p>
60
+ </div>
61
+ </body>
62
+
63
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <title><%= $current %></title>
7
+ <style type="text/css" media="screen">
8
+
9
+ body {
10
+ background: #000;
11
+ }
12
+
13
+ div#background {
14
+ position: fixed;
15
+ top: 0;
16
+ left: 0;
17
+ width: 100%;
18
+ height: 100%
19
+ }
20
+
21
+ div#background img {
22
+
23
+ /* Set up proportionate scaling */
24
+ width: auto;
25
+ height: 100%;
26
+
27
+ /* Set up positioning */
28
+ margin-left: auto;
29
+ margin-right: auto;
30
+ display: block;
31
+ }
32
+
33
+ div#content {
34
+ /* This is the only important rule */
35
+ /* We need our content to show up on top of the background */
36
+ position: relative;
37
+
38
+ /* These have no effect on the functionality */
39
+ width: 400px;
40
+ margin: 0 auto;
41
+ background: #fff;
42
+ padding: 20px;
43
+ font-family: helvetica, arial, sans-serif;
44
+ font-size: 12pt;
45
+ line-height: 14pt;
46
+ -moz-box-shadow: #000 4px 4px 10px;
47
+ -webkit-box-shadow: #000 4px 4px 10px;
48
+ }
49
+
50
+ </style>
51
+ </head>
52
+
53
+ <body>
54
+ <div id="background">
55
+ <img src="<%= $pie.current_image %>" />
56
+ </div>
57
+ <div id="content">
58
+ <p><%= $pie.current_description %></p>
59
+ <p>
60
+ <% $pie.places[$current].links.each do |place_name, label| %>
61
+ <%= " <a href='#{place_name}'>#{label.to_s}</a> " %>
62
+ <% end %>
63
+ </p>
64
+ </div>
65
+ </body>
66
+
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <title><%= $current %></title>
7
+ <style type="text/css" media="screen">
8
+
9
+ body {
10
+ background: #000;
11
+ }
12
+
13
+ div#background {
14
+ position: fixed;
15
+ top: 0;
16
+ left: 0;
17
+ width: 100%;
18
+ height: 100%
19
+ }
20
+
21
+ div#background img {
22
+
23
+ /* Set up proportionate scaling */
24
+ width: auto;
25
+ height: 100%;
26
+
27
+ /* Set up positioning */
28
+ margin-left: auto;
29
+ margin-right: auto;
30
+ display: block;
31
+ }
32
+
33
+ div#content {
34
+ /* This is the only important rule */
35
+ /* We need our content to show up on top of the background */
36
+ position: relative;
37
+
38
+ /* These have no effect on the functionality */
39
+ width: 80%;
40
+ margin: 0 auto;
41
+ background: #fff;
42
+ padding: 20px;
43
+ font-family: helvetica, arial, sans-serif;
44
+ font-size: 12pt;
45
+ line-height: 14pt;
46
+ -moz-box-shadow: #000 4px 4px 10px;
47
+ -webkit-box-shadow: #000 4px 4px 10px;
48
+ }
49
+
50
+ </style>
51
+ </head>
52
+
53
+ <body>
54
+ <div id="background">
55
+ <img src="<%= $pie.current_image %>" />
56
+ </div>
57
+ <div id="content">
58
+ <p><%= $pie.current_description %></p>
59
+ <p>
60
+ <% $pie.places[$current].links.each do |place_name, label| %>
61
+ <%= " <a href='#{place_name}'>#{label.to_s}</a> " %>
62
+ <% end %>
63
+ </p>
64
+ </div>
65
+ </body>
66
+
67
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <title><%= $current %></title>
7
+ <style type="text/css" media="screen">
8
+
9
+
10
+ img.bg {
11
+ /* Set rules to fill background */
12
+ min-height: 100%;
13
+ min-width: 1024px;
14
+
15
+ /* Set up proportionate scaling */
16
+ width: 100%;
17
+ height: auto;
18
+
19
+ /* Set up positioning */
20
+ position: fixed;
21
+ top: 0;
22
+ left: 0;
23
+ }
24
+
25
+ @media screen and (max-width: 1024px){
26
+ img.bg {
27
+ left: 50%;
28
+ margin-left: -512px; }
29
+ }
30
+
31
+ div#content {
32
+ /* This is the only important rule */
33
+ /* We need our content to show up on top of the background */
34
+ position: relative;
35
+
36
+ /* These have no effect on the functionality */
37
+ width: 100%;
38
+ margin: 0 auto;
39
+ padding: 20px;
40
+ font-family: helvetica, arial, sans-serif;
41
+ font-size: 32pt;
42
+ line-height: 40pt;
43
+ text-align: center;
44
+ text-shadow: 1px 1px #fff;
45
+ }
46
+
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <img src="<%= $pie.current_image %>" class="bg" />
52
+ <div id="content">
53
+ <p><%= $pie.current_description %></p>
54
+ </div>
55
+ </body>
56
+
57
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <title><%= $current %></title>
7
+ <style type="text/css" media="screen">
8
+
9
+
10
+ img.bg {
11
+ /* Set rules to fill background */
12
+ min-height: 100%;
13
+ min-width: 1024px;
14
+
15
+ /* Set up proportionate scaling */
16
+ width: 100%;
17
+ height: auto;
18
+
19
+ /* Set up positioning */
20
+ position: fixed;
21
+ top: 0;
22
+ left: 0;
23
+ }
24
+
25
+ @media screen and (max-width: 1024px){
26
+ img.bg {
27
+ left: 50%;
28
+ margin-left: -512px; }
29
+ }
30
+
31
+ div#content {
32
+ /* This is the only important rule */
33
+ /* We need our content to show up on top of the background */
34
+ position: relative;
35
+
36
+ /* These have no effect on the functionality */
37
+ width: 100%;
38
+ margin: 0 auto;
39
+ padding: 20px;
40
+ font-family: helvetica, arial, sans-serif;
41
+ font-size: 32pt;
42
+ line-height: 40pt;
43
+ text-align: center;
44
+ text-shadow: 1px 1px #fff
45
+ }
46
+
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <img src="<%= $pie.current_image %>" class="bg" />
52
+ <div id="content">
53
+ <p><%= $pie.current_description %></p>
54
+ </div>
55
+ </body>
56
+
57
+ </html>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sarah Allen, Sarah Mei
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-11 00:00:00 -07:00
17
+ date: 2010-09-12 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -29,6 +29,11 @@ extra_rdoc_files: []
29
29
  files:
30
30
  - lib/pie.rb
31
31
  - lib/player.rb
32
+ - views/full_screen.erb
33
+ - views/game_screen.erb
34
+ - views/game_screen.erb~
35
+ - views/image_page.erb
36
+ - views/image_page.erb~
32
37
  - README.md
33
38
  - MIT-LICENSE.txt
34
39
  has_rdoc: true