jekyll-theme-monty 1.2.2 → 1.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe4ec3657e78d143e13b74ff7027cb5c70e37e4c769533a6d010f35d5fd31091
4
- data.tar.gz: 69736c7543934388fff7eb66d49856335a670ad1ca76b50243ceb634f13c30f1
3
+ metadata.gz: fefa320a61a8a9fb35d493415767ee98f489af207c01abe76bbb79d954eebf40
4
+ data.tar.gz: 2f2eecd6db5edc7816e8f57138666ebffea67fc18375cedd51c2af649e8012fe
5
5
  SHA512:
6
- metadata.gz: 7f1a8fc7822dae7c343c1560e5b0f68b9996bd4b2f5fc8eecb79e13bcd8b3fab9be096e6ec812c682ac248943b3db12a4f73660815304f7cedf7e5617bf96bf9
7
- data.tar.gz: 43717dbdd3cfdb3ae6b0b666e1f5cbc00ef4f8b697fe0851ad0d8f9a4bb45a8d5675a1fd3114215c4ecedf54f1baeda21ca40421d26eb30b49c5c912b8f09145
6
+ metadata.gz: 88e94c6ee4d58b0f6e050abd9db423612386f781735d71a5b84c7f2b02cbb97accd7dd561a5e16fadd6219c3ddff4846e433a24264e1f641de867ea83afee9a7
7
+ data.tar.gz: 8f14d01dc8d1a996dee927a769d7e7d24b5b397ce6c29094c33a5588e5f24a394838f5ae1e80fec87ecc60184ac5d09c855f9705f25cd1ccfb1c9b6b99d953ec
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.2.3]
8
+
9
+ ### Fixed
10
+
11
+ - Set max width and height for images and figures
12
+
7
13
  ## [1.2.2]
8
14
 
9
15
  ### Fixed
data/_sass/main.scss CHANGED
@@ -3,7 +3,7 @@ html {
3
3
  color: $primary;
4
4
  font-family: "Jost";
5
5
  line-height: 1.5;
6
- max-width: 80ch;
6
+ max-width: $width;
7
7
  padding: 16px;
8
8
  }
9
9
  :is(h2, h3, h4, h5, h6) {
@@ -18,7 +18,7 @@ footer ul {
18
18
  align-items: left;
19
19
  display: flex;
20
20
  flex-wrap: wrap;
21
- gap: 1em;
21
+ gap: $gap;
22
22
  list-style-type: none;
23
23
  margin: 0;
24
24
  padding: 0;
@@ -38,7 +38,20 @@ footer hr {
38
38
 
39
39
  // Images
40
40
  img {
41
- max-width: 100%;
41
+ max-width: calc(0.8 * #{$width});
42
+ max-height: calc(0.6 * #{$width});
43
+ }
44
+
45
+ figure {
46
+ display: flex;
47
+ flex-direction: column;
48
+ align-items: center;
49
+ gap: $gap;
50
+ }
51
+
52
+ figure figcaption {
53
+ max-width: calc(0.8 * #{$width});
54
+ font-size: 95%;
42
55
  }
43
56
 
44
57
  // Lists
data/_sass/variables.scss CHANGED
@@ -4,3 +4,7 @@ $primary: #222;
4
4
  // Typography
5
5
  $indentation: 20px;
6
6
  $border: 1px solid $primary;
7
+
8
+ // Size
9
+ $width: 80ch;
10
+ $gap: 1em;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-monty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - brolun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-09 00:00:00.000000000 Z
11
+ date: 2025-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll