Browse Source

updating fonts and style of listing images

master
jk 4 years ago
parent
commit
5748e929dc
  1. 1
      content/note/6005bba1/index.md
  2. BIN
      static/fonts/forkawesome-webfont.woff2
  3. 2
      themes/nipponalba/layouts/_default/list.html
  4. 2
      themes/nipponalba/layouts/_default/single.html
  5. 2
      themes/nipponalba/layouts/index.html
  6. 83
      themes/nipponalba/static/css/style.css

1
content/note/6005bba1/index.md

@ -4,6 +4,7 @@ category:
- health
- cooking
- vegan
- 4
date: '2021-01-18 16:47:29'
draft: false
posttype: note

BIN
static/fonts/forkawesome-webfont.woff2

2
themes/nipponalba/layouts/_default/list.html

@ -12,7 +12,7 @@
{{ if eq . "1"}}<h1><i class="fa fa-television" aria-hidden="true" title="Documentary note"></i> Documentary note</h1>{{ end }}
{{ if eq . "2"}}<h1><i class="fa fa-book" aria-hidden="true" title="Reading note"></i> Reading note</h1>{{ end }}
{{ if eq . "3"}}<h1><i class="fa fa-pencil-square-o" aria-hidden="true" title="TODO note"></i> TODO note</h1>{{ end }}
{{ if eq . "4"}}Test{{ end }}
{{ if eq . "4"}}<h1><i class="fa fa-cutlery" aria-hidden="true" title="TODO note"></i> Cooking note</h1>{{ end }}
{{ if eq . "5"}}Test{{ end }}
{{ if eq . "6"}}Test{{ end }}
{{ end }}</span>

2
themes/nipponalba/layouts/_default/single.html

@ -9,7 +9,7 @@
{{ if eq . "1"}}<h1><i class="fa fa-television" aria-hidden="true" title="Documentary note"></i> Documentary note</h1>{{ end }}
{{ if eq . "2"}}<h1><i class="fa fa-book" aria-hidden="true" title="Reading note"></i> Reading note</h1>{{ end }}
{{ if eq . "3"}}<h1><i class="fa fa-pencil-square-o" aria-hidden="true" title="TODO note"></i> TODO note</h1>{{ end }}
{{ if eq . "4"}}Test{{ end }}
{{ if eq . "4"}}<h1><i class="fa fa-cutlery" aria-hidden="true" title="TODO note"></i> Cooking note</h1>{{ end }}
{{ if eq . "5"}}Test{{ end }}
{{ if eq . "6"}}Test{{ end }}
{{ end }}</span>

2
themes/nipponalba/layouts/index.html

@ -12,7 +12,7 @@
{{ if eq . "1"}}<h1><i class="fa fa-television" aria-hidden="true" title="Documentary note"></i> Documentary note</h1>{{ end }}
{{ if eq . "2"}}<h1><i class="fa fa-book" aria-hidden="true" title="Reading note"></i> Reading note</h1>{{ end }}
{{ if eq . "3"}}<h1><i class="fa fa-pencil-square-o" aria-hidden="true" title="TODO note"></i> TODO note</h1>{{ end }}
{{ if eq . "4"}}Test{{ end }}
{{ if eq . "4"}}<h1><i class="fa fa-cutlery" aria-hidden="true" title="TODO note"></i> Cooking note</h1>{{ end }}
{{ if eq . "5"}}Test{{ end }}
{{ if eq . "6"}}Test{{ end }}
{{ end }}</span>

83
themes/nipponalba/static/css/style.css

@ -89,57 +89,106 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
}
/* Fork Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.fa-music:before {
content: "\f001";
}
.fa-envelope-o:before {
content: "\f003";
}
.fa-heart:before {
content: "\f004";
}
.fa-film:before {
content: "\f008";
}
.fa-home:before {
content: "\f015";
}
.fa-tags:before {
content: "\f02c";
}
.fa-book:before {
content: "\f02d";
}
.fa-font:before {
content: "\f031";
}
.fa-picture-o:before {
content: "\f03e";
}
.fa-pencil-square-o:before {
content: "\f044";
}
.fa-share:before {
content: "\f064";
}
.fa-leaf:before {
content: "\f06c";
}
.fa-plane:before {
content: "\f072";
}
.fa-calendar:before {
content: "\f073";
}
.fa-comment:before {
content: "\f075";
}
.fa-shopping-cart:before {
content: "\f07a";
}
.fa-camera-retro:before {
content: "\f083";
}
.fa-heart-o:before {
content: "\f08a";
}
.fa-rss:before {
content: "\f09e";
}
.fa-link:before {
content: "\f0c1";
}
.fa-gamepad:before {
content: "\f11b";
.fa-lightbulb-o:before {
content: "\f0eb";
}
.fa-language:before {
content: "\f1ab";
.fa-cutlery:before {
content: "\f0f5";
}
.fa-sticky-note:before {
content: "\f249";
.fa-smile-o:before {
content: "\f118";
}
.fa-frown-o:before {
content: "\f119";
}
.fa-meh-o:before {
content: "\f11a";
}
.fa-thumbs-up:before{
content: "\f164";
}
.fa-television:before {
content: "\f26c";
.fa-youtube-play:before {
content: "\f16a";
}
.fa-language:before {
content: "\f1ab";
}
.fa-xmpp:before {
content: "\f2f9";
.fa-paw:before {
content: "\f1b0";
}
.fa-matrix-org:before {
content: "\f313";
.fa-recycle:before {
content: "\f1b8";
}
.fa-pixelfed:before {
content: "\f314";
.fa-heartbeat:before {
content: "\f21e";
}
.fa-pleroma:before {
content: "\f324";
.fa-sticky-note:before {
content: "\f249";
}
.fa-television:before {
content: "\f26c";
}
.sr-only {
position: absolute;
width: 1px;
@ -525,7 +574,7 @@ main {
width:97%;
padding: 10px;
}
.index_content .e-content img, .post_content img{
.index_content .e-content img, .post_content img, .listing img{
width: 90%;
display:block;
margin: 0 auto;

Loading…
Cancel
Save