Easy customize (#138)

* Making easy to customize listing

* adding styles to listing

* removing unintended changes

* correcting declaration

* including files for release

* changing url to be relative so it can work on localhost

* Including suggestions
This commit is contained in:
Gabriel Monteiro Nepomuceno 2019-01-16 15:16:24 +00:00 committed by Luiz F. A. de Prá
parent 12b4246e29
commit 4ff77035f6
9 changed files with 12 additions and 11 deletions

View File

@ -28,3 +28,4 @@
- [Thomas Nys](https://thomasnys.com)
- [Piotr Januszewski](https://piojanu.github.io)
- [Artem Khvastunov](https://artspb.me)
- [Gabriel Nepomuceno] (https://blog.nepomuceno.me)

View File

@ -71,7 +71,7 @@
@media only screen and (max-width : 768px) {
margin: 1.6rem 0 1.6rem 0;
}
span {
.date {
display: inline-block;
width: 20.0rem;
text-align: right;
@ -81,7 +81,7 @@
text-align: left;
}
}
a {
.title {
font-size: 1.8rem;
color: $fg-color;
font-family: $heading-font-family;

View File

@ -5,7 +5,7 @@ body.inverted {
.list {
ul {
li {
a {
.title {
color: $fg-color-inverted;
&:hover,
&:focus {

View File

@ -20,7 +20,7 @@ body.rtl {
.list {
ul {
li {
span {
.date {
text-align: left;
margin-left: 3.0rem;
margin-right: 0;

View File

@ -55,7 +55,7 @@
{{ end }}
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . | absURL }}">
<link rel="stylesheet" href="{{ . | relURL }}">
{{ end }}
<link rel="icon" type="image/png" href="{{ .Site.Params.favicon_32 | default "/images/favicon-32x32.png" | absURL }}" sizes="32x32">

View File

@ -10,8 +10,8 @@
<ul>
{{ range .Paginator.Pages }}
<li>
<span>{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a href="{{ .URL }}">{{ .Title }}</a>
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a class="title" href="{{ .URL }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>

View File

@ -1,4 +1,4 @@
<li>
<span>{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a href="{{ .URL }}">{{ .Title }}</a>
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a class="title" href="{{ .URL }}">{{ .Title }}</a>
</li>

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"Target":"css/coder.min.a3307e096757a84995f145daccdad26307f88b657e9946d207d011e314ef1442.css","MediaType":"text/css","Data":{"Integrity":"sha256-ozB+CWdXqEmV8UXazNrSYwf4i2V+mUbSB9AR4xTvFEI="}}
{"Target":"css/coder.min.ac37073bc2826cd28ef57364a9fe339de7ebcb26dafc22fd832cb35cf5b1d048.css","MediaType":"text/css","Data":{"Integrity":"sha256-rDcHO8KCbNKO9XNkqf4znefryyba/CL9gyyzXPWx0Eg="}}