Skip to content

Commit

Permalink
More style
Browse files Browse the repository at this point in the history
  • Loading branch information
danakj committed Dec 5, 2023
1 parent 25cf9b1 commit f95e082
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
7 changes: 4 additions & 3 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
<template id="webmention-template">
<li>
<div class="head">
<span class="author">
<img class="avatar webmention-author-avatar"></img>
<img class="avatar webmention-author-avatar"></img>
<span class="text">
<a class="webmention-author"><span class="webmention-author-name"></span></a>
<span class="sep">::</span>
<span class="action"><a class="webmention-action"></a></span>
</span>
<span class="action"><a class="webmention-action"></a></span>
</div>
<div class="content"><span class="webmention-content"></span></div>
</li>
Expand Down
28 changes: 17 additions & 11 deletions css/webmentions.css
Original file line number Diff line number Diff line change
@@ -1,34 +1,40 @@
div.webmentions {
margin-top: 20px;
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
}

.webmentions-header {
div.webmentions .webmentions-header {
font-size: 130%;
margin: 0 0 0.5em 0;
width: 80%;
}

.webmentions-container {
display: flex;
}

.webmentions-container li {
div.webmentions ul {
flex-direction: column;
padding-left: 0;
width: 80%;
}

div.webmentions li {
list-style: none;
margin-top: 0.2em;
border: 1px solid #3d3d3d;
padding: 0.2em
}

.webmentions-container ul {
flex-direction: column;
padding-left: 0;
padding: 0.2em;
}

.webmentions-container .head {
div.webmentions li .head {
display: flex;
flex-direction: row;
justify-content: center;
}

.webmentions-container .avatar {
div.webmentions li .avatar {
width: 1.7em;
}

0 comments on commit f95e082

Please sign in to comment.