jekyll-swift-theme 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -1
  3. data/_includes/head.html +6 -1
  4. data/_includes/shorts/flickr-album.html +10 -0
  5. data/_includes/shorts/gallery.html +7 -5
  6. data/_sass/swift/_comments.sass +6 -0
  7. data/assets/galleria/galleria.js +6987 -0
  8. data/assets/galleria/galleria.min.js +12 -0
  9. data/assets/galleria/plugins/flickr/demo.html +62 -0
  10. data/assets/galleria/plugins/flickr/galleria.flickr.js +399 -0
  11. data/assets/galleria/plugins/flickr/galleria.flickr.min.js +10 -0
  12. data/assets/galleria/plugins/history/demo.html +98 -0
  13. data/assets/galleria/plugins/history/galleria.history.js +164 -0
  14. data/assets/galleria/plugins/history/galleria.history.min.js +10 -0
  15. data/assets/galleria/themes/azur/demo-cdn.html +118 -0
  16. data/assets/galleria/themes/azur/demo-retina.html +120 -0
  17. data/assets/galleria/themes/azur/demo.html +120 -0
  18. data/assets/galleria/themes/azur/galleria.azur.css +403 -0
  19. data/assets/galleria/themes/azur/galleria.azur.js +312 -0
  20. data/assets/galleria/themes/azur/galleria.azur.min.css +1 -0
  21. data/assets/galleria/themes/azur/galleria.azur.min.js +10 -0
  22. data/assets/galleria/themes/classic/demo-cdn.html +103 -0
  23. data/assets/galleria/themes/classic/demo-retina.html +106 -0
  24. data/assets/galleria/themes/classic/demo.html +106 -0
  25. data/assets/galleria/themes/classic/galleria.classic.css +217 -0
  26. data/assets/galleria/themes/classic/galleria.classic.js +117 -0
  27. data/assets/galleria/themes/classic/galleria.classic.min.css +1 -0
  28. data/assets/galleria/themes/classic/galleria.classic.min.js +10 -0
  29. data/assets/galleria/themes/folio/demo-cdn.html +106 -0
  30. data/assets/galleria/themes/folio/demo-retina.html +108 -0
  31. data/assets/galleria/themes/folio/demo.html +108 -0
  32. data/assets/galleria/themes/folio/galleria.folio.css +185 -0
  33. data/assets/galleria/themes/folio/galleria.folio.js +488 -0
  34. data/assets/galleria/themes/folio/galleria.folio.min.css +1 -0
  35. data/assets/galleria/themes/folio/galleria.folio.min.js +10 -0
  36. data/assets/galleria/themes/fullscreen/demo-cdn.html +103 -0
  37. data/assets/galleria/themes/fullscreen/demo-retina.html +105 -0
  38. data/assets/galleria/themes/fullscreen/demo.html +103 -0
  39. data/assets/galleria/themes/fullscreen/galleria.fullscreen.css +219 -0
  40. data/assets/galleria/themes/fullscreen/galleria.fullscreen.js +197 -0
  41. data/assets/galleria/themes/fullscreen/galleria.fullscreen.min.css +1 -0
  42. data/assets/galleria/themes/fullscreen/galleria.fullscreen.min.js +10 -0
  43. data/assets/galleria/themes/fullscreen/index.html +0 -0
  44. data/assets/galleria/themes/miniml/demo-cdn.html +113 -0
  45. data/assets/galleria/themes/miniml/demo-retina.html +115 -0
  46. data/assets/galleria/themes/miniml/demo.html +115 -0
  47. data/assets/galleria/themes/miniml/galleria.miniml.css +224 -0
  48. data/assets/galleria/themes/miniml/galleria.miniml.js +171 -0
  49. data/assets/galleria/themes/miniml/galleria.miniml.min.css +1 -0
  50. data/assets/galleria/themes/miniml/galleria.miniml.min.js +10 -0
  51. data/assets/galleria/themes/twelve/demo-cdn.html +120 -0
  52. data/assets/galleria/themes/twelve/demo-retina.html +121 -0
  53. data/assets/galleria/themes/twelve/demo.html +121 -0
  54. data/assets/galleria/themes/twelve/galleria.twelve.css +296 -0
  55. data/assets/galleria/themes/twelve/galleria.twelve.js +301 -0
  56. data/assets/galleria/themes/twelve/galleria.twelve.min.css +1 -0
  57. data/assets/galleria/themes/twelve/galleria.twelve.min.js +10 -0
  58. data/assets/js/jquery-3.6.0.min.js +2 -0
  59. metadata +55 -2
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Galleria - v1.6.1 2019-10-17
3
+ *
4
+ *
5
+ * Copyright (c) 2010 - 2019 worse is better UG
6
+ * Licensed under the MIT License.
7
+ */
8
+
9
+
10
+ !function(a,b){"function"==typeof define&&define.amd?define(["../galleria","jquery"],function(c,d){return b(a,c,d)}):"object"==typeof module&&module.exports?module.exports=b(a,require("galleria"),require("jquery")):b(a,a.Galleria,a.jQuery)}(window,function(a,b,c){b.requires(1.25,"The Flickr Plugin requires Galleria version 1.2.5 or later.");b.utils.getScriptPath();b.Flickr=function(a){this.api_key=a||"2a2ce06c15780ebeb0b706650fc890b2",this.options={max:30,imageSize:"medium",thumbSize:"thumb",sort:"interestingness-desc",description:!1,complete:function(){},backlink:!1}},b.Flickr.prototype={constructor:b.Flickr,search:function(a,b){return this._find({text:a},b)},tags:function(a,b){return this._find({tags:a},b)},user:function(a,b){return this._call({method:"flickr.urls.lookupUser",url:"flickr.com/photos/"+a},function(a){this._find({user_id:a.user.id,method:"flickr.people.getPublicPhotos"},b)})},set:function(a,b){return this._find({photoset_id:a,method:"flickr.photosets.getPhotos"},b)},gallery:function(a,b){return this._find({gallery_id:a,method:"flickr.galleries.getPhotos"},b)},groupsearch:function(a,b){return this._call({text:a,method:"flickr.groups.search"},function(a){this.group(a.groups.group[0].nsid,b)})},group:function(a,b){return this._find({group_id:a,method:"flickr.groups.pools.getPhotos"},b)},setOptions:function(a){return c.extend(this.options,a),this},_call:function(a,d){var e="https://api.flickr.com/services/rest/?",f=this;return a=c.extend({format:"json",jsoncallback:"?",api_key:this.api_key},a),c.each(a,function(a,b){e+="&"+a+"="+b}),c.getJSON(e,function(a){"ok"===a.stat?d.call(f,a):b.raise(a.code.toString()+" "+a.stat+": "+a.message,!0)}),f},_getBig:function(a){return a.url_l?a.url_l:parseInt(a.width_o,10)>1280?"https://farm"+a.farm+".static.flickr.com/"+a.server+"/"+a.id+"_"+a.secret+"_b.jpg":a.url_o||a.url_z||a.url_m},_getSize:function(a,b){var c;switch(b){case"thumb":c=a.url_t;break;case"small":c=a.url_s;break;case"big":c=this._getBig(a);break;case"original":c=a.url_o?a.url_o:this._getBig(a);break;default:c=a.url_z||a.url_m}return c},_find:function(a,b){return a=c.extend({method:"flickr.photos.search",extras:"url_t,url_m,url_o,url_s,url_l,url_z,description",sort:this.options.sort,per_page:Math.min(this.options.max,500)},a),this._call(a,function(a){var c,d,e=[],f=a.photos?a.photos.photo:a.photoset.photo,g=f.length;for(d=0;d<g;d++)c=f[d],e.push({thumb:this._getSize(c,this.options.thumbSize),image:this._getSize(c,this.options.imageSize),big:this._getBig(c),title:f[d].title,description:this.options.description&&f[d].description?f[d].description._content:"",link:this.options.backlink?"https://flickr.com/photos/"+c.owner+"/"+c.id:""});b.call(this,e)})}};var d=b.prototype.load;return b.prototype.load=function(){if(arguments.length||"string"!=typeof this._options.flickr)return void d.apply(this,b.utils.array(arguments));var e,f=this,g=b.utils.array(arguments),h=this._options.flickr.split(":"),i=c.extend({},f._options.flickrOptions),j=void 0!==i.loader?i.loader:c("<div>").css({width:48,height:48,opacity:.7,background:"#000 url('data:image/gif;base64,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') no-repeat 50% 50%"});if(h.length){if("function"!=typeof b.Flickr.prototype[h[0]])return b.raise(h[0]+" method not found in Flickr plugin"),d.apply(this,g);if(!h[1])return b.raise("No flickr argument found"),d.apply(this,g);a.setTimeout(function(){f.$("target").append(j)},100),e=new b.Flickr,"object"==typeof f._options.flickrOptions&&e.setOptions(f._options.flickrOptions),e[h[0]](h[1],function(a){f._data=a,j.remove(),f.trigger(b.DATA),e.options.complete.call(e,a)})}else d.apply(this,g)},b});
@@ -0,0 +1,98 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Galleria History Plugin</title>
6
+ <style>
7
+
8
+ /* Demo styles */
9
+ html,body{background:#222;margin:0;}
10
+ body{border-top:4px solid #000;}
11
+ .content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;width:620px;margin:20px auto;}
12
+ h1{font-size:12px;font-weight:normal;color:#ddd;margin:0;}
13
+ p{margin:0 0 20px}
14
+ a {color:#22BCB9;text-decoration:none;}
15
+ .cred{margin-top:20px;font-size:11px;}
16
+
17
+ /* This rule is read by Galleria to define the gallery height: */
18
+ #galleria{height:320px}
19
+
20
+ </style>
21
+
22
+ <!-- load jQuery -->
23
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
24
+
25
+ <!-- load Galleria -->
26
+ <script src="../../galleria.js"></script>
27
+
28
+ <!-- load the History plugin, no need for further scripting -->
29
+ <script src="galleria.history.js"></script>
30
+
31
+ </head>
32
+ <body>
33
+ <div class="content">
34
+ <h1>Galleria History Plugin</h1>
35
+ <p>Demonstrating a basic history example. Supports most browsers, including FF 3.0+ and IE 7+</p>
36
+
37
+ <!-- Adding gallery images. We use resized thumbnails here for better performance, but it’s not necessary -->
38
+
39
+ <div id="galleria">
40
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Locomotives-Roundhouse2.jpg/800px-Locomotives-Roundhouse2.jpg">
41
+ <img title="Locomotives Roundhouse"
42
+ alt="Steam locomotives of the Chicago &amp; North Western Railway."
43
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/34/Locomotives-Roundhouse2.jpg/100px-Locomotives-Roundhouse2.jpg">
44
+ </a>
45
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Icebergs_in_the_High_Arctic_-_20050907.jpg/1000px-Icebergs_in_the_High_Arctic_-_20050907.jpg">
46
+ <img title="Icebergs in the High Arctic"
47
+ alt="”The debris loading isn't particularly extensive, but the color is usual.”"
48
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Icebergs_in_the_High_Arctic_-_20050907.jpg/100px-Icebergs_in_the_High_Arctic_-_20050907.jpg">
49
+ </a>
50
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg/1000px-Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg">
51
+ <img title="Araña"
52
+ alt="Xysticus cristatus, A Estrada, Galicia, Spain"
53
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg/100px-Ara%C3%B1a._A_Estrada%2C_Galiza._02.jpg">
54
+ </a>
55
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg/1000px-9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg">
56
+ <img title="Museo storia naturale"
57
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg/100px-9104_-_Milano_-_Museo_storia_naturale_-_Fluorite_-_Foto_Giovanni_Dall%27Orto_22-Apr-2007.jpg">
58
+ </a>
59
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg/1000px-Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg">
60
+ <img title="Grjótagjá caves in summer 2009"
61
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg/100px-Grj%C3%B3tagj%C3%A1_caves_in_summer_2009_%282%29.jpg">
62
+ </a>
63
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg/1000px-20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg">
64
+ <img title="Thermes"
65
+ alt="Xanthi hot-spa springs, Xanthi Prefecture, Greece"
66
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/90/20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg/100px-20091128_Loutra_Thermes_Xanthi_Thrace_Greece_2.jpg">
67
+ </a>
68
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Polish_Army_Ko%C5%82obrzeg_077.JPG/1024px-Polish_Army_Ko%C5%82obrzeg_077.JPG">
69
+ <img title="Polish Army Kołobrzeg"
70
+ alt="A display of the Polish Army. Both the soldier, and the vehicle belong to the 7th Pomeranian Coastal Defence Brigade, a part of the Szczecin-based 12th Mechanized Division ”Bolesław Krzywousty”"
71
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Polish_Army_Ko%C5%82obrzeg_077.JPG/100px-Polish_Army_Ko%C5%82obrzeg_077.JPG">
72
+ </a>
73
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/20100213_Zlatograd_Bulgaria_3.jpg/1024px-20100213_Zlatograd_Bulgaria_3.jpg">
74
+ <img title="Zlatograd Bulgaria"
75
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/20100213_Zlatograd_Bulgaria_3.jpg/100px-20100213_Zlatograd_Bulgaria_3.jpg">
76
+ </a>
77
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg/1024px-FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg">
78
+ <img title="09-28-2001 in New York City"
79
+ alt="New York, NY, September 28, 2001 -- Debris on surrounding roofs at the site of the World Trade Center. Photo by Andrea Booher/ FEMA News Photo"
80
+ src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg/100px-FEMA_-_5399_-_Photograph_by_Andrea_Booher_taken_on_09-28-2001_in_New_York.jpg">
81
+ </a>
82
+ <a href="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Antennae%2C_Hubble_images.jpg/1024px-Antennae%2C_Hubble_images.jpg">
83
+ <img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Antennae%2C_Hubble_images.jpg/100px-Antennae%2C_Hubble_images.jpg">
84
+ </a>
85
+ </div>
86
+ </div>
87
+
88
+ <script>
89
+ $(function() {
90
+ // Load the classic theme
91
+ Galleria.loadTheme('../../themes/classic/galleria.classic.js');
92
+
93
+ // Initialize Galleria
94
+ Galleria.run('#galleria');
95
+ });
96
+ </script>
97
+ </body>
98
+ </html>
@@ -0,0 +1,164 @@
1
+ /**
2
+ * Galleria History Plugin
3
+ *
4
+ *
5
+ * Copyright (c) 2010 - 2019 worse is better UG
6
+ * Licensed under the MIT License.
7
+ */
8
+
9
+ ( function( window, factory ) {
10
+ if ( typeof define == 'function' && define.amd ) {
11
+ define( ['../galleria', 'jquery' ], function( Galleria, jQuery ) {
12
+ return factory( window, Galleria, jQuery );
13
+ });
14
+ } else if ( typeof module == 'object' && module.exports ) {
15
+ module.exports = factory(
16
+ window,
17
+ require('galleria'),
18
+ require('jquery')
19
+ );
20
+ } else {
21
+ factory(
22
+ window,
23
+ window.Galleria,
24
+ window.jQuery
25
+ );
26
+ }
27
+ }( window, function factory( window, Galleria, $ ) {
28
+
29
+ /*global jQuery, Galleria, window */
30
+
31
+ Galleria.requires(1.25, 'The History Plugin requires Galleria version 1.2.5 or later.');
32
+
33
+ Galleria.History = (function() {
34
+
35
+ var onloads = [],
36
+
37
+ init = false,
38
+
39
+ loc = window.location,
40
+
41
+ doc = window.document,
42
+
43
+ ie = Galleria.IE,
44
+
45
+ support = 'onhashchange' in window && ( doc.mode === undefined || doc.mode > 7 ),
46
+
47
+ iframe,
48
+
49
+ get = function( winloc ) {
50
+ if( iframe && !support && Galleria.IE ) {
51
+ winloc = winloc || iframe.location;
52
+ } else {
53
+ winloc = loc;
54
+ }
55
+ return parseInt( winloc.hash.substr(2), 10 );
56
+ },
57
+
58
+ saved = get( loc ),
59
+
60
+ callbacks = [],
61
+
62
+ onchange = function() {
63
+ $.each( callbacks, function( i, fn ) {
64
+ fn.call( window, get() );
65
+ });
66
+ },
67
+
68
+ ready = function() {
69
+ $.each( onloads, function(i, fn) {
70
+ fn();
71
+ });
72
+
73
+ init = true;
74
+ },
75
+
76
+ setHash = function( val ) {
77
+ return '/' + val;
78
+ };
79
+
80
+ // always remove support if IE < 8
81
+ if ( support && ie < 8 ) {
82
+ support = false;
83
+ }
84
+
85
+ if ( !support ) {
86
+
87
+ $(function() {
88
+
89
+ var interval = window.setInterval(function() {
90
+
91
+ var hash = get();
92
+
93
+ if ( !isNaN( hash ) && hash != saved ) {
94
+ saved = hash;
95
+ loc.hash = setHash( hash );
96
+ onchange();
97
+ }
98
+
99
+ }, 50);
100
+
101
+ if ( ie ) {
102
+
103
+ $('<iframe tabindex="-1" title="empty">').hide().attr( 'src', 'about:blank' ).one('load', function() {
104
+
105
+ iframe = this.contentWindow;
106
+
107
+ ready();
108
+
109
+ }).insertAfter(doc.body);
110
+
111
+ } else {
112
+ ready();
113
+ }
114
+ });
115
+ } else {
116
+ ready();
117
+ }
118
+
119
+ return {
120
+
121
+ change: function( fn ) {
122
+
123
+ callbacks.push( fn );
124
+
125
+ if( support ) {
126
+ window.onhashchange = onchange;
127
+ }
128
+ },
129
+
130
+ set: function( val ) {
131
+
132
+ if ( isNaN( val ) ) {
133
+ return;
134
+ }
135
+
136
+ if ( !support && ie ) {
137
+
138
+ this.ready(function() {
139
+
140
+ var idoc = iframe.document;
141
+ idoc.open();
142
+ idoc.close();
143
+
144
+ iframe.location.hash = setHash( val );
145
+
146
+ });
147
+ }
148
+
149
+ loc.hash = setHash( val );
150
+ },
151
+
152
+ ready: function(fn) {
153
+ if (!init) {
154
+ onloads.push(fn);
155
+ } else {
156
+ fn();
157
+ }
158
+ }
159
+ };
160
+ }());
161
+
162
+ return Galleria;
163
+ }));
164
+
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Galleria - v1.6.1 2019-10-17
3
+ *
4
+ *
5
+ * Copyright (c) 2010 - 2019 worse is better UG
6
+ * Licensed under the MIT License.
7
+ */
8
+
9
+
10
+ !function(a,b){"function"==typeof define&&define.amd?define(["../galleria","jquery"],function(c,d){return b(a,c,d)}):"object"==typeof module&&module.exports?module.exports=b(a,require("galleria"),require("jquery")):b(a,a.Galleria,a.jQuery)}(window,function(a,b,c){return b.requires(1.25,"The History Plugin requires Galleria version 1.2.5 or later."),b.History=function(){var d,e=[],f=!1,g=a.location,h=a.document,i=b.IE,j="onhashchange"in a&&(void 0===h.mode||h.mode>7),k=function(a){return a=d&&!j&&b.IE?a||d.location:g,parseInt(a.hash.substr(2),10)},l=k(g),m=[],n=function(){c.each(m,function(b,c){c.call(a,k())})},o=function(){c.each(e,function(a,b){b()}),f=!0},p=function(a){return"/"+a};return j&&i<8&&(j=!1),j?o():c(function(){a.setInterval(function(){var a=k();isNaN(a)||a==l||(l=a,g.hash=p(a),n())},50);i?c('<iframe tabindex="-1" title="empty">').hide().attr("src","about:blank").one("load",function(){d=this.contentWindow,o()}).insertAfter(h.body):o()}),{change:function(b){m.push(b),j&&(a.onhashchange=n)},set:function(a){isNaN(a)||(!j&&i&&this.ready(function(){var b=d.document;b.open(),b.close(),d.location.hash=p(a)}),g.hash=p(a))},ready:function(a){f?a():e.push(a)}}}(),b});
@@ -0,0 +1,118 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width,initial-scale=0.3">
6
+ <title>Galleria Azur Theme</title>
7
+
8
+ <link rel="stylesheet" type="text/css" href="galleria.azur.min.css" />
9
+
10
+ <style>
11
+
12
+ /* Demo styles */
13
+ html,body{background:#eee;margin:0;}
14
+ .content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;max-width:820px;margin:20px auto;}
15
+ h1{font-size:12px;font-weight:normal;color:#222;margin:0;}
16
+ p{margin:0 0 20px}
17
+ a {color:#22BCB9;text-decoration:none;}
18
+ .galleria-info-description a { color: #bbb;}
19
+ .cred{margin-top:20px;font-size:11px;}
20
+
21
+ /* Gallery measures that will be applied */
22
+ .galleria {
23
+ height:420px; /* defines a static gallery height */
24
+ max-width:820px; /* defines a responsive width */
25
+ }
26
+
27
+ </style>
28
+ </head>
29
+ <body>
30
+ <div class="content">
31
+ <h1>Galleria Azur Theme</h1>
32
+ <p>Demonstrating a simple example.</p>
33
+
34
+ <div class="galleria">
35
+ <a href="https://picsum.photos/id/389/1024/768.jpg">
36
+ <img src="https://picsum.photos/id/389/150/100.jpg"
37
+ data-big="https://picsum.photos/id/389/1440/1080.jpg"
38
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/bt-Sc22W-BE&quot;&gt;Jake Hills&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
39
+ data-title="Footsteps">
40
+ </a>
41
+ <a href="https://picsum.photos/id/675/1024/768.jpg">
42
+ <img src="https://picsum.photos/id/675/150/100.jpg"
43
+ data-big="https://picsum.photos/id/675/1440/1080.jpg"
44
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/hBYzBU1xP6s&quot;&gt;Barn Images&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
45
+ data-title="Waves washes on beach shore">
46
+ </a>
47
+ <a href="https://picsum.photos/id/525/1024/768.jpg">
48
+ <img src="https://picsum.photos/id/525/150/100.jpg"
49
+ data-big="https://picsum.photos/id/525/1440/1080.jpg"
50
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/aViOQZzikVs&quot;&gt;Luca Zanon&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
51
+ data-title="Extreme Desert Hike">
52
+ </a>
53
+ <a href="https://picsum.photos/id/349/1024/768.jpg">
54
+ <img src="https://picsum.photos/id/349/150/100.jpg"
55
+ data-big="https://picsum.photos/id/349/1440/1080.jpg"
56
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/FmMivfgHCiM&quot;&gt;Caleb George&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
57
+ data-title="Man in front of skyline">
58
+ </a>
59
+ <a href="https://picsum.photos/id/120/1024/768.jpg">
60
+ <img src="https://picsum.photos/id/120/150/100.jpg"
61
+ data-big="https://picsum.photos/id/120/1440/1080.jpg"
62
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/_DA3D5P71qs&quot;&gt;Guillaume&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
63
+ data-title="Milky Way Night Sky">
64
+ </a>
65
+ <a href="https://picsum.photos/id/299/1024/768.jpg">
66
+ <img src="https://picsum.photos/id/299/150/100.jpg"
67
+ data-big="https://picsum.photos/id/299/1440/1080.jpg"
68
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/nOhUx3tiaQQ&quot;&gt;Matthew Wiebe&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
69
+ data-title="My favorite building in the city">
70
+ </a>
71
+ <a href="https://picsum.photos/id/219/1024/768.jpg">
72
+ <img src="https://picsum.photos/id/219/150/100.jpg"
73
+ data-big="https://picsum.photos/id/219/1440/1080.jpg"
74
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/7iB4OZDlRok&quot;&gt;Martyn Seddon&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
75
+ data-title="Encounter with a leopard">
76
+ </a>
77
+ <a href="https://picsum.photos/id/856/1024/768.jpg">
78
+ <img src="https://picsum.photos/id/856/150/100.jpg"
79
+ data-big="https://picsum.photos/id/856/1440/1080.jpg"
80
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/omKdUQ9R3Zo&quot;&gt;Olu Eletu&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
81
+ data-title="Elegant man with hot coffee">
82
+ </a>
83
+ <a href="https://picsum.photos/id/531/1024/768.jpg">
84
+ <img src="https://picsum.photos/id/531/150/100.jpg"
85
+ data-big="https://picsum.photos/id/531/1440/1080.jpg"
86
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/zr8msYQhfRg&quot;&gt;Jeff Sheldon&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
87
+ data-title="Vintage cameras">
88
+ </a>
89
+ <a href="https://picsum.photos/id/426/1024/768.jpg">
90
+ <img src="https://picsum.photos/id/426/150/100.jpg"
91
+ data-big="https://picsum.photos/id/426/1440/1080.jpg"
92
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/01ZeHnK3F_4&quot;&gt;Ales Krivec&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
93
+ data-title="Valley town">
94
+ </a>
95
+ <a href="https://vimeo.com/25750735">
96
+ <span class="video">Works for vimeo too.</span>
97
+ </a>
98
+ <a href="https://www.youtube.com/watch?v=PEEXZZ071FE">
99
+ <span class="video">Works for youtube too.</span>
100
+ </a>
101
+ </div>
102
+
103
+
104
+ </div>
105
+ <!-- load jQuery -->
106
+ <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.js"></script> -->
107
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
108
+ <!-- load Galleria -->
109
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.6.1/galleria.min.js"></script>
110
+ <script src="galleria.azur.min.js"></script>
111
+ <script>
112
+ $(function() {
113
+ // Initialize Galleria
114
+ Galleria.run('.galleria');
115
+ });
116
+ </script>
117
+ </body>
118
+ </html>
@@ -0,0 +1,120 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width,initial-scale=0.3">
6
+ <title>Galleria Azur Theme</title>
7
+ <style>
8
+
9
+ /* Demo styles */
10
+ html,body{background:#eee;margin:0;}
11
+ .content{color:#777;font:12px/1.4 "helvetica neue",arial,sans-serif;max-width:820px;margin:20px auto;}
12
+ h1{font-size:12px;font-weight:normal;color:#222;margin:0;}
13
+ p{margin:0 0 20px}
14
+ a {color:#22BCB9;text-decoration:none;}
15
+ .galleria-info-description a { color: #bbb;}
16
+ .cred{margin-top:20px;font-size:11px;}
17
+
18
+ /* Gallery measures that will be applied */
19
+ .galleria {
20
+ height:420px; /* defines a static gallery height */
21
+ max-width:820px; /* defines a responsive width */
22
+ }
23
+
24
+ </style>
25
+
26
+ <!-- load jQuery -->
27
+ <!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.js"></script> -->
28
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script>
29
+
30
+ <!-- load Galleria -->
31
+ <script src="../../galleria.js"></script>
32
+
33
+ </head>
34
+ <body>
35
+ <div class="content">
36
+ <h1>Galleria Azur Theme</h1>
37
+ <p>Demonstrating a simple example.</p>
38
+
39
+ <div class="galleria">
40
+ <a href="https://picsum.photos/id/389/1024/768.jpg" data-srcset="https://picsum.photos/id/389/1024/768.jpg 1x, https://picsum.photos/id/389/2048/1536.jpg 2x">
41
+ <img src="https://picsum.photos/id/389/150/100.jpg" srcset="https://picsum.photos/id/389/150/100.jpg 1x, https://picsum.photos/id/389/300/200.jpg 2x"
42
+ data-big="https://picsum.photos/id/389/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/389/1440/1080.jpg 1x, https://picsum.photos/id/389/2880/2160.jpg 2x"
43
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/bt-Sc22W-BE&quot;&gt;Jake Hills&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
44
+ data-title="Footsteps">
45
+ </a>
46
+ <a href="https://picsum.photos/id/675/1024/768.jpg" data-srcset="https://picsum.photos/id/675/1024/768.jpg 1x, https://picsum.photos/id/675/2048/1536.jpg 2x">
47
+ <img src="https://picsum.photos/id/675/150/100.jpg" srcset="https://picsum.photos/id/675/150/100.jpg 1x, https://picsum.photos/id/675/300/200.jpg 2x"
48
+ data-big="https://picsum.photos/id/675/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/675/1440/1080.jpg 1x, https://picsum.photos/id/675/2880/2160.jpg 2x"
49
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/hBYzBU1xP6s&quot;&gt;Barn Images&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
50
+ data-title="Waves washes on beach shore">
51
+ </a>
52
+ <a href="https://picsum.photos/id/525/1024/768.jpg" data-srcset="https://picsum.photos/id/525/1024/768.jpg 1x, https://picsum.photos/id/525/2048/1536.jpg 2x">
53
+ <img src="https://picsum.photos/id/525/150/100.jpg" srcset="https://picsum.photos/id/525/150/100.jpg 1x, https://picsum.photos/id/525/300/200.jpg 2x"
54
+ data-big="https://picsum.photos/id/525/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/525/1440/1080.jpg 1x, https://picsum.photos/id/525/2880/2160.jpg 2x"
55
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/aViOQZzikVs&quot;&gt;Luca Zanon&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
56
+ data-title="Extreme Desert Hike">
57
+ </a>
58
+ <a href="https://picsum.photos/id/349/1024/768.jpg" data-srcset="https://picsum.photos/id/349/1024/768.jpg 1x, https://picsum.photos/id/349/2048/1536.jpg 2x">
59
+ <img src="https://picsum.photos/id/349/150/100.jpg" srcset="https://picsum.photos/id/349/150/100.jpg 1x, https://picsum.photos/id/349/300/200.jpg 2x"
60
+ data-big="https://picsum.photos/id/349/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/349/1440/1080.jpg 1x, https://picsum.photos/id/349/2880/2160.jpg 2x"
61
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/FmMivfgHCiM&quot;&gt;Caleb George&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
62
+ data-title="Man in front of skyline">
63
+ </a>
64
+ <a href="https://picsum.photos/id/120/1024/768.jpg" data-srcset="https://picsum.photos/id/120/1024/768.jpg 1x, https://picsum.photos/id/120/2048/1536.jpg 2x">
65
+ <img src="https://picsum.photos/id/120/150/100.jpg" srcset="https://picsum.photos/id/120/150/100.jpg 1x, https://picsum.photos/id/120/300/200.jpg 2x"
66
+ data-big="https://picsum.photos/id/120/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/120/1440/1080.jpg 1x, https://picsum.photos/id/120/2880/2160.jpg 2x"
67
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/_DA3D5P71qs&quot;&gt;Guillaume&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
68
+ data-title="Milky Way Night Sky">
69
+ </a>
70
+ <a href="https://picsum.photos/id/299/1024/768.jpg" data-srcset="https://picsum.photos/id/299/1024/768.jpg 1x, https://picsum.photos/id/299/2048/1536.jpg 2x">
71
+ <img src="https://picsum.photos/id/299/150/100.jpg" srcset="https://picsum.photos/id/299/150/100.jpg 1x, https://picsum.photos/id/299/300/200.jpg 2x"
72
+ data-big="https://picsum.photos/id/299/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/299/1440/1080.jpg 1x, https://picsum.photos/id/299/2880/2160.jpg 2x"
73
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/nOhUx3tiaQQ&quot;&gt;Matthew Wiebe&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
74
+ data-title="My favorite building in the city">
75
+ </a>
76
+ <a href="https://picsum.photos/id/219/1024/768.jpg" data-srcset="https://picsum.photos/id/219/1024/768.jpg 1x, https://picsum.photos/id/219/2048/1536.jpg 2x">
77
+ <img src="https://picsum.photos/id/219/150/100.jpg" srcset="https://picsum.photos/id/219/150/100.jpg 1x, https://picsum.photos/id/219/300/200.jpg 2x"
78
+ data-big="https://picsum.photos/id/219/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/219/1440/1080.jpg 1x, https://picsum.photos/id/219/2880/2160.jpg 2x"
79
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/7iB4OZDlRok&quot;&gt;Martyn Seddon&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
80
+ data-title="Encounter with a leopard">
81
+ </a>
82
+ <a href="https://picsum.photos/id/856/1024/768.jpg" data-srcset="https://picsum.photos/id/856/1024/768.jpg 1x, https://picsum.photos/id/856/2048/1536.jpg 2x">
83
+ <img src="https://picsum.photos/id/856/150/100.jpg" srcset="https://picsum.photos/id/856/150/100.jpg 1x, https://picsum.photos/id/856/300/200.jpg 2x"
84
+ data-big="https://picsum.photos/id/856/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/856/1440/1080.jpg 1x, https://picsum.photos/id/856/2880/2160.jpg 2x"
85
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/omKdUQ9R3Zo&quot;&gt;Olu Eletu&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
86
+ data-title="Elegant man with hot coffee">
87
+ </a>
88
+ <a href="https://picsum.photos/id/531/1024/768.jpg" data-srcset="https://picsum.photos/id/531/1024/768.jpg 1x, https://picsum.photos/id/531/2048/1536.jpg 2x">
89
+ <img src="https://picsum.photos/id/531/150/100.jpg" srcset="https://picsum.photos/id/531/150/100.jpg 1x, https://picsum.photos/id/531/300/200.jpg 2x"
90
+ data-big="https://picsum.photos/id/531/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/531/1440/1080.jpg 1x, https://picsum.photos/id/531/2880/2160.jpg 2x"
91
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/zr8msYQhfRg&quot;&gt;Jeff Sheldon&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
92
+ data-title="Vintage cameras">
93
+ </a>
94
+ <a href="https://picsum.photos/id/426/1024/768.jpg" data-srcset="https://picsum.photos/id/426/1024/768.jpg 1x, https://picsum.photos/id/426/2048/1536.jpg 2x">
95
+ <img src="https://picsum.photos/id/426/150/100.jpg" srcset="https://picsum.photos/id/426/150/100.jpg 1x, https://picsum.photos/id/426/300/200.jpg 2x"
96
+ data-big="https://picsum.photos/id/426/1440/1080.jpg" data-bigsrcset="https://picsum.photos/id/426/1440/1080.jpg 1x, https://picsum.photos/id/426/2880/2160.jpg 2x"
97
+ data-description="by &lt;a href=&quot;https://unsplash.com/photos/01ZeHnK3F_4&quot;&gt;Ales Krivec&lt;/a&gt; on &lt;a href=&quot;https://unsplash.com&quot;&gt;Unsplash&lt;/a&gt;"
98
+ data-title="Valley town">
99
+ </a>
100
+ <a href="https://vimeo.com/25750735">
101
+ <span class="video">Works for vimeo too.</span>
102
+ </a>
103
+ <a href="https://www.youtube.com/watch?v=PEEXZZ071FE">
104
+ <span class="video">Works for youtube too.</span>
105
+ </a>
106
+ </div>
107
+
108
+
109
+ </div>
110
+ <script>
111
+ $(function() {
112
+ // Load the Azur theme
113
+ Galleria.loadTheme('galleria.azur.js');
114
+
115
+ // Initialize Galleria
116
+ Galleria.run('.galleria');
117
+ });
118
+ </script>
119
+ </body>
120
+ </html>