Skip to content

Commit

Permalink
Email highlighted
Browse files Browse the repository at this point in the history
  • Loading branch information
brajeshwar committed Aug 25, 2024
1 parent a4074de commit 2072e95
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions _includes/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ a:not([class]) {
}
}

a.highlight {
color: var(--color-primary-shade);
}

a.highlight:hover, a.highlight:active {
color: var(--color-primary);
text-decoration: underline;
}

h1,
h2,
h3 {}
Expand Down
1 change: 1 addition & 0 deletions _includes/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ footer {
}

footer nav {
margin: var(--space-m) auto;
text-transform: uppercase;
}

Expand Down
7 changes: 7 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,17 @@ <h1 class="logo"><a href="/" title="{{ site.title }}">{{ site.title }}</a></h1>
</main>

<footer class="container">
<p>
Amara loves getting emails.
<a class="highlight" href="mailto:[email protected]">Please email her</a>.
<br>
The parents will reply with her hand-written reply.
</p>
<nav>
<a href="/">Home</a>
<a href="/feed.xml">Feed</a>
<a href="mailto:[email protected]">Email</a>
<a href="https://github.com/oinam/amara.oinam.art">Source</a>
</nav>
<p>
<small>
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<a href="{{ site.baseurl | prepend: site.url }}{{ post.url }}" title="{{ post.title }}">
<figure>
<img width="300" height="400"
src="/{{ site.file_path }}/{{ post.image }}{{ site.file_thumb }}.{{ site.file_thumb_format}}">
alt="{{ post.title }}"
src="/{{ site.file_path }}/{{ post.image }}{{ site.file_thumb }}.{{ site.file_thumb_format}}">
<figcaption>{{ post.title }}</figcaption>
</figure>
</a>
Expand Down

0 comments on commit 2072e95

Please sign in to comment.