1

Update dates to work better on mobile

This commit is contained in:
Evan Pratten 2020-11-17 10:34:10 -05:00
parent 7eacd5acf3
commit 9c76982ca4
No known key found for this signature in database
GPG Key ID: 93AC7B3D071356D3
6 changed files with 27 additions and 11 deletions

View File

@ -50,7 +50,7 @@
<div class="retention">
<!-- Thank you text -->
<h6>Thank you for reading this post. If you enjoyed the content, and want to let me know, or
<p>Thank you for reading this post. If you enjoyed the content, and want to let me know, or
want
to
ask any questions, please contact me via one of the methods <a href="/about">listed
@ -59,11 +59,11 @@
rss
feed</a> into your favorite feed reader, or <a
href="https://twitter.com/ewpratten">follow
me on Twitter</a> for notifications about my work and future posts.</h6>
me on Twitter</a> for notifications about my work and future posts.</p>
<!-- Other posts to check out -->
<h6>If you have the time to read some more, I recommend checking out one of the following posts:
</h6>
<p>If you have the time to read some more, I recommend checking out one of the following posts:
</p>
<div class="card-group">
{% assign i = 0 %}
{% for post in site.posts %}

View File

@ -0,0 +1,6 @@
---
src: https://ewpratten.retrylife.ca/highschool_notes/external_math/linear_algebra/linear_algebra.pdf
authors:
- Evan Pratten
date: "2020-06-01"
---

View File

@ -31,4 +31,5 @@ h3, h4, h5, h6 {
p {
font-family: "IBM Plex Sans", "sans-serif";
font-size: 1.05rem;
}

View File

@ -84,7 +84,10 @@ table,
}
.inner-content-container {
p, h2, h3 {
p,
h2,
h3 {
a {
text-decoration: none;
position: relative;
@ -116,4 +119,10 @@ table,
}
}
}
}
@media only screen and(max-width: 767px) {
.maybe-date {
display: none;
}
}

View File

@ -28,7 +28,7 @@ backing_scalar: "height:90%;"
</h5>
<p class="card-text">{{post.description}}</p>
</div>
<small style="color:gray;">{{the_date.first}}</small>
<small style="color:gray;" class="maybe-date">{{the_date.first}}</small>
</div>
</a>
@ -39,7 +39,7 @@ backing_scalar: "height:90%;"
<a href="{{post.url}}" class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">{{post.title}}</h5>
<small style="color:gray;">{{the_date.first}}</small>
<small style="color:gray;" class="maybe-date">{{the_date.first}}</small>
</div>
<p class="card-text">{{post.description}}</p>
</a>

View File

@ -17,7 +17,7 @@ Here are links to various downloadable files
<a href="{{file.src}}" class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">{{file.title}}</h5>
<small style="color:gray;">{{file.date}}</small>
<small style="color:gray;" class="maybe-date">{{file.date}}</small>
</div>
<p class="card-text">{{file.subtitle}}</p>
</a>
@ -27,9 +27,9 @@ Here are links to various downloadable files
---
## Papers
## Lecture Notes & Papers
I have recently started publishing some small papers I have written. As of now, these are mostly from presentations I have given, or are from my school notes.
Finished lecture notes and papers.
<div class="list-group" id="posts">
@ -38,7 +38,7 @@ I have recently started publishing some small papers I have written. As of now,
<a href="{{paper.src}}" class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">{{paper.title}}</h5>
<small style="color:gray;">{{paper.date}}</small>
<small style="color:gray;" class="maybe-date">{{paper.date}}</small>
</div>
<p class="card-text">{{paper.subtitle}}</p>
<p class="card-text">