jekyll-theme-lucas-minima 0.1.20 → 0.2.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: 609bcd708214da29715b1bfa7886d3f772fa4afeba9ced5a5728229c61294946
4
- data.tar.gz: 41f430a449404b7cfe5356ef479eb971fadc196899dabe5e0d211e5ca85bb561
3
+ metadata.gz: c4ebeb964cf0bf62676482fc82719c03c46fccdbb0ec20f2724bffe0d08bfa27
4
+ data.tar.gz: 7d7dc155b5826ecb9627a6528d41e2649227f8870fe2dc0b3271b5ee375053b3
5
5
  SHA512:
6
- metadata.gz: a2f105109cb31d0aa8a17256c200f30c5fcd985ad672c8147be8c1a4fdd654cc7068bdf10609925a0529346bfd853e85ee8e2a633c7d147ea39d8239bfb3856c
7
- data.tar.gz: 3b5a423ece2419fcef33debab5777fe5f61b03fb6e6e2568c6bbacb9b04cbbd49c34177fed02cdb64fa31c60963c5dba645acafd052954ac69a34812c946e04b
6
+ metadata.gz: a696ad824aaa6ceb41665fe12c6b94651749e2026e772c9f8af7dca4576e92cc511b2210264d7b80d60a32a79f2d21760894b52c9c16600fcb8170f01f89f932
7
+ data.tar.gz: 6dafcf26dee1067fe43c9fdccd105e3808084f6ae8c05379aca55e8f8db0bae9608ba4a3d6ffa8d91e3d2e7f23001a944c4aa65ef211fa0be9a3ec1228b6cdef
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
+ }
250
+
251
+ .button {
252
+ display: inline-block;
253
+ padding: 5px 10px;
254
+ font-size: 16px;
255
+ margin-right: 15px;
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.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - LucasZ-SGP