Skip to content

Commit

Permalink
Fixing some problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
prairiepilotfpv committed Jun 20, 2024
1 parent 40d3f66 commit a769dfd
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 154 deletions.
Binary file modified .CNAME.un~
Binary file not shown.
Binary file modified ._config.yml.un~
Binary file not shown.
2 changes: 1 addition & 1 deletion CNAME~
Original file line number Diff line number Diff line change
@@ -1 +1 @@
icantstoptalking.com
www.icantstoptalking.com
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# My changes or fixes

exclude: [vendor]
url: "https://icantstoptalking.com"

############################
# --- Required options --- #
############################
Expand Down
5 changes: 3 additions & 2 deletions _config.yml~
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# My changes or fixes

exclude: [vendor]
url: "https://icantstoptalking.com"

############################
# --- Required options --- #
############################
Expand Down Expand Up @@ -54,7 +56,7 @@ social-network-links:
email: "[email protected]"
# rss: true # remove this line if you don't want to show an RSS link at the bottom
# facebook:
github: prairiepiolotfpv
# github: prairiepiolotfpv
# twitter: daattali
# patreon: DeanAttali
youtube: "@prairiepilot8166"
Expand Down Expand Up @@ -93,7 +95,6 @@ rss-description: I really can't stop talking.
share-links-active:
reddit: true
instagram: true
github: true

# How to display the link to your website in the footer
# Remove this if you don't want a link in the footer
Expand Down
Binary file modified _layouts/.home.html.un~
Binary file not shown.
23 changes: 2 additions & 21 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@
{% endcapture %}
{% assign thumbnail=thumbnail | strip %}

{% if site.feed_show_excerpt == false %}
{% if thumbnail != "" %}
<div class="post-image post-image-normal">
<div class="post-image">
<a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
<img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
</a>
</div>
{% endif %}
{% endif %}

<a href="{{ post.url | absolute_url }}">
<h2 class="post-title">{{ post.title | strip_html }}</h2>
Expand All @@ -55,23 +53,6 @@ <h3 class="post-subtitle">
Posted on {{ post.date | date: date_format }}
</p>

{% if thumbnail != "" %}
<div class="post-image post-image-small">
<a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
<img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
</a>
</div>
{% endif %}

{% unless site.feed_show_excerpt == false %}
{% if thumbnail != "" %}
<div class="post-image post-image-short">
<a href="{{ post.url | absolute_url }}" aria-label="Thumbnail">
<img src="{{ thumbnail | absolute_url }}" alt="Post thumbnail">
</a>
</div>
{% endif %}

<div class="post-entry">
{% assign excerpt_length = site.excerpt_length | default: 50 %}
{{ post.excerpt | strip_html | truncatewords: excerpt_length }}
Expand All @@ -80,7 +61,6 @@ <h3 class="post-subtitle">
<a href="{{ post.url | absolute_url }}" class="post-read-more">[Read&nbsp;More]</a>
{% endif %}
</div>
{% endunless %}

{% if site.feed_show_tags != false and post.tags.size > 0 %}
<div class="blog-tags">
Expand Down Expand Up @@ -121,3 +101,4 @@ <h3 class="post-subtitle">
{% endif %}
</ul>
{% endif %}

Binary file renamed .CNAME.swp → assets/css/.custom-styles.css.swp
Binary file not shown.
Binary file modified assets/css/.custom-styles.css.un~
Binary file not shown.
95 changes: 0 additions & 95 deletions assets/css/custom-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,98 +96,3 @@ footer a:focus {

/* Add specific styles for more social networks as needed */

/* Responsive Preview Block */
.post-preview {
padding: 1.25rem 0;
border-bottom: 1px solid #eee;
overflow: hidden;
display: flex;
flex-direction: column;
}

@media (min-width: 768px) {
.post-preview {
padding: 2.1875rem 0;
flex-direction: row;
align-items: center;
}
}

.post-preview .post-title {
font-size: 1.875rem;
margin-top: 0;
}

.post-preview .post-subtitle {
margin: 0;
font-weight: 300;
margin-bottom: 0.625rem;
}

.post-preview .post-meta {
color: #808080;
font-size: 1.125rem;
font-style: italic;
margin: 0 0 0.625rem;
}

.post-preview .post-snippet {
flex-grow: 1;
}

/* Circular Preview Images */
.post-preview .post-image {
margin-left: auto;
height: 12rem;
width: 12rem;
border-radius: 50%;
overflow: hidden;
display: block;
}

.post-preview .post-image img {
border-radius: 50%;
max-height: 100%;
max-width: 100%;
}

@media (min-width: 768px) {
.post-preview .post-image {
margin-left: 1rem;
}
}

@media (max-width: 767px) {
.post-preview {
flex-direction: column;
align-items: center;
}
.post-preview .post-image {
height: 9rem;
width: 9rem;
margin-bottom: 1rem;
}
}

/* Ensure text wraps nicely and remains responsive */
.post-preview .post-title,
.post-preview .post-subtitle,
.post-preview .post-meta,
.post-preview .post-snippet {
word-wrap: break-word;
}

/* Adjustments for smaller screens */
@media (max-width: 500px) {
.post-preview .post-title {
font-size: 1.5rem;
}
.post-preview .post-meta,
.post-preview .post-subtitle {
font-size: 1rem;
}
.post-preview .post-snippet {
font-size: 0.875rem;
}
}

66 changes: 31 additions & 35 deletions assets/css/custom-styles.css~
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ footer a:focus {
/* Add specific styles for more social networks as needed */

/* Responsive Preview Block */
/* Right-align the preview images on desktop */
.post-preview {
padding: 1.25rem 0;
border-bottom: 1px solid #eee;
Expand All @@ -110,33 +111,32 @@ footer a:focus {
padding: 2.1875rem 0;
flex-direction: row;
align-items: center;
justify-content: space-between;
}

.post-preview .post-image {
order: 2;
margin-left: 1rem;
}

.post-preview .post-title,
.post-preview .post-subtitle,
.post-preview .post-meta,
.post-preview .post-entry {
text-align: left;
}
}

.post-preview .post-title {
font-size: 1.875rem;
margin-top: 0;
}

.post-preview .post-subtitle {
margin: 0;
font-weight: 300;
margin-bottom: 0.625rem;
}

.post-preview .post-meta {
color: #808080;
font-size: 1.125rem;
font-style: italic;
margin: 0 0 0.625rem;
}

/* Ensure text wraps nicely and remains responsive */
.post-preview .post-title,
.post-preview .post-subtitle,
.post-preview .post-meta,
.post-preview .post-snippet {
flex-grow: 1;
word-wrap: break-word;
}

/* Circular Preview Images */
.post-preview .post-image {
.post-image {
margin-left: auto;
height: 12rem;
width: 12rem;
Expand All @@ -145,36 +145,32 @@ footer a:focus {
display: block;
}

.post-preview .post-image img {
.post-image img {
border-radius: 50%;
max-height: 100%;
max-width: 100%;
}

@media (min-width: 768px) {
.post-preview .post-image {
margin-left: 1rem;
}
}

/* Adjustments for smaller screens */
@media (max-width: 767px) {
.post-preview {
flex-direction: column;
align-items: center;
}
.post-preview .post-image {

.post-image {
height: 9rem;
width: 9rem;
margin-bottom: 1rem;
align-self: flex-end;
}
}

/* Ensure text wraps nicely and remains responsive */
.post-preview .post-title,
.post-preview .post-subtitle,
.post-preview .post-meta,
.post-preview .post-snippet {
word-wrap: break-word;
.post-title,
.post-subtitle,
.post-meta,
.post-snippet {
text-align: center;
}
}

/* Adjustments for smaller screens */
Expand Down

0 comments on commit a769dfd

Please sign in to comment.