Change font size.

This commit is contained in:
Alexandre Vicenzi 2015-07-22 01:26:35 -03:00
parent 315cd31009
commit 8fa5ee871d
5 changed files with 36 additions and 19 deletions

View file

@ -111,13 +111,13 @@ If you need more icons, you will need to add a custom background to keep all ico
| Name | What does it do? |
|:----:|------------------|
| Summarise | Enable Home summary. |
| Summarize | Enable Home summary. |
| Cover | Cover image for social sharing (absolute url). |
| og_locale | Open graph locale for article. |
By default, all article content is shown on Home.
If the article has a custom Summary, the custom summary is shown.
If the article has `Summarise: True` metadata, the default article summary is shown.
If the article has `Summarize: True` metadata, the default article summary is shown.
## Code Highlight

View file

@ -36,15 +36,15 @@ h3 {
}
h4 {
font-size: 1.2em
font-size: 1.36em
}
h5 {
font-size: 0.9em
font-size: 1.2em
}
h6 {
font-size: 0.8em
font-size: 1.1em
}
body {
@ -92,7 +92,7 @@ aside {
color: @light-grey;
}
.profile {
div {
padding: 18px;
margin: 0;
@ -107,7 +107,7 @@ aside {
p {
margin: 0 0 15px 0;
font-size: .85em;
font-size: .92em;
}
}
@ -117,7 +117,7 @@ aside {
padding: 0 8px 0 8px;
display: inline;
line-height: 1.6em;
font-size: 1.2em;
font-size: 1.28em;
text-transform: lowercase;
}
}
@ -128,7 +128,7 @@ main {
nav {
text-align: center;
text-transform: uppercase;
font-size: .7em;
font-size: .72em;
padding: 14px 0 14px 0;
border-bottom: @light-grey 1px solid;
@ -146,17 +146,23 @@ main {
margin: 4% 8% 2% 8%;
}
.social-share {
p {
font-size: .8em;
}
}
article {
margin: 0 8% 2% 8%;
header {
h2 {
h1, h2 {
margin-bottom: 0;
}
p {
color: @med-grey;
font-size: 11px;
font-size: 0.82em;
}
}
@ -184,6 +190,10 @@ main {
font-size: .9em;
}
samp {
white-space: pre;
}
kbd {
padding: .1em .6em;
border: 1px solid rgba(63,63,63,0.25);
@ -198,8 +208,7 @@ main {
}
code {
font-size: .72rem;
line-height: .72rem;
font-size: .8em;
white-space: normal;
color: #c25;
padding: 1px 3px;
@ -309,6 +318,10 @@ a.btn:hover {
background-color: @light-orange;
}
.center {
text-align: center;
}
.float-right {
float: right;
}

View file

@ -12,12 +12,9 @@
{% block content %}
<article>
<header>
<h2 id="{{ article.slug }}">{{ article.title }}</h2>
<h1 id="{{ article.slug }}">{{ article.title }}</h1>
<p>Posted on {{ article.locale_date }} in <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></p>
</header>
{% if ADD_THIS_ID %}
<div class="addthis_sharing_toolbox"></div>
{% endif %}
<div>
{{ article.content }}
</div>
@ -30,6 +27,13 @@
{% endif %}
</p>
</div>
{% if ADD_THIS_ID %}
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
</div>
{% endif %}
{% include "partial/disqus.html" %}
</article>
{% endblock %}

View file

@ -34,7 +34,7 @@
<body>
{% include "partial/gtm.html" %}
<aside>
<div class="profile">
<div>
<a href="{{ SITEURL }}">
{% if SITELOGO %}
<img src="{{ SITELOGO }}" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">

View file

@ -18,7 +18,7 @@
</p>
</header>
<div>
{% if summarise or article.metadata['summary'] or article.metadata['summarise'] %}
{% if summarise or article.metadata['summary'] or article.metadata['summarize'] %}
{{ article.summary }}
<a class="btn" href="{{ SITEURL }}/{{ article.url }}#{{ article.slug }}">Continue reading</a>
{% else %}