intranet-pictures 1.0.1 → 1.0.3

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
  SHA256:
3
- metadata.gz: 42beab994981aa7bc689ea5ad6f5dd7adad424b46c9f13b33ecc55ad89199b5d
4
- data.tar.gz: f4a3214ca9a29331c28f2080c2c8265ed8ba8ba31eb2565b5206704b8bb53552
3
+ metadata.gz: 4c93c1b51aaf95fe8d2b1a0b36d025642b43cfb7b44f51038b586be82556f6b9
4
+ data.tar.gz: 9243049346ad0b8c5894a2b1971e786102f7f7853d56458f10a4476b6d64c0a9
5
5
  SHA512:
6
- metadata.gz: fa46c519503498af50e612ce4bc14040134a939732753e0eaa98144b37d88485fcbb40f176b42e0c154a82275cca18c9cb2fcb8ce3ad9a0366c855495d5b5d3c
7
- data.tar.gz: 98effc28029acce7b7932299e9371d40092977309774bddaf77b101923ae5c9df176eb9ed4fcca8cf1a0ccdc6036fb3e0c5604fc45bfa580ee7095685bf0487b
6
+ metadata.gz: b49d7ca5dd4179b4751aeb200a6df9596edce76302a4a74d72fc80deb704deb5657cfe4dd2b48d367a4a4b5b475556b56fe81c97402d13597650e4eb9bde11c6
7
+ data.tar.gz: 0d3d8d758fc87d821dea83a56ee7435036036f105909d2b137f35d34a6d064b2dd5571a92e00b20013a0bdeaf9bfa6a5d4194d2bf50d1fd71021d44036f593ef
@@ -8,7 +8,7 @@ module Intranet
8
8
  NAME = 'intranet-pictures'
9
9
 
10
10
  # The version of the gem, according to semantic versionning.
11
- VERSION = '1.0.1'
11
+ VERSION = '1.0.3'
12
12
 
13
13
  # The URL of the gem homepage.
14
14
  HOMEPAGE_URL = 'https://rubygems.org/gems/intranet-pictures'
@@ -273,11 +273,11 @@ a.pswp__share--download:hover {
273
273
 
274
274
  .pswp__caption__center {
275
275
  text-align: center; /* patch intranet */
276
- max-width: 600px; /* patch intranet */
276
+ /*max-width: 420px;*/ /* patch intranet */
277
277
  margin: 0 auto;
278
278
  font-size: 100%; /* patch intranet */
279
- padding: 10px;
280
- line-height: 20px;
279
+ padding: 0.625em; /* patch intranet */
280
+ /*line-height: 20px;*/ /* patch intranet */
281
281
  font-weight: bold; /* patch intranet */
282
282
  color: #CCC; }
283
283
 
@@ -18,7 +18,7 @@ ul.groups {
18
18
  display: grid;
19
19
  grid-template-columns: repeat(4, 1fr);
20
20
  grid-auto-flow: dense;
21
- gap: 30px;
21
+ gap: 1.875em;
22
22
  padding: 0px;
23
23
  margin: 1em 15px 0px; /* top sides bottom */
24
24
  }
@@ -28,7 +28,6 @@ ul.groups.wide {
28
28
  ul.groups li {
29
29
  display: block;
30
30
  width: 100%;
31
- max-width: 270px;
32
31
  margin: 0px;
33
32
  background: #ffffff;
34
33
  text-align: center;
@@ -38,9 +37,6 @@ ul.groups li {
38
37
  border-radius: 3px;
39
38
  justify-self: center;
40
39
  }
41
- ul.groups.wide li {
42
- max-width: 570px;
43
- }
44
40
 
45
41
  /* Small screens only */
46
42
  @media only screen and (max-width: 1023px), only screen and (max-device-width: 1023px) {
@@ -59,6 +55,7 @@ ul.groups li figure div {
59
55
  height: 0px;
60
56
  padding-bottom: 74.075%; /* 200:270 ratio */
61
57
  background: no-repeat center;
58
+ background-size: cover;
62
59
  }
63
60
  ul.groups.wide li figure div {
64
61
  padding-bottom: 43.860%; /* 250:570 ratio */
@@ -73,7 +70,7 @@ ul.groups li figcaption {
73
70
  ul.groups li em {
74
71
  display: inline-block;
75
72
  margin-top: 0.5em;
76
- font-size: 90%;
73
+ font-size: 0.9em;
77
74
  }
78
75
 
79
76
  ul.groups li:hover, ul.groups li:focus {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intranet-pictures
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ebling Mis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: intranet-core