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

Commit

Permalink
little improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 7, 2015
1 parent cd1d5c6 commit 0a9cd91
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 26 deletions.
2 changes: 1 addition & 1 deletion assets/css/uno.css

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions assets/scss/components/_aside.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,20 @@
font-size: .9rem;
}
> a {
> img {
width: 10rem;
margin-bottom: 1.2rem;
border: 2px solid $primary-color;
border-radius: 50%;
box-shadow: 0 0 1px 1px rgba(000, 000, 000, .3);
}
> h1 {
margin: 0;
font-family: $sans-font;
font-size: $font-size-big;
font-weight: $font-weight-bold;
color: $gray-lightest;
font-size: 1.6rem;
}

> img {
width: 7rem;
border: 2px solid $primary-color;
border-radius: 50%;
box-shadow: 0 0 1px 1px rgba(000, 000, 000, .3);
}
}
&.contact {
Expand Down
19 changes: 10 additions & 9 deletions assets/scss/components/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,20 @@

> li {
> a {
> *:hover {
color: $hover-color;
transition: all $aside-animation-time;
}
> h2 {
margin-bottom: 1rem;
transition: all $aside-animation-time;

&:hover {
color: $hover-color;
transition: all $aside-animation-time;
}

&:first-child {
margin-top: 0;
}
}
}
> p {
margin-bottom: 1rem;
font-size: .9em;
color: $gray-dark;
}
}
}
.post {
Expand Down Expand Up @@ -63,6 +59,11 @@
> header {
text-align: center;
}
&.description {
margin-bottom: 1rem;
font-size: .9em;
color: $gray-dark;
}
&.meta {
margin: .7em 0;
font-size: .85rem;
Expand Down
9 changes: 3 additions & 6 deletions assets/scss/modules/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ pre:hover {
padding: 2rem 3rem;

> .content {
padding: 3rem 0;
padding: 4rem 0;
margin: 0 3.7rem;

> h1 {
Expand Down Expand Up @@ -222,11 +222,8 @@ pre:hover {
}
}
.divider {
margin: 15px auto;
border-top: 1px solid rgba(255,
255,
255,
.14);
margin: 10px auto;
border-top: 1px solid rgba(255, 255, 255, .14);

&.long {
width: 50%;
Expand Down
6 changes: 4 additions & 2 deletions index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
<ol class="posts">
{{#foreach posts}}
<li>
<a href="{{url}}" title="link to {{{title}}}"><h2>{{{title}}}</h2></a>
<p>{{excerpt}}&hellip;</p>
<a href="{{url}}" title="link to {{{title}}}">
<h2>{{{title}}}</h2>
<p class="post description">{{excerpt}}&hellip;</p>
</a>
<div class="post meta">
<time datetime="{{date format="DD MMM YYYY"}}">{{date format="DD MMM YYYY"}}</time>
<span class="post tags">{{tags prefix="on " separator=" "}}</span>
Expand Down
2 changes: 1 addition & 1 deletion partials/footer.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<footer>
<span class="copyright">
&copy; {{date format="YYYY"}}. All rights reserved. Built with Ghost + Uno Zen theme.
&copy; {{date format="YYYY"}}. All rights reserved. Built with <a href="https://ghost.org/" target="_blank">Ghost</a> and <a href="https://github.com/Kikobeats/uno-zen" target="_blank">Uno Zen</a> theme.
</span>
</footer>
1 change: 1 addition & 0 deletions partials/links.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<ul class="links">
<li class="links item">
<a href="/#open" title="link to {{@blog.title}} blog" id="blog-button">Blog</a>
<a href="/#open" title="link to {{@blog.title}} blog" id="blog-button">About</a>
</li>
</ul>
</nav>

0 comments on commit 0a9cd91

Please sign in to comment.