jekyll-theme-centos 2.35.0 → 2.36.0

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: 469fe3607723c5c9d7af8cafc4fa0c7c87d1eeea1f9049f7faa6cd6e183721ee
4
- data.tar.gz: 5374661007a5394b5373d59f1d31934c617eb5abfffcf2bc04a3aa49d89a3166
3
+ metadata.gz: 0ad0d0210f0629c0f0975b791b153f6bc915266f48ed3ce36daf4fc4eaf662a4
4
+ data.tar.gz: 991fac94f1374eae4cb98c16aec48f9101ce91ec2dd45e74887c72ed23cef23a
5
5
  SHA512:
6
- metadata.gz: a6c6d72ba45b7cf0bf1fccf723a157e1c667023ad746128792a41e2307eabf179de1087d560e6d64af25ff1c93e18304b597d0d299bb5381ec5af4bf4694d305
7
- data.tar.gz: cc470609b99cacc9eebc2d06c1069c1821eebb14a06203d5cc7eb07fb77949b445e5d619686212b445dc03e90528a025146f2d1e1affac3daa3269bf9c537cb7
6
+ metadata.gz: f5e67f72b143bf8111829b47c7e3d88490748ec8dacdf8188c748575d80b805d5b595adb0e18d6183b06c41fbc4aa92b1a69d8f5402b23014021389ea450224d
7
+ data.tar.gz: 3e720884a340c566d7d3176a00c2f224d6e0c9e1cc0f084d1f1230b9abbddd5ece2029f418386ff90e6206acf9db5b24c15b03a7e2dc42812b9da2587708a8f0
@@ -1,4 +1,10 @@
1
- <figure class="figure">
1
+ {% if include.alt %}
2
+ {% assign figid = include.alt %}
3
+ {% else %}
4
+ {% assign figid = include.file %}
5
+ {% endif %}
6
+
7
+ <figure id="{{ figid | downcase | replace: ' ', '-' | replace: '/', '-' | remove: '.' }}" class="figure">
2
8
  {% if include.url %}
3
9
  <a href="{{ include.url }}">
4
10
  <img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ include.file }}" class="figure-img img-fluid rounded{% if include.extraclasses %} {{ include.extraclasses }}{% endif %}" alt="{{ include.alt }}"/>
@@ -41,6 +41,10 @@ main {
41
41
  scroll-margin-bottom: 100px;
42
42
  margin-top: 3rem;
43
43
  }
44
+ .content > figure {
45
+ scroll-margin-top: 80px;
46
+ scroll-margin-bottom: 100px;
47
+ }
44
48
 
45
49
  .content {
46
50
  // --------------------------------------------------------------------------------
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.35.0
4
+ version: 2.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ReleaseBot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-02 00:00:00.000000000 Z
11
+ date: 2023-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll