Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
Improve multiaccount support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 15, 2015
1 parent 33786a5 commit 2f71d11
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 23 deletions.
1 change: 0 additions & 1 deletion assets/scss/components/_aside.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
> img {
width: 7rem;
border: 2px solid rgba($primary-color, .1);
border-radius: 50%;
box-shadow: 0 0 1px 1px rgba(000, 000, 000, .3);
}
}
Expand Down
19 changes: 7 additions & 12 deletions assets/scss/components/_media-queries.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,13 @@
#post-title {
margin: 2.5rem 0;
}
body[data-page='post'] {
.post.tags {
> a {
display: inline-block;
margin: .2rem 0;
}
}

.post .tags,
.post .meta > time,
.pagination > span {
display: none;
}

.post {
&.newer,
&.older {
Expand All @@ -191,11 +190,7 @@
margin: 0 0 10px;
}
}
.pagination {
> span {
display: none;
}
}

blockquote {
> p {
margin: 2rem -1rem;
Expand Down
3 changes: 1 addition & 2 deletions assets/scss/components/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@
}
}
&.author {
margin-left: 1.2em;

img {
margin: 0 0.5rem;
display: inline-block;
height: 22px;
vertical-align: middle;
Expand Down
6 changes: 5 additions & 1 deletion assets/scss/components/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
width: 12.5rem;
height: .4rem;
padding: 5% 5px 5% 18px;
border: 1.5px solid lighten($hover-color, 5%);
border-radius: 1.68rem;
transition: border .3s ease-in;

&:hover {
border: 1.5px solid lighten($hover-color, 5%);
}
}
#search-results {
text-align: center;
Expand Down
14 changes: 11 additions & 3 deletions assets/scss/modules/_buttons.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
img, .btn {

&.square {
border-radius: 0;
}

&.rounded {
border-radius: 50%;
}
}

.btn {
padding: 10px 20px;
font-size: .9em;
Expand All @@ -9,9 +20,6 @@
border-radius: 20px;
-webkit-font-smoothing: antialiased;

&.square {
border-radius: 0;
}
&:hover {
color: darken($primary-color, 15%);
border-color: darken($primary-color, 15%);
Expand Down
2 changes: 1 addition & 1 deletion partials/aside.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="profile">
{{#if @blog.logo}}
<a id="avatar-link" title="link to homepage for {{@blog.title}}" href="{{@blog.url}}/#open">
<img src="{{@blog.logo}}" alt="{{@blog.title}} avatar" class="profile avatar hvr-buzz-out" />
<img src="{{@blog.logo}}" alt="{{@blog.title}} avatar" class="profile avatar rounded hvr-buzz-out" />
<h1>{{@blog.title}}</h1>
<h3 id="profile-resume"></h3>
</a>
Expand Down
8 changes: 5 additions & 3 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
<div class="post meta">
<time datetime="{{date format="DD MMM YYYY"}}">{{date format="DD MMM YYYY"}}</time>
<span class="post tags">{{tags prefix="in " separator=" "}}</span>
{{!-- <span class="post author">
<img src="{{author.image}}" alt="profile image for {{author.name}}"/> by {{author.name}}
</span> --}}

<span class="post author">
<img src="{{author.image}}" class="rounded" alt="profile image for {{author.name}}"/> by {{author.name}}
</span>

<span class="post reading-time"> ~ <span></span> read.</span>
</div>

Expand Down

0 comments on commit 2f71d11

Please sign in to comment.