intranet-core 2.3.1 → 2.3.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
  SHA256:
3
- metadata.gz: db45417345875ffcbd1500ce99febcb8e52cdd55934c44812310e75d8dbd85a1
4
- data.tar.gz: e330a7b69c123a4c380682dbf3a39ff3a92365f8d0bdcf4ceaa1e175a74ad497
3
+ metadata.gz: c7e47a94a48b6d2b3f4c65189c7fc94327e5f53de9a899bcb28da2258e6070fb
4
+ data.tar.gz: add7936f6332a55e6c941a921d6640f1cbfdaab2cb898f5379ee00a22a64d518
5
5
  SHA512:
6
- metadata.gz: 360437f3351b25f886a44da9232ab7d844f4fcfcc25d1030b92ea3f6b24370613a3bc9a0dc3fc80ac000df6365a4cdc39da4c85f50ed3351603a345797e1e842
7
- data.tar.gz: ad870fc6849c997b62d60618828c292087d3a0232202d340bd18772dda6241f11ccd86a6bd91589f66f3e1cbd67165356728a0e552baf0019f30bc207c10a1d2
6
+ metadata.gz: 88b987f64a395931ef5da9cd12988d6b0d798428511cda1e23b10ae36ed8f7e50460fc2ccfb1faf89aaa8f6c2e36f97ccb730d0be7f6b401df6ceb61e93b6981
7
+ data.tar.gz: eaf83db0c2c7a1c1692659a3a2442741972fbf75248da2bbd6ef012d37be3dc1434d1155099fc9767f318373802490eaf8c11dd4ef881b21440586e52d2b1a2a
@@ -6,7 +6,7 @@ module Intranet
6
6
  NAME = 'intranet-core'
7
7
 
8
8
  # The version of the gem, according to semantic versionning.
9
- VERSION = '2.3.1'
9
+ VERSION = '2.3.2'
10
10
 
11
11
  # The URL of the gem homepage.
12
12
  HOMEPAGE_URL = 'https://rubygems.org/gems/intranet-core'
@@ -24,11 +24,16 @@ body {
24
24
  background: #1e262b;
25
25
  font-family: "Source Sans Pro", Cantarell, sans-serif;
26
26
  color: black;
27
+ font-size: 1.0rem;
28
+ -moz-text-size-adjust: none;
29
+ -webkit-text-size-adjust: none;
30
+ -ms-text-size-adjust: none;
31
+ font-size-adjust: none;
27
32
  }
28
33
  /* Mobile devices only */
29
34
  @media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
30
35
  body {
31
- font-size: 180%;
36
+ font-size: 1.8rem;
32
37
  }
33
38
  }
34
39
 
@@ -51,7 +56,7 @@ header {
51
56
  }
52
57
  header h1 {
53
58
  float: left;
54
- font-size: 225%;
59
+ font-size: 2.25em;
55
60
  font-weight: 500;
56
61
  margin: 0px;
57
62
  padding: 5px 20px 8px; /* top sides bottom */
@@ -67,11 +72,11 @@ header nav ul {
67
72
  header nav > ul > li {
68
73
  display: inline-block;
69
74
  }
70
- header nav > ul > li a, header a#openmenu, header a#closemenu {
75
+ header nav > ul > li a, header a#closemenu {
71
76
  display: block;
72
77
  padding: 16px 20px;
73
78
  margin: 0px;
74
- font-size: 125%;
79
+ font-size: 1.25em;
75
80
  color: rgba(255, 255, 255, 0.7);
76
81
  }
77
82
  header nav > ul > li a:hover {
@@ -100,21 +105,18 @@ header a#openmenu, header a#closemenu {
100
105
 
101
106
  /* Mobile devices only */
102
107
  @media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
103
- header {
104
- height: 100px;
105
- }
106
108
  header a#openmenu {
107
109
  display: block;
108
110
  position: absolute;
109
- top: 0;
110
- left: 0;
111
- font-size: 190%;
111
+ top: 12%;
112
+ left: 20px;
113
+ font-size: 2em;
112
114
  font-weight: bold;
113
115
  color: white;
114
116
  }
115
117
  header nav a#closemenu {
116
118
  display: block;
117
- font-size: 250%;
119
+ font-size: 2.5em;
118
120
  font-weight: bold;
119
121
  color: white;
120
122
  text-align: right;
@@ -132,7 +134,7 @@ header a#openmenu, header a#closemenu {
132
134
  padding: 0;
133
135
  z-index: 1;
134
136
  background: inherit;
135
- font-size: 125%;
137
+ font-size: 1.25em;
136
138
  overflow-y: scroll;
137
139
  width: 0;
138
140
  max-width: 100%;
@@ -164,11 +166,11 @@ header a#openmenu, header a#closemenu {
164
166
  }
165
167
  }
166
168
 
167
- /* breadcrump navigation menu */
169
+ /* breadcrumb navigation menu */
168
170
  ul.breadcrumb {
169
171
  list-style: none;
170
172
  padding: 0px;
171
- font-size: 90%;
173
+ font-size: 0.9em;
172
174
  margin-bottom: 50px;
173
175
  }
174
176
  ul.breadcrumb li {
@@ -220,7 +222,7 @@ body > main hr {
220
222
  }
221
223
 
222
224
  body > main section h2 {
223
- font-size: 200%;
225
+ font-size: 2em;
224
226
  text-align: center;
225
227
  margin: 50px 0px 2em; /* top sides bottom */
226
228
  }
@@ -228,6 +230,7 @@ body > main article h2 {
228
230
  margin-bottom: 40px;
229
231
  }
230
232
  body > main section h3 {
233
+ font-size: 1.17em;
231
234
  margin: 3em 0px 1em; /* top sides bottom */
232
235
  }
233
236
 
@@ -250,7 +253,9 @@ body > footer {
250
253
  text-align: center;
251
254
  color: white;
252
255
  padding: 15px 0px; /* top sides */
253
- font-size: 10pt;
256
+ }
257
+ body > footer p {
258
+ font-size: 0.85em;
254
259
  }
255
260
  body > footer aside#modal { /* modal box container */
256
261
  display: none;
@@ -266,11 +271,12 @@ body > footer aside#modal { /* modal box container */
266
271
  }
267
272
  body > footer aside#modal #modal-content { /* modal box */
268
273
  background-color: #f7f8fa;
269
- margin: 15% auto;
274
+ margin: auto;
275
+ margin-top: 50vh;
276
+ transform: translateY(-50%);
270
277
  padding: 20px 25px 40px; /* top sides bottom */
271
278
  border: 1px solid #1e262b;
272
- width: 400px;
273
- font-size: 125%;
279
+ width: 425px;
274
280
  }
275
281
  body > footer aside#modal #modal-content dl {
276
282
  display: grid;
@@ -285,12 +291,6 @@ body > footer aside#modal #modal-content dl dd {
285
291
  text-align: left;
286
292
  margin-left: 0;
287
293
  }
288
- /* Mobile devices only */
289
- @media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
290
- body > footer {
291
- font-size: 13pt;
292
- }
293
- }
294
294
 
295
295
 
296
296
  /******************************************* Error pages ******************************************/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intranet-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
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-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml