add nginx

This commit is contained in:
2021-06-08 16:50:52 +09:00
parent 4e9aacfab8
commit 8b0111450b
11 changed files with 149 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019 snovey
Copyright (c) 2021 Yasuaki Uechi <y@uechi.io>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,11 +1,15 @@
<section>
<article class="article">
<hgroup class="article__metadata">
<% if (page.date) { %>
<h3 class="article__pubdate">
<time pubdate><%- date(page.date, "YYYY-MM-DD") %></time>
</h3>
<% } %>
<% if (page.updated) { %>
<h3 class="article__pubdate">
<time pubdate><%- date(page.updated, "YYYY / <b>MM</b>") %></time>
</h3>
<% } else if (page.date) { %>
<h3 class="article__pubdate">
<time pubdate><%- date(page.date, "YYYY / <b>MM</b>") %></time>
</h3>
<% } %>
<h2 class="article__title"><%- page.title %></h2>
</hgroup>
<div class="article__content"><%- page.content %></div>

View File

@@ -9,6 +9,7 @@ $break-large: 840px;
--accent: #4f33e8;
--highlight: #f6f6f6;
--tone: #989898;
--dim: rgb(203, 203, 203);
}
@media (prefers-color-scheme: dark) {
@@ -18,6 +19,7 @@ $break-large: 840px;
--accent: #7033e8;
--highlight: #140d25;
--tone: #989898;
--dim: rgb(90, 83, 101);
}
}
@@ -33,7 +35,7 @@ body {
font-family: "PT Sans", "Hiragino Sans", "Hiragino Mincho ProN", sans-serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-feature-settings: "kern", "palt", "pwid";
font-feature-settings: "kern", "pwid";
-webkit-font-feature-settings: "kern", "palt", "pwid";
-moz-font-feature-settings: "kern", "palt", "pwid";
-moz-font-feature-settings: "kern=1", "palt", "pwid";

View File

@@ -89,14 +89,17 @@ a.article-list__item__button {
.article__pubdate {
color: var(--tone);
font-size: 14px;
font-weight: lighter;
font-family: sans-serif;
font-size: 18px;
font-weight: 300;
margin-bottom: 10px;
border: 1px solid var(--tone);
display: inline-block;
padding: 5px 20px;
b {
font-weight: 700;
}
@media screen and (max-width: $break-small) {
margin-bottom: 15px;
font-size: 10pt;