Init working version

This commit is contained in:
Joker Qyou
2017-09-22 22:35:20 +08:00
parent 91bb2e8fb2
commit a685c88eb1
19 changed files with 1732 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2017 YOUR_NAME_HERE
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+2
View File
@@ -0,0 +1,2 @@
+++
+++
+6
View File
@@ -0,0 +1,6 @@
{{ partial "head" . }}
<body>
404
</body>
</html>
+51
View File
@@ -0,0 +1,51 @@
{{ partial "head" . }}
<body>
{{ partial "header" . }}
<div id="body">
<div class="container">
<div class="col-group">
<div class="col-8" id="main">
<div class="res-cons">
<article class="post">
<header>
<h1 class="post-title">{{ .Title }}</h1>
</header>
<date class="post-meta meta-date">
{{ .Date.Year }}年{{ printf "%d" .Date.Month }}月{{ .Date.Day }}日 {{ .Date.Hour }}:{{ .Date.Minute }}
</date>
{{ with .Params.Categories }}
<div class="post-meta meta-category">
,归类于
{{ range . }}
<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
</div>
{{ end }}
<div class="post-content">
{{ .Content }}
</div>
<div class="post-meta meta-tags">
{{ if and (isset .Params "tags") .Params.tags }}
<ul class="clearfix">
{{ range .Params.Tags }}
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
{{ end }}
</ul>
{{ else }}
没有标签
{{ end }}
</div>
</article>
<!-- { TODO: comments } -->
</div>
</div>
{{ partial "sidebar" . }}
</div>
</div>
</div>
{{ partial "footer" . }}
</body>
</html>
+62
View File
@@ -0,0 +1,62 @@
{{ partial "head" . }}
<body>
{{ partial "header" . }}
<div id="body">
<div class="container">
<div class="col-group">
<div class="col-8" id="main">
<div class="res-cons">
{{ if eq .Data.Singular "category" }}
<h3 class="archive-title">
分类
<span class="keyword">{{ .Data.Term }}</span>
中的文章
</h3>
{{ else if eq .Data.Singular "tag" }}
<h3 class="archive-title">
包含标签
<span class="keyword">{{ .Data.Term }}</span>
的文章
</h3>
{{ end }}
{{ range $index,$data := (where .Paginator.Pages "Type" "post") }}
<article class="post">
<header>
<h2 class="post-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h2>
</header>
<date class="post-meta meta-date">
{{ .Date.Year }}年{{ printf "%d" .Date.Month }}月{{ .Date.Day }}日 {{ .Date.Hour }}:{{ .Date.Minute }}
</date>
{{ with .Params.Categories }}
<div class="post-meta meta-category">
,归类于
{{ range . }}
<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
</div>
{{ end }}
<div class="post-content">
{{ .Content | markdownify | truncate 200 }}
<a href="{{ .Permalink }}">阅读全文</a>
</div>
</article>
{{ end }}
{{ partial "paginator" . }}
</div>
</div>
{{ partial "sidebar" . }}
</div>
</div>
</div>
{{ partial "footer" . }}
</body>
</html>
+48
View File
@@ -0,0 +1,48 @@
{{ partial "head" . }}
<body>
{{ partial "header" . }}
<div id="body">
<div class="container">
<div class="col-group">
<div class="col-8" id="main">
<div class="res-cons">
{{ range $index,$data := (where .Paginator.Pages "Type" "post") }}
<article class="post">
<header>
<h2 class="post-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h2>
</header>
<date class="post-meta meta-date">
{{ .Date.Year }}年{{ printf "%d" .Date.Month }}月{{ .Date.Day }}日 {{ .Date.Hour }}:{{ .Date.Minute }}
</date>
{{ with .Params.Categories }}
<div class="post-meta meta-category">
,归类于
{{ range . }}
<a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
</div>
{{ end }}
<div class="post-content">
{{ .Content | safeHTML | truncate 200 }}
<a href="{{ .Permalink }}">阅读全文</a>
</div>
</article>
{{ end }}
{{ partial "paginator" . }}
</div>
</div>
{{ partial "sidebar" . }}
</div>
</div>
</div>
{{ partial "footer" . }}
</body>
</html>
+7
View File
@@ -0,0 +1,7 @@
<footer id="footer">
<div class="container">
&copy; 2017 <a rel="nofollow" href="{{ .Site.BaseURL | absURL }}">{{ .Site.Title }}</a>.
Powered by <a rel="nofollow noreferer noopener" href="https://gohugo.io">Hugo</a>.
Theme based on <a rel="nofollow noreferer noopener" href="https://github.com/pagecho/maupassant">maupassant</a>.
</div>
</footer>
+30
View File
@@ -0,0 +1,30 @@
<!doctype html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}zh-CN{{end}}">
<head>
<meta charset="utf-8">
{{ .Hugo.Generator }}
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ if .IsHome -}}
<title>{{ .Site.Title }}</title>
<meta property="og:title" content="{{ .Site.Title }}">
<meta property="og:type" content="website">
<meta name="description" content="{{ .Site.Params.description }}">
{{- else -}}
<title>{{ .Title }} - {{ .Site.Title }}</title>
<meta property="og:title" content="{{ .Title }} - {{ .Site.Title }}">
<meta property="og:type" content="article">
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Title }}{{ end }}">
{{ if .Params.author -}}
<meta name="author" content="{{ .Params.author }}">
{{ else }}
<meta name="author" content="{{ index .Site.Author.name }}">
{{- end }}
{{- end }}
<meta property="og:url" content="{{ .Permalink }}">
<link rel="stylesheet" href="{{ "css/normalize.css" | relURL}}">
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
</head>
+30
View File
@@ -0,0 +1,30 @@
<header id="header" class="clearfix">
<div class="container">
<div class="col-group">
<div class="site-name ">
{{ if .IsHome }}
<h1>
<a id="logo" href="{{ .Site.BaseURL | absURL }}">
{{ .Site.Title }}
</a>
</h1>
{{ else }}
<a id="logo" href="{{ .Site.BaseURL | absURL }}">
{{ .Site.Title }}
</a>
{{ end }}
{{ with .Site.Params.description }}<p class="description">{{ . }}</p>{{ end }}
</div>
<div>
<nav id="nav-menu" class="clearfix">
<a class="{{ if or (.IsHome) (eq .Type "post") }}current{{ end }}" href="{{ .Site.BaseURL | absURL }}">博客</a>
{{ range $index,$data := (where .Site.Pages "Type" "standalone") }}
<a {{ if eq .Permalink $.Permalink }}class="current"{{ end }} href="{{ .Permalink }}" title="{{ .Title }}">
{{ .Title }}
</a>
{{ end }}
</nav>
</div>
</div>
</div>
</header>
+25
View File
@@ -0,0 +1,25 @@
{{ with .Paginator }}
{{ if gt .TotalPages 1 }}
<ol class="page-navigator">
{{ if .HasPrev }}
<li class="prev">
<a href="{{ .Prev.URL }}">上一页</a>
</li>
{{ end }}
{{ range .Pagers }}
<li{{ if eq .PageNumber $.Paginator.PageNumber }} class="current"{{ end }}>
<a href="{{ .URL }}">{{ .PageNumber }}</a>
</li>
{{ end }}
{{ if .HasNext }}
<li class="next">
<a href="{{ .Next.URL }}">下一页</a>
</li>
{{ end }}
</ol>
{{ end }}
{{ end }}
+19
View File
@@ -0,0 +1,19 @@
<form id="search" method="get" action="https://duckduckgo.com/">
<input type="text" name="q" maxlength="255" placeholder="搜索..."><!-- placeholder text in search box -->
<input type="hidden" name="sites" value="blog.mynook.info"><!-- your domain here -->
<input type="hidden" name="kp" value="-1"> <!--safe search on/off -->
<input type="hidden" name="kh" value="1"> <!--HTTPS on/off -->
<input type="hidden" name="kl" value="wt-wt"> <!--region wt-wt = no region/worldwide -->
<input type="hidden" name="kg" value="p"> <!--get [g] vs post [p] -->
<input type="hidden" name="k7" value="#ffffff"> <!-- background colour -->
<input type="hidden" name="kj" value="#ffffff"> <!-- results page header colour -->
<input type="hidden" name="ky" value="#eee8d5"> <!-- highlight colour -->
<input type="hidden" name="kx" value="#cc0000"> <!-- URLs colour -->
<input type="hidden" name="k1" value="-1"> <!-- adverts on/off -->
<input type="hidden" name="ko" value="1"> <!-- DDG interface on/off -->
<input type="hidden" name="k8" value="#515151"> <!-- text colour -->
<input type="hidden" name="k9" value="#cc0000"> <!-- links colour -->
<input type="hidden" name="kaa" value="#cc0000"> <!-- visited links colour -->
<input type="hidden" name="kae" value="#cc0000"> <!-- theme [changes result titles] colour -->
<button type="submit" class="submit icon-search"></button>
</form>
+36
View File
@@ -0,0 +1,36 @@
<div id="secondary">
<section class="widget">
{{ partial "search_form" . }}
</section>
<section class="widget">
<h3 class="widget-title">分类</h3>
<ul class="widget-list">
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
<li>
<a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a>
</li>
{{ end }}
</ul>
</section>
{{ with .Site.Params.links }}
<section class="widget">
<h3 class="widget-title">友情链接</h3>
<ul class="widget-list">
{{ range . }}
<li>
<a rel="noreferrer noopener nofollow" href="{{ .url }}" title="{{ .title }}">{{ .name }}</a>
</li>
{{ end }}
</ul>
</section>
{{ end }}
<section class="widget">
<h3 class="widget-title">其它</h3>
<ul class="widget-list">
<li><a href="{{ "index.xml" | relURL }}">文章 RSS</a></li>
</ul>
</section>
</div>
BIN
View File
Binary file not shown.
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="icomoon" horiz-adv-x="512">
<font-face units-per-em="512" ascent="480" descent="-32" />
<missing-glyph horiz-adv-x="512" />
<glyph unicode="&#x20;" d="" horiz-adv-x="256" />
<glyph unicode="&#xe601;" d="M449.152 90.419l-96.743 96.743c14.592 23.987 22.989 52.096 22.989 82.227 0 87.45-75.801 163.251-163.277 163.251-87.45 0-158.362-70.912-158.362-158.361 0-87.475 75.776-163.277 163.251-163.277 29.082 0 56.32 7.885 79.744 21.581l97.255-97.28c9.549-9.523 24.96-9.523 34.457 0l24.141 24.115c9.498 9.523 6.041 21.504-3.456 31.002zM102.502 274.279c0 60.544 49.075 109.645 109.619 109.645 60.569 0 114.535-53.965 114.535-114.534s-49.075-109.645-109.645-109.645-114.509 53.965-114.509 114.535z" />
<glyph unicode="&#xe602;" d="M67.686 323.661c44.723 38.4 80.077 68.787 175.923 14.592 46.054-26.035 83.2-35.815 114.125-35.815 54.144 0 89.216 30.131 119.552 56.167 10.829 9.293 12.237 25.805 3.123 36.838s-25.241 12.467-36.070 3.175c-44.723-38.425-80.051-68.787-175.949-14.592-126.669 71.552-186.010 20.583-233.677-20.377-10.803-9.293-12.211-25.779-3.123-36.813s25.267-12.493 36.096-3.175zM444.313 267.879c-44.723-38.4-80.051-68.787-175.949-14.592-126.643 71.552-185.984 20.583-233.651-20.352-10.829-9.293-12.237-25.805-3.123-36.839s25.241-12.467 36.071-3.175c44.723 38.426 80.077 68.787 175.923 14.618 46.055-26.035 83.2-35.84 114.125-35.84 54.144 0 89.216 30.131 119.552 56.192 10.829 9.293 12.237 25.779 3.123 36.813-9.088 11.059-25.241 12.467-36.070 3.175zM444.313 137.139c-44.723-38.4-80.051-68.787-175.949-14.592-126.643 71.552-186.010 20.608-233.651-20.352-10.829-9.293-12.237-25.805-3.123-36.839s25.241-12.467 36.071-3.175c44.749 38.425 80.077 68.762 175.949 14.618 46.055-26.035 83.2-35.84 114.125-35.84 54.144 0 89.216 30.131 119.552 56.192 10.829 9.267 12.237 25.779 3.123 36.813s-25.267 12.493-36.096 3.175z" />
<glyph unicode="&#xe603;" d="M51.251 414.745v-60.621c181.401 0 328.448-147.072 328.448-328.474h60.647c0 214.887-174.208 389.095-389.094 389.095zM51.251 293.478v-60.647c114.432 0 207.206-92.749 207.206-207.181h60.595c0 147.891-119.885 267.827-267.801 267.827zM109.363 141.875c-32.077 0-58.112-26.035-58.112-58.137s26.035-58.112 58.112-58.112c32.102 0 58.137 26.010 58.137 58.112s-26.035 58.137-58.138 58.137z" />
<glyph unicode="&#xe604;" d="M409.6 256h-307.2c-14.131 0-25.6-11.469-25.6-25.6s11.469-25.6 25.6-25.6h307.2c14.157 0 25.6 11.469 25.6 25.6s-11.443 25.6-25.6 25.6zM102.4 307.2h307.2c14.157 0 25.6 11.469 25.6 25.6s-11.443 25.6-25.6 25.6h-307.2c-14.131 0-25.6-11.469-25.6-25.6s11.469-25.6 25.6-25.6zM409.6 153.6h-307.2c-14.131 0-25.6-11.443-25.6-25.6s11.469-25.6 25.6-25.6h307.2c14.157 0 25.6 11.443 25.6 25.6s-11.443 25.6-25.6 25.6z" />
<glyph unicode="&#xe605;" d="M256 320.384c22.835 0 34.253 11.392 34.253 34.202 0 23.117-11.418 34.663-34.253 34.663s-34.227-11.546-34.227-34.663c0-22.809 11.392-34.202 34.227-34.202zM306.483 307.174h-100.941c-4.403 0-8.115-1.536-11.213-4.608s-4.608-6.81-4.608-11.187v-100.506h28.083v-119.373h76.339v119.373h28.109v100.531c0 4.378-1.613 8.090-4.813 11.187-3.226 3.047-6.861 4.583-10.957 4.583zM256 476.16c-135.731 0-245.76-110.029-245.76-245.76s110.029-245.76 245.76-245.76 245.76 110.029 245.76 245.76-110.029 245.76-245.76 245.76zM256 29.696c-110.848 0-200.704 89.856-200.704 200.704s89.856 200.704 200.704 200.704 200.704-89.856 200.704-200.704-89.856-200.704-200.704-200.704z" />
<glyph unicode="&#xe606;" d="M256 476.16c-135.731 0-245.76-110.029-245.76-245.76s110.029-245.76 245.76-245.76 245.76 110.029 245.76 245.76-110.029 245.76-245.76 245.76zM66.432 296.294l124.672-55.833 39.040-17.101 28.979-13.184 23.705-10.112c4.403-3.789 6.605-8.755 6.605-14.899 0-8.806-3.021-15.079-9.011-18.867-5.99-3.789-13.261-5.709-21.735-5.709-20.506 0-38.784 7.45-54.887 22.375l-33.767-34.227c22.528-19.303 47.411-29.133 74.599-29.389v-37.76h28.519v37.76c16.947 1.459 31.667 7.065 44.109 16.896 12.416 9.805 20.275 22.425 23.475 37.939l91.111-40.576c-34.151-61.926-100.096-103.911-175.846-103.911-110.848 0-200.704 89.856-200.704 200.704 0 23.091 3.943 45.261 11.136 65.895zM325.401 233.907l-39.501 17.561-52.685 23.68c-1.459 2.048-2.176 4.096-2.176 6.144 0 7.014 2.995 12.006 9.011 14.925 5.965 2.918 12.774 4.403 20.403 4.403 14.336 0 28.365-4.838 42.137-14.489l32.051 32.921c-18.457 14.055-38.938 21.658-61.44 22.835v37.709h-28.544v-37.734c-15.232-0.87-28.544-5.223-39.962-12.928-11.392-7.783-19.149-18.074-23.245-30.951l-93.568 41.984c35.814 54.835 97.715 91.136 168.115 91.136 110.848 0 200.704-89.856 200.704-200.704 0-17.997-2.406-35.431-6.861-51.994l-124.442 55.501z" />
<glyph unicode="&#xe607;" d="M254.72 359.859c-28.109 0-51.942-8.243-71.552-24.781s-31.744-39.885-36.429-69.99h-19.277l48.691-48.717 48.717 48.717h-17.997c4.096 28.954 22.528 43.418 55.296 43.418 18.125 0 32.051-6.784 41.677-20.403 9.677-13.593 14.49-33.433 14.49-59.443 0-24.883-5.274-44.775-15.795-59.674-10.547-14.925-24.448-22.4-41.677-22.4-34.56 0-52.557 14.925-53.99 44.774h-61.875c4.096-30.72 16.231-54.425 36.429-71.091 20.173-16.666 44.185-25.011 71.962-25.011 37.785 0 68.48 12.493 92.186 37.504 23.705 25.037 35.558 56.397 35.558 94.157 0 38.912-11.418 70.81-34.227 95.642-22.861 24.857-53.581 37.299-92.185 37.299zM256 476.16c-135.731 0-245.76-110.029-245.76-245.76s110.029-245.76 245.76-245.76 245.76 110.029 245.76 245.76-110.029 245.76-245.76 245.76zM256 29.696c-110.848 0-200.704 89.856-200.704 200.704s89.856 200.704 200.704 200.704 200.704-89.856 200.704-200.704-89.856-200.704-200.704-200.704z" />
<glyph unicode="&#xe608;" d="M337.408 196.864c-18.381 0-33.28-20.634-33.28-46.055 0-25.447 14.899-46.080 33.28-46.080s33.28 20.634 33.28 46.080c-0.026 25.447-14.925 46.055-33.28 46.055zM453.274 316.774c3.789 9.344 3.968 62.464-16.231 113.305 0 0-46.387-5.069-116.531-53.222-14.72 4.070-39.629 6.093-64.512 6.093-24.909 0-49.792-2.048-64.537-6.093-70.118 48.154-116.48 53.222-116.48 53.222-20.198-50.841-20.045-103.961-16.23-113.305-23.757-25.805-38.272-56.781-38.272-99.097 0-183.962 152.627-186.905 191.155-186.905 8.73 0 26.087-0.026 44.39-0.051 18.304 0.026 35.661 0.051 44.339 0.051 38.553 0 191.155 2.944 191.155 186.905 0 42.317-14.49 73.293-38.246 99.098zM256.717 53.376h-1.408c-96.563 0-171.776 11.52-171.776 105.37 0 22.477 7.962 43.341 26.778 60.647 31.463 28.851 84.633 13.568 144.999 13.568 0.231 0 0.487 0 0.717 0.025 0.256 0 0.486-0.025 0.691-0.025 60.365 0 113.562 15.283 144.999-13.568 18.816-17.305 26.752-38.17 26.752-60.647 0-93.85-75.161-105.37-171.75-105.37zM174.618 196.864c-18.381 0-33.28-20.634-33.28-46.055 0-25.447 14.899-46.080 33.28-46.080s33.28 20.634 33.28 46.080c0 25.447-14.899 46.055-33.28 46.055z" />
<glyph unicode="&#xe609;" d="M491.52 376.499c-17.357-7.706-35.968-12.877-55.526-15.232 19.968 11.955 35.303 30.899 42.496 53.453-18.663-11.059-39.347-19.123-61.337-23.45-17.639 18.791-42.752 30.515-70.553 30.515-53.376 0-96.64-43.264-96.64-96.614 0-7.577 0.845-14.951 2.509-22.016-80.307 4.019-151.526 42.496-199.168 100.966-8.346-14.259-13.133-30.873-13.133-48.589 0-33.536 17.075-63.104 43.008-80.435-15.847 0.512-30.745 4.839-43.776 12.083 0-0.41 0-0.793 0-1.203 0-46.822 33.331-85.863 77.517-94.771-8.090-2.202-16.64-3.379-25.472-3.379-6.221 0-12.263 0.589-18.176 1.715 12.288-38.4 48-66.329 90.265-67.098-33.075-25.933-74.727-41.37-120.013-41.37-7.808 0-15.488 0.461-23.040 1.357 42.752-27.418 93.542-43.418 148.147-43.418 177.741 0 274.944 147.251 274.944 274.969 0 4.173-0.077 8.346-0.281 12.493 18.893 13.619 35.251 30.643 48.231 50.022z" />
<glyph unicode="&#xe60a;" d="M50.944 343.322c0-38.221 12.775-65.843 37.939-82.048 20.608-13.286 44.544-15.283 56.986-15.283 3.021 0 5.427 0.128 7.117 0.231 0 0-3.942-25.677 15.104-51.097l-0.87 0.026c-32.999 0-140.647-6.912-140.647-95.411 0-90.035 98.867-94.592 118.681-94.592 1.561 0 2.458 0.026 2.458 0.026 0.231 0 1.638-0.051 4.045-0.051 12.723 0 45.619 1.587 76.186 16.461 39.629 19.226 59.75 52.711 59.75 99.456 0 45.184-30.618 72.064-52.992 91.725-13.645 11.981-25.446 22.323-25.446 32.384 0 10.24 8.601 17.946 19.507 27.699 17.613 15.769 34.253 38.221 34.253 80.665 0 37.325-4.839 62.362-34.662 78.234 3.123 1.587 14.106 2.739 19.559 3.507 16.154 2.202 39.782 4.711 39.782 17.895v2.534h-117.709c-1.178-0.026-119.040-4.403-119.040-112.358zM240.973 112.589c2.253-35.993-28.544-62.567-74.778-65.92-46.951-3.456-85.632 17.69-87.885 53.683-1.075 17.28 6.502 34.202 21.376 47.693 15.104 13.645 35.789 22.067 58.342 23.757 2.662 0.154 5.299 0.281 7.936 0.281 43.443 0 72.883-25.549 75.008-59.495zM210.227 367.975c11.546-40.627-5.888-83.098-33.664-90.931-3.2-0.896-6.502-1.357-9.831-1.357-25.472 0-50.688 25.754-60.032 61.235-5.222 19.942-4.813 37.35 1.177 54.118 5.888 16.461 16.461 27.623 29.773 31.36 3.2 0.922 6.528 1.357 9.856 1.357 30.72 0 50.483-12.749 62.72-55.782zM408.601 279.501v76.8h-48.64v-76.8h-76.8v-48.64h76.8v-76.8h48.64v76.8h76.8v48.64h-76.8z" />
<glyph unicode="&#xe60b;" d="M435.328 153.088c-19.942 14.055-44.825 13.056-58.983-7.040s-113.101-144.205-275.2-92.672c6.093-5.325 12.544-10.394 19.302-15.155 106.342-74.88 253.235-49.382 328.141 56.986 14.131 20.096 6.656 43.853-13.261 57.882zM122.496 168.96c-10.343 22.298-68.326 170.061 57.344 284.672-7.68-2.637-15.257-5.657-22.758-9.139-118.041-54.656-169.395-194.637-114.739-312.679 10.317-22.323 34.637-27.75 56.755-17.51 22.118 10.265 33.715 32.333 23.398 54.656zM277.146 465.357c-24.474 2.202-41.319-16.128-43.52-40.422-2.176-24.295 11.136-45.338 35.609-47.539 24.499-2.202 181.427-25.856 217.856-192.025 1.587 7.962 2.714 16.051 3.481 24.294 11.648 129.536-83.891 244.019-213.427 255.693zM176.41 216.857c-6.733-15.897-7.833-31.053-2.406-33.869 3.738-1.945 9.575 2.509 15.053 10.649 2.176-8.909 7.552-16.921 15.232-23.373-8.038-2.969-13.312-7.834-13.312-13.337 0-9.037 14.233-16.358 31.769-16.358 15.821 0 28.928 5.939 31.36 13.747 0.64 0 3.149 0 3.763 0 2.457-7.808 15.539-13.747 31.385-13.747 17.562 0 31.769 7.322 31.769 16.358 0 5.504-5.248 10.342-13.312 13.337 7.654 6.451 13.056 14.464 15.207 23.373 5.504-8.141 11.315-12.595 15.079-10.649 5.427 2.816 4.352 17.971-2.432 33.869-5.299 12.442-12.493 21.658-17.971 23.706 0.077 0.768 0.128 1.587 0.128 2.406 0 4.813-1.357 9.267-3.661 12.903 0.051 0.282 0.051 0.563 0.051 0.845 0 2.227-0.538 4.301-1.433 6.093-1.382 32.41-22.502 58.189-56.678 58.189s-55.322-25.779-56.704-58.189c-0.896-1.817-1.434-3.891-1.434-6.118 0-0.281 0-0.563 0.025-0.845-2.253-3.609-3.609-8.064-3.609-12.903 0-0.819 0.051-1.613 0.102-2.406-5.453-2.048-12.672-11.239-17.971-23.68z" />
<glyph unicode="&#xe60c;" d="M389.12 230.4c0-73.523-59.623-133.12-133.12-133.12-73.523 0-133.12 59.597-133.12 133.12 0 8.755 0.871 17.305 2.509 25.6h-89.549v-176.947c0-37.99 30.771-68.813 68.813-68.813h302.694c37.99 0 68.813 30.797 68.813 68.813v176.947h-89.523c1.613-8.294 2.483-16.845 2.483-25.6zM407.347 450.56h-302.695c-38.016 0-68.813-30.822-68.813-68.813v-74.547h111.462c24.089 34.048 63.795 56.32 108.697 56.32s84.608-22.272 108.697-56.32h111.463v74.547c0 37.99-30.822 68.813-68.813 68.813zM441.011 365.568c0-6.784-5.529-12.288-12.288-12.288h-36.839c-6.759 0-12.288 5.529-12.288 12.288v36.864c0 6.784 5.555 12.288 12.288 12.288h36.839c6.784 0 12.288-5.529 12.288-12.288v-36.864zM337.92 230.4c0 45.261-36.685 81.92-81.92 81.92s-81.92-36.659-81.92-81.92 36.685-81.92 81.92-81.92 81.92 36.659 81.92 81.92z" />
<glyph unicode="&#xe60d;" d="M380.902 228.659c-7.014 2.125-11.853 3.609-8.141 13.005 7.962 20.403 8.781 37.99 0.154 50.56-16.205 23.552-60.493 22.298-111.283 0.614 0 0.026-15.949-7.091-11.879 5.811 7.808 25.549 6.631 46.951-5.53 59.315-27.546 28.058-100.813-1.101-163.686-65.024-47.053-47.898-74.368-98.663-74.368-142.567 0-83.968 105.779-140.135 209.28-140.135 135.68 0 225.92 85.351 225.92 149.043 0 38.502-31.846 60.339-60.467 69.376zM215.731 47.872c-82.585-8.166-153.856 29.337-159.232 83.865-5.35 54.502 57.242 105.344 139.827 113.562 82.611 8.218 153.881-29.312 159.232-83.815s-57.241-105.395-139.827-113.613zM515.635 297.037c-0.051 84.787-68.813 153.523-153.6 153.523-9.907 0-17.92-8.013-17.92-17.92s8.013-17.894 17.92-17.894c65.024 0 117.76-52.736 117.76-117.785 0-9.907 8.013-17.92 17.92-17.92s17.92 8.013 17.92 17.92c0 0 0 0.051 0 0.077zM444.416 299.648c-8.192 39.987-39.731 71.501-79.693 79.693-9.677 1.971-19.175-4.25-21.146-13.952-1.997-9.677 4.25-19.149 13.926-21.145 26.010-5.325 46.49-25.805 51.789-51.789 1.997-9.702 11.469-15.923 21.171-13.952 9.677 1.997 15.949 11.469 13.952 21.145zM173.363 191.923c-33.255-6.682-55.706-34.586-50.125-62.31 5.555-27.725 37.043-44.774 70.323-38.067 33.255 6.681 55.706 34.586 50.125 62.31-5.555 27.699-37.043 44.749-70.323 38.067z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 12 KiB

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+447
View File
@@ -0,0 +1,447 @@
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
html {
line-height: 1.15; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0;
}
/**
* Add the correct display in IE 9-.
*/
article,
aside,
footer,
header,
nav,
section {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/
figcaption,
figure,
main { /* 1 */
display: block;
}
/**
* Add the correct margin in IE 8.
*/
figure {
margin: 1em 40px;
}
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
background-color: transparent; /* 1 */
-webkit-text-decoration-skip: objects; /* 2 */
}
/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b,
strong {
font-weight: inherit;
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic;
}
/**
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
color: #000;
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio,
video {
display: inline-block;
}
/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Remove the border on images inside links in IE 10-.
*/
img {
border-style: none;
}
/**
* Hide the overflow in IE.
*/
svg:not(:root) {
overflow: hidden;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: sans-serif; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input { /* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
text-transform: none;
}
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
-webkit-appearance: button; /* 2 */
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Remove the default vertical scrollbar in IE.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/
details, /* 1 */
menu {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
display: inline-block;
}
/**
* Add the correct display in IE.
*/
template {
display: none;
}
/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[hidden] {
display: none;
}
+905
View File
@@ -0,0 +1,905 @@
/**
*
* @package Maupassant
* @author cho
* @version 1.3
* @link http://pickcho.com
*/
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot?-i5ysuu');
src:url('fonts/icomoon.eot?#iefix-i5ysuu') format('embedded-opentype'),
url('fonts/icomoon.woff?-i5ysuu') format('woff'),
url('fonts/icomoon.ttf?-i5ysuu') format('truetype'),
url('fonts/icomoon.svg?-i5ysuu#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'icomoon';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-search:before {
content: "\e601";
}
.icon-air:before {
content: "\e602";
}
.icon-rss:before {
content: "\e603";
}
.icon-list:before {
content: "\e604";
}
.icon-cc-by:before {
content: "\e605";
}
.icon-cc-nc:before {
content: "\e606";
}
.icon-cc-sa:before {
content: "\e607";
}
.icon-github:before {
content: "\e608";
}
.icon-twitter:before {
content: "\e609";
}
.icon-googleplus:before {
content: "\e60a";
}
.icon-qq:before {
content: "\e60b";
}
.icon-instagram:before {
content: "\e60c";
}
.icon-sina-weibo:before {
content: "\e60d";
}
body {
background-color:#FFF;
color:#444;
font-size: 16px;
/**
font-family:"TIBch", "Classic Grotesque W01", "Helvetica Neue", Arial, "Hiragino Sans GB", "STHeiti", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;
**/
font-family: "Iowan Old Style", "Ovo", "Hoefler Text", Georgia, "Times New Roman", "TIBch", "Source Han Sans", "PingFangSC-Regular", "Hiragino Sans GB", "STHeiti", "Microsoft Yahei", "Droid Sans Fallback", "WenQuanYi Micro Hei", sans-serif;
/**-webkit-font-smoothing: antialiased;**/
-moz-osx-font-smoothing: grayscale;
}
a, button.submit {
color:#6E7173;
text-decoration:none;
-webkit-transition:all .1s ease-in;
-moz-transition:all .1s ease-in;
-o-transition:all .1s ease-in;
transition:all .1s ease-in;
}
a:hover, a:active {
color:#6E7173;
}
mark {
padding: 3px 3px 3px 5px;
background: #fffdd1;
}
pre, code {
background:#f8f8f8;
font-family:Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace;
font-size:.92857em;
}
pre {
margin: 2em 0;
overflow:auto;
border: 1px solid #ddd;
display: block;
}
code {
display: inline-block;
}
blockquote {
display: block;
margin: 2.2em 0;
padding: 2em 2em .5em 2em;
border: 1px dashed #ddd;
border-left: 0.5em solid #ddd;
line-height: 1.5;
box-shadow: 3px 3px 0 #eaeaea;
}
blockquote:before {
content: '\201C';
font-family: serif;
font-weight: bold;
position: relative;
font-size: 10em;
height: 0;
width: 0;
left: -30px;
top: -95px;
display: block;
color: #a2a2a2;
text-shadow: 4px 2px 0 rgba(0, 0, 0, 0.1);
}
blockquote:after {
content: '\201D';
font-family: serif;
font-weight: bold;
position: relative;
font-size: 10em;
height: 0;
width: 0;
left: 100%;
margin-left: -35px;
bottom: 70px;
display: block;
color: #a2a2a2;
text-shadow: 4px 2px 0 rgba(0, 0, 0, 0.1);
}
/**
h1, h2, h3 {
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
}
**/
input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea {
padding:6px;
border:1px solid #ddd;
width:100%;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
outline:none;
}
button, input, optgroup, select, textarea {
font-family: inherit;
}
textarea {
resize:vertical;
}
.clear {
clear:both;
}
.clearfix, .col-group {
zoom:1;
}
.clearfix:before, .col-group:before, .clearfix:after, .col-group:after {
content:" ";
display:table;
}
.clearfix:after, .col-group:after {
clear:both;
}
.post-content a, .comment-content a {
border-bottom:1px solid #ddd;
}
.post-meta a:hover, .post-content a:hover, .widget a:hover, .comment-content a {
border-bottom-color:transparent;
}
#header {
padding:58px 0 0;
text-align:left;
}
#header .col-group {
border-bottom: 1px solid #ddd;
}
.site-name h1{
padding: 0;
margin:0;
}
#logo {
/**
font:bold 42px/1.12 "Times New Roman", Georgia, Times, sans-serif;
**/
font-size: 37.5px;
font-weight: bold;
color:#555;
}
#logo span {
color:#777;
}
#logo:hover {
color:#777;
}
.description {
margin:5px 0 0;
color:#999;
}
#nav-menu {
margin:10px 0 -1px;
padding:0;
float:right;
}
#nav-menu a {
display:inline-block;
margin-right:-1px;
padding:0 1em;
height:32px;
line-height:32px;
color:#444;
}
#nav-menu a:first-child {
border:none;
}
#nav-menu a:hover {
}
#nav-menu a.current {
border:1px solid #ddd;
border-bottom:1px solid #fff;
}
.site-search {
display:none;
}
#search {
position:relative;
overflow: hidden;
}
#search input {
padding: 1em 2em .75em 1em;
line-height: 1.5;
}
#search button {
position:absolute;
top:0;
right:10px;
font-size: 20px;
line-height: 1.5;
border:none;
padding:14px 0;
width:auto;
height:48px;
color:#444;
background:none;
}
.col-8 {
width:800px;
}
.col-12{
width: 100%;
}
.container {
width:1150px;
padding:0 60px;
margin:0 auto;
}
#secondary {
float:right;
width:245px;
border-left:1px solid #ddd;
padding-left:35px;
word-wrap:break-word;
display:block;
padding-top:40px;
}
#main {
padding-top:20px;
float:left;
}
.post {
padding:25px 0 15px;
}
.post-title {
margin:0;
color:#555;
text-align:left;
/**font:bold 25px/1.1 "ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;**/
font-size: 1.5em;
font-weight: bold;
}
.post-title a, .keyword {
color:#555;
}
.post-meta {
padding:0;
margin:9px 0 0;
color:#999;
text-align:left;
display: inline-block;
}
.meta-category a {
position: relative;
margin-left: 1.8em;
}
.meta-category a:before, .meta-category a:after {
content: '';
margin-left: -1.5em;
position: absolute;
}
.meta-category a:before {
width: 18px;
height: 12px;
background: #0089e0;
border-radius: 0 0 1px 1px;
margin-top: 4px;
}
.meta-category a:after {
width: 6px;
height: 0;
left: 3px;
border-style: solid;
border-color: transparent transparent #0089e0 transparent;
border-width: 0 1px 2px 1px;
background: transparent;
margin-top: 2px;
}
.meta-tags {
display: inline-block;
}
.meta-tags ul {
list-style: none;
padding: 0;
margin: 0;
}
.meta-tags ul li, .meta-tags ul a {
float: left;
height: 24px;
line-height: 24px;
font-size: 14px;
position: relative;
padding: .3em 0;
}
.meta-tags ul a {
margin-left: 24px;
padding: 0 10px 0 14px;
background: #0089e0;
color: #fff;
text-decoration: none;
border-radius: 2px;
}
.meta-tags ul a:before {
content: '';
float: left;
position: absolute;
top: 0;
left: -7px;
width: 0;
height: 0;
border-color: transparent #0089e0 transparent transparent;
border-style: solid;
border-width: 12px 12px 12px 0;
transition: all .1s ease-in;
}
.meta-tags ul a:after {
content: '';
position: absolute;
top: 10px;
left: 0;
float: left;
width: 4px;
height: 4px;
border-radius: 2px;
background: #fff;
box-shadow: -1px -1px 2px #004977;
}
.meta-tags ul a:hover {
background: #555;
}
.meta-tags ul a:hover:before {
border-color: transparent #555 transparent transparent;
}
.post-content {
font-size: 1em;
line-height: 1.7;
color:#444;
padding-top:27px;
}
.page-content{
padding-top: 40px;
}
.post-content h3,.post-content h2{
margin: 1.4em 0 1.1em;
}
.post-content pre, .comment-content pre {
max-height: 320px;
}
.post-content pre, .comment-content pre {
padding: 1.5em 2em;
}
.post-content p code, .comment-content p code {
display:inline;
margin:0 5px;
padding:3px 5px;
border: 1px solid #ddd;
}
.post-content p {
margin:0 0 1.1em;
}
.post-content img {
padding:1em 0;
}
.post-content ul {
overflow: auto;
padding: .5em 2.4em;
border-radius: 3px;
margin:1.8em 0;
}
.post-content ul li{
text-indent: .5em;
}
.archive-title {
padding-top:20px;
color:#999;
font-size:1em;
}
.more {
padding:10px 0 0;
}
.more a {
border:none;
}
.protected .text {
width:50%;
}
.page-navigator {
border-top:1px solid #ddd;
list-style:none;
padding:25px 0 0;
font-size:16px;
}
.page-navigator li {
display:inline-block;
margin:0 5px 5px 0;
}
.page-navigator a {
display:inline-block;
padding:0 10px;
height:25px;
line-height:25px;
padding:5px 9px;
border:1px solid #DDD;
}
.page-navigator a:hover {
background:#F8F8F8;
border-bottom-color:#D26911;
}
.page-navigator .current a {
background:#F8F8F8;
border-bottom-color:#D26911;
}
.comment-list, .comment-list ol {
list-style:none;
margin:0;
padding:0;
}
.comment-list {
margin-top:-1px;
}
.comment-list li {
padding:22px 0 0;
border-top:1px solid #ddd;
}
.comment-list li.comment-level-even {
background:#FFF;
}
.comment-list li .comment-reply {
float:right;
margin-top:-39px;
font-size:.92857em;
}
.comment-list li .comment-children {
margin-left: 1em;
}
.comment-meta a {
color:#999;
font-size:.92857em;
}
.comment-author {
display:block;
margin-bottom:3px;
color:#444;
}
.comment-author .avatar {
float:left;
margin:1px 10px 0 0;
border: 1px solid #ddd;
padding: 1px;
}
.comment-author cite {
font-weight:bold;
font-style:normal;
line-height: 1.2;
}
.comment-awaiting-moderation {
font-style:normal;
float:right;
margin-top:-20px;
color:#777;
}
.comment-list .respond {
margin:15px 0;
border-top:1px solid #ddd;
}
.comment-body .respond {
border:none;
margin:0 0 25px;
}
.respond .cancel-comment-reply {
float:right;
margin-top:15px;
font-size:.92857em;
}
#comment-form {
padding-top:5px;
}
#comment-form label {
display:block;
color:#888;
position:absolute;
margin: 10px 7px;
}
#comment-form input {
padding:8px 6px;
height:36px;
border:solid 1px #D4D4D4;
background:#fdfdfd;
padding-left:45px;
color: #555;
}
button.submit {
border:1px solid #272727;
display:block;
line-height:32px;
width:100%;
outline:none;
color: #fff;
background:#272727;
height: 38px;
}
button.submit:hover {
background:#505050;
border-color: #505050;
}
textarea.textarea {
line-height:1.8;
padding:5px 10px 5px 10px;
width:100%;
height:174px;
padding:10px;
overflow:auto;
margin:0;
line-height:1.8;
color:#222;
font-size:14px;
background:#fdfdfd!important;
color: #555;
}
.col2 p, .col1 p {
margin:9px 0;
}
.col1 p {
margin-right:220px;
}
.col1 {
margin-right:-220px;
height:auto;
float:left;
width:100%;
position:relative;
background-position:0 0;
}
.col2 {
width:204px;
float:right;
position:relative;
overflow:hidden;
background-position:right top;
}
.widget {
margin-bottom:30px;
}
.widget-title {
color:#6E7173;
line-height:2.7;
margin-top:0;
font-size:16px;
border-bottom:1px solid #ddd;
display:block;
}
#response {
margin-bottom:.8em;
}
.widget-list {
list-style:none;
padding:0;
}
.widget-list li {
margin:5px 0;
line-height:1.5;
}
#footer {
padding:.8em 0 3.6em;
line-height:1.5;
color:#999;
}
.error-page {
margin-top:100px;
margin-bottom:100px;
}
.comment-content {
line-height:1.5;
word-wrap:break-word;
padding:10px 40px 10px 0;
}
.post-content h2, .comment-content h2 {
font-size:1.28571em;
}
.post-content img, .comment-content img {
max-width:100%;
}
.post-content a img {
background:#FFF;
position:relative;
bottom:-4px;
}
.post-content hr, .comment-content hr {
margin:2.1em auto;
width:200px;
border:1px solid #ccc;
border-width:1px 0 0 0;
position: relative;
}
.aligncenter, div.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
}
.alignleft {
float:left;
}
.alignright {
float:right;
}
img.alignleft {
margin:5px 15px 0 0;
}
img.alignright {
margin:5px 0 0 15px;
}
/* archives page*/
.al_year {
width:60px;
padding: 10px 0;
}
.al_mon_list {
margin-left: 90px;
margin-top: -2.2em;
border-left: 1px solid #ddd;
}
.al_mon_list li {
list-style: none;
line-height: 1.8;
}
.al_mon_list li a {
margin-left: 1.5em;
}
.post-content-pages {
font-size: 17px;
}
.body404{
position: absolute;
height: 100%;
width: 100%;
background:#fff url(img/404.jpg)no-repeat center top;
background-size: cover;
}
.site-name404 {
margin: 0 auto;
width: 3em;
text-align: center;
letter-spacing: 2px;
font:700 88px/1.2 "ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;
}
.title404 span{
font-size: 15px;
width: 2px;
}
.site-name404 i {
font-style: normal;
}
.title404 p{
font-size: 20px;
margin: 0.5em 0 .6em;
}
.info404{
position: absolute;
top: 50%;
text-align: center;
width: 100%;
margin-top: -160px;
}
#footer404{
margin-top:30px;
}
.index404{
margin-top: 13px;
display: inline-block;
padding: 14px 27px 14px 29px;
color: #fff;
white-space: nowrap;
border-radius: 50px;
text-align: center;
cursor: pointer;
background: #444;
font-weight: 500;
line-height: 14px;
letter-spacing: 1px;
font-size: 14px;
-moz-user-select: -moz-none;
-webkit-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.index404:hover{
background-color: #000;
color: #fff;
}
.icon-about{
padding: 10px 0 25px;
}
.icon-about a{
font-size: 20px;
margin: 5px;
color: #fff;
background-color: #000;
border-radius: 100%;
padding: 6px;
}
@media print, screen and (max-width:1290px) {
.container {
width:auto;
}
#main {
width:100%;
margin-right:-320px;
float:left;
}
.res-cons {
width:auto;
margin-right:320px;
}
.post-content img {
max-width:100%;
}
}
@media print, screen and (max-width:1057px) {
.container {
width:auto;
}
#main {
width:100%;
margin-right:-260px;
float:left;
}
.res-cons {
width:auto;
margin-right:260px;
}
#secondary {
width:175px;
margin-top:35px;
padding-top:5px;
}
.post-content {
font-size: 14px;
}
}
@media print, screen and (max-width:860px) {
#header {
text-align:center;
}
#main {
width:100%;
margin-right:0;
}
#nav-menu {
margin:35px 0 -1px;
}
.res-cons {
width:auto;
margin-right:0;
}
#secondary {
display:none;
}
}
@media print, screen and (max-width:680px) {
.container {
padding:0 20px;
}
.post-title {
font-size:22px;
}
.page-navigator {
padding:15px 0 0;
}
#footer {
padding-top:10px;
}
.page-navigator a {
padding:0 6px;
}
.post-content img {
padding:0.2em 0;
}
.post {
padding:12px 0;
}
#nav-menu a {
padding:0 15px;
line-height:27px;
height:27px;
font-size:13px;
}
}
@media print, screen and (max-width:500px) {
.col2 {
width:140px;
}
.post-meta li.comment-count {
display: none;
}
.col1 p {
margin-right:160px;
}
.col1 {
margin-right:-160px;
}
.post-content-pages {
font-size: 14px;
}
.al_mon_list {
margin-left: 70px;
padding-left: 20px;
}
}
.about{
width: 100%;
}
/** Donation block **/
.hidden {
display: none;
}
#post-donation {
text-align: center;
margin: 20px auto;
}
#post-donation-button {
border: 1px solid #272727;
line-height: 100%;
outline: none;
background: #fff;
padding: .6em 1em;
margin: 1px;
}
#post-donation-button:hover {
border: 2px solid #0474bb;
color: #0474bb;
margin: 0;
}
#post-donation-qrcodes {
margin-top: .8em;
}
.post-donation-qrcode {
display: inline-block;
}
.post-donation-qrcode img {
width: 200px;
max-width: 100%;
}
.post-donation-qrcode p {
margin: -.5em auto auto auto;
font-size: 85%;
}
+21
View File
@@ -0,0 +1,21 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Maupassant Hugo"
license = "MIT"
licenselink = ""
description = ""
homepage = ""
tags = ["maupassant"]
features = []
min_version = "0.27"
[author]
name = "Joker Qyou"
homepage = "https://mynook.info"
# If porting an existing theme
[original]
name = "pagecho"
homepage = "https://chopstack.com/"
repo = "https://github.com/pagecho/maupassant"