showoff 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff41081de933e7c675ec03921ae60ed432217d78
4
- data.tar.gz: 331ab67bf789e75e1762da0e08840f44c7fb3ee7
3
+ metadata.gz: bcf39224213729d49b49c882caac09ee531ad443
4
+ data.tar.gz: 61ad24fcd9c449045ef49bb9b926483bf67c1b2c
5
5
  SHA512:
6
- metadata.gz: 4345dc62502a029aedd9e8de79c50ca8fb613ca8d9cfc88dcdadeede041670b24b546d91a833ebe10decef246161266209c393be1f7ab76f8cb352b324cf8c32
7
- data.tar.gz: ddf83f75b1ea9097ba2edf3b6bdb2ae08d1a9f78fe5d47846851bc47fc4540aec44cc83d5ce7b0a983f68476e39b17cbb5da98dad2a28cf84b1a35e2a3214e1d
6
+ metadata.gz: 67824aa75b98a4397a7829faa7fe8926a32c4cbe6dcfed121812076e3951b9871dab6ae13c5ec8f661d9c248fe02bb501c0be9d8ce87385b3342d282ba0501ee
7
+ data.tar.gz: 0f39a3db0cc58ed01d20fad3316ea303562e93ab6f917b30bdd29f0e1781524aa13270f9e935daaa7cd9f1d38aa41ce561edbb72401c3056bb052b2f8c201d58
@@ -1,3 +1,3 @@
1
1
  # No namespace here since ShowOff is a class and I'd have to inherit from
2
2
  # Sinatra::Application (which we don't want to load here)
3
- SHOWOFF_VERSION = '0.10.1'
3
+ SHOWOFF_VERSION = '0.10.2'
@@ -88,7 +88,12 @@
88
88
  -ms-transform: translateY(-50%);
89
89
  transform: translateY(-50%);
90
90
  }
91
-
91
+
92
+ /* prevent large images from getting too out of hand */
93
+ .content img {
94
+ max-width: 100%;
95
+ max-height: 100%;
96
+ }
92
97
  }
93
98
 
94
99
  .slide .center {
@@ -113,12 +118,6 @@
113
118
  margin: 2em;
114
119
  }
115
120
 
116
- /* prevent large images from getting too out of hand */
117
- .content img {
118
- max-width: 100%;
119
- max-height: 100%;
120
- }
121
-
122
121
  .center img {
123
122
  display:block;
124
123
  margin-left:auto;
@@ -889,6 +888,12 @@ body#stats {
889
888
  overflow:hidden;
890
889
  }
891
890
 
891
+ /* prevent large images from running off the page */
892
+ .content img {
893
+ max-width: 7in;
894
+ max-height: 9.5in;
895
+ }
896
+
892
897
  #footer {
893
898
  background: #eee;
894
899
  padding: 2px;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-09 00:00:00.000000000 Z
11
+ date: 2015-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra