add nginx
This commit is contained in:
@@ -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
|
||||
|
@@ -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>
|
||||
|
@@ -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";
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user