benjeto-jekyll-theme 0.3.1 → 0.3.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: 9af5628f32a23074a4ce89b7ab14ff2b3b7bddb0d121160687b2c29d2c1b4fc1
4
- data.tar.gz: ed5bdc52393bbf4e6360bda721d3614a9240c28d406460b1630eae6c13d894b4
3
+ metadata.gz: 4d5aa8fe7d80cac1266a4b34b957cc848f911cdb3d98304df7e6a031ea27d29d
4
+ data.tar.gz: 59665f2b3ac6c41425b6d5a62d5529e793cc26762d81370284c9c4fb0897d828
5
5
  SHA512:
6
- metadata.gz: 9caed8aa6a7aac518e62a855e13d1549513161b6dfabcb40e06505c2ece810a9ddce61f7baaa246379fbdce452529e7bec0598c9c768792b9cb86b0017969942
7
- data.tar.gz: b1ca7d9be862c568cd583df7670c0a82f6a8e2cc8831af743093374bb0b364ec6498a6409f12ee4e77367e3dceb6ea506e132a2793a7102f597492cb894e3964
6
+ metadata.gz: 030e227455e5ab4f25b442265ac12074539a510b02ab646e146b90323f52d6b17658e506f0dd58a4adc28c7a1ee8c19db75f103a1193fc7475e6129103b6c184
7
+ data.tar.gz: e7065f08bae17c17b012e8c4cedb1e07845f0f842df52148236e8be067309f49c73c85564355243321d023bb56d6cf0c38b8976052d2db83958bebd0064d43eb
data/_includes/image.html CHANGED
@@ -3,14 +3,20 @@
3
3
  <img src="{{ include.src | relative_url }}"
4
4
  {% if include.pixel == true %}class="pixel"{% endif %}
5
5
  {% if include.alt %}alt="{{ include.alt }}"{% endif %}>
6
+ {%- if include.caption or include.license %}
6
7
  <figcaption>
7
8
  {{ include.caption }}
8
- {% if include.license %}
9
+ {%- if include.license %}
9
10
  <br>
10
11
  <span class="license">
11
12
  {{ texts.image_license }}
12
- <a href="{{ include.license_url }}" target="_blank">{{ include.license }}</a>
13
+ {%- if include.license_url %}
14
+ <a href="{{ include.license_url }}" target="_blank">{{ include.license }}</a>
15
+ {%- else %}
16
+ {{ include.license }}
17
+ {%- endif %}
13
18
  </span>
14
- {% endif %}
19
+ {%- endif %}
15
20
  </figcaption>
21
+ {%- endif %}
16
22
  </figure>
@@ -379,7 +379,6 @@ div.header {
379
379
  margin-bottom: -8px;
380
380
  background: var(--boxbg);
381
381
  border-radius: 0 0 8px 8px;
382
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
383
382
  img {
384
383
  vertical-align: bottom;
385
384
  width: 100%;
@@ -401,7 +400,7 @@ header.home {
401
400
  display: flex;
402
401
  flex-wrap: wrap;
403
402
  list-style: none;
404
- margin: 8px 0 0;
403
+ margin: 6px 0 0;
405
404
  padding: 0 4px;
406
405
  li {
407
406
  margin: 4px;
@@ -409,8 +408,9 @@ header.home {
409
408
  color: var(--linkhover);
410
409
  background: var(--boxbg);
411
410
  border-radius: 4px;
412
- padding: 5px 7px;
411
+ padding: 4px 6px;
413
412
  transition: background 0.2s;
413
+ font-size: 0.9em;
414
414
  &:hover {
415
415
  background: var(--boxbglight);
416
416
  text-decoration: none;
@@ -463,7 +463,8 @@ header.home {
463
463
  margin: 0;
464
464
  }
465
465
  p.bio {
466
- margin: 8px 0 0;
466
+ margin: 6px 0 0;
467
+ line-height: 1.4;
467
468
  }
468
469
  h1, p.bio{
469
470
  padding: 0 8px;
@@ -1,6 +1,6 @@
1
1
  nav.home-tab {
2
2
  display: flex;
3
- padding: 8px 0;
3
+ padding: 6px 0;
4
4
  margin-inline-start: -16px;
5
5
  width: calc(100% + 32px);
6
6
  overflow-x: auto;
@@ -1,7 +1,7 @@
1
1
  :root {
2
2
  color-scheme:dark;
3
3
  --bg: #000;
4
- --bglight: #181a26;
4
+ --bglight: #1c202e;
5
5
  --page: #10121a;
6
6
  --text: #eee;
7
7
  --gray: #a3a3a3;
@@ -15,10 +15,10 @@
15
15
  @media (prefers-contrast: more) {
16
16
  :root {
17
17
  --bg: #000;
18
- --bglight: #1c202e;
18
+ --bglight: #20253a;
19
19
  --page: #131520;
20
20
  --text: #fff;
21
- --gray: #b5b5b5;
21
+ --gray: #ccc;
22
22
  --head: #fff;
23
23
  --link: #40c5ff;
24
24
  --linkhover: #aadaff;
@@ -17,7 +17,7 @@
17
17
  --bglight: #fff;
18
18
  --page: #fafafc;
19
19
  --text: #000;
20
- --gray: #555;
20
+ --gray: #4a4a4a;
21
21
  --head: #000;
22
22
  --link: #0000ff;
23
23
  --linkhover: #000090;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benjeto-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cizzuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-05 00:00:00.000000000 Z
11
+ date: 2024-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll