jekyll-theme-lucas-minima 0.1.20 → 0.1.21

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: 609bcd708214da29715b1bfa7886d3f772fa4afeba9ced5a5728229c61294946
4
- data.tar.gz: 41f430a449404b7cfe5356ef479eb971fadc196899dabe5e0d211e5ca85bb561
3
+ metadata.gz: 49f5d3bbd9a4fb5c0d80731324476c6449265c7f70ab952365aa3967d7aa1432
4
+ data.tar.gz: 6bdf0014f9edd0dace08693f5713ed17cb4390ac0046c782050604b3d40642e4
5
5
  SHA512:
6
- metadata.gz: a2f105109cb31d0aa8a17256c200f30c5fcd985ad672c8147be8c1a4fdd654cc7068bdf10609925a0529346bfd853e85ee8e2a633c7d147ea39d8239bfb3856c
7
- data.tar.gz: 3b5a423ece2419fcef33debab5777fe5f61b03fb6e6e2568c6bbacb9b04cbbd49c34177fed02cdb64fa31c60963c5dba645acafd052954ac69a34812c946e04b
6
+ metadata.gz: 22fe56b9dc1d2afc35872aaa81c23f251474b2b8efbeef41479fc83ff1e8aaf9e08744da2fc1f05b0c74e3854ed46e8a19a956e13b4d233be2079b5c9ac75e46
7
+ data.tar.gz: dfedf18c22975a071fe90ee3f75ebd333a0773b6c8658ece0da4ec19fef009391173d786fce5bc8097252c3e6d48454e5e9d3d8bc281f18c0964f7cfacdef5a7
data/_layouts/post.html CHANGED
@@ -6,9 +6,13 @@ layout: default
6
6
  <header class="post-header">
7
7
 
8
8
  {%- if page.button_path -%}
9
+ <div class="button-container">
9
10
  <a href="{{ page.button_path | relative_url }}" class="button">{{ page.button_text }}</a>
10
11
  {%- endif -%}
11
12
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
13
+ {%- if page.button_path -%}
14
+ </div>
15
+ {%- endif -%}
12
16
  <p class="post-meta">
13
17
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
14
18
  {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
data/_sass/_resume.scss CHANGED
@@ -108,23 +108,6 @@
108
108
  }
109
109
  }
110
110
 
111
- .button {
112
- display: inline-block;
113
- padding: 10px 20px;
114
- font-size: 16px;
115
- text-align: center;
116
- text-decoration: none;
117
- background-color: #000; /* Black button background */
118
- color: #fff; /* White text color */
119
- border-radius: 5px;
120
- transition: background-color 0.3s ease;
121
- margin-bottom: 10px; /* Adjust as needed for spacing */
122
-
123
- &:hover {
124
- background-color: #333; /* Darker color on hover */
125
- }
126
- }
127
-
128
111
  .contact-button {
129
112
  @include border-radius(3px);
130
113
  background-color: #efefef;
@@ -243,6 +243,29 @@
243
243
  }
244
244
  }
245
245
 
246
+ .button-container {
247
+ display: flex;
248
+ align-items: center;
249
+ margin-bottom: 10px; /* Adjust as needed for spacing */
250
+ }
251
+
252
+ .button {
253
+ display: inline-block;
254
+ padding: 5px 10px;
255
+ font-size: 16px;
256
+ font-weight: bold;
257
+ text-align: center;
258
+ text-decoration: none;
259
+ background-color: #000; /* Black button background */
260
+ color: #fff; /* White text color */
261
+ border-radius: 5px;
262
+ transition: background-color 0.3s ease;
263
+
264
+ &:visited {
265
+ color: #fff; /* Ensure the color stays the same on visited */
266
+ }
267
+ }
268
+
246
269
  .post-content {
247
270
  margin-bottom: $spacing-unit;
248
271
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-lucas-minima
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - LucasZ-SGP