diff options
author | Nan Xiao <road2stat@gmail.com> | 2017-12-27 14:44:02 +0300 |
---|---|---|
committer | Nan Xiao <road2stat@gmail.com> | 2017-12-27 14:44:02 +0300 |
commit | 812e0d4045801b4bd58ba7985e7fe339ba679f20 (patch) | |
tree | 0b3a51ec77e488d79b5bed76c6a8392d51ad806c | |
parent | 71c1cbce9484224ffa0912a94385b3535db91090 (diff) |
adjust font size
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/partials/styles.html | 118 |
2 files changed, 60 insertions, 60 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e0b3e6a..fef8f2c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,7 +4,7 @@ <h1>{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }}</h1> <div id=sub-header> - {{ .Date.Format (.Site.Params.dateform | default "2006/01/02") }} · {{ .ReadingTime }} minute read + {{ .Params.author }} · {{ .Date.Format (.Site.Params.dateform | default "2006/01/02") }} · {{ .ReadingTime }} minute read </div> <div class="entry-content"> diff --git a/layouts/partials/styles.html b/layouts/partials/styles.html index 3006b4f..541be78 100644 --- a/layouts/partials/styles.html +++ b/layouts/partials/styles.html @@ -28,23 +28,23 @@ } * { - border:0; - font:inherit; - font-size:100%; - vertical-align:baseline; - margin:0; - padding:0; - color:#333; + border: 0; + font: inherit; + font-size: 100%; + vertical-align: baseline; + margin: 0; + padding: 0; + color: #333; text-decoration-skip: ink; } body { - font-family:'TiemposText', Georgia, Times, "Times New Roman", "Hiragino Kaku Gothic Pro", "Meiryo", serif; - font-size:18px; - line-height:160%; - color:#333; - max-width:700px; - margin:auto; + font-family: "TiemposText", Georgia, Times, "Times New Roman", "Hiragino Kaku Gothic Pro", "Meiryo", serif; + font-size: 16px; + line-height: 160%; + color: #333; + max-width: 700px; + margin: auto; } p { @@ -52,7 +52,7 @@ } a img { - border:none; + border: none; } img { @@ -66,7 +66,7 @@ } .right-justify { - float:right; + float: right; } pre, code { @@ -75,7 +75,7 @@ } code { - font-size: 12px; + font-size: 14px; padding: 4px; } @@ -150,7 +150,7 @@ blockquote { text-align:center; - padding:15px; + padding:16px; } blockquote p { @@ -159,13 +159,13 @@ } blockquote:before,blockquote:after { - content:'\201C'; - font-size:35px; - color:#738491; + content: "\201C"; + font-size: 35px; + color: #738491; } blockquote:after { - content:'\201D'; + content: "\201D"; } hr { @@ -176,16 +176,16 @@ } h1 { - font-size:35px; + font-size: 35px; } h2 { - font-size:28px; + font-size: 28px; } h3 { - font-size:22px; - margin-top:18px; + font-size: 22px; + margin-top: 18px; } h1 a,h2 a,h3 a { @@ -197,8 +197,8 @@ } #sub-header, time { - color:#738491; - font-size:13px; + color: #738491; + font-size: 14px; } #sub-header { @@ -206,9 +206,9 @@ } #nav h1 a { - font-size:35px; - color:#333; - line-height:120%; + font-size: 35px; + color: #333; + line-height: 120%; } .posts_listing a,#nav a { @@ -236,22 +236,22 @@ } #content { - text-align:left; - width:100%; - font-size:15px; - padding:60px 0 80px; + text-align: left; + width: 100%; + font-size: 16px; + padding: 60px 0 80px; } #content h1,#content h2 { - margin-bottom:5px; + margin-bottom: 5px; } #content h2 { - font-size:25px; + font-size: 25px; } #content .entry-content { - margin-top:15px; + margin-top: 16px; } #content time { @@ -259,7 +259,7 @@ } #content h1 { - font-size:30px; + font-size: 30px; } .highlight { @@ -290,9 +290,9 @@ } #nav li { - list-style-type:none; - display:table-cell; - font-size:15px; + list-style-type: none; + display: table-cell; + font-size: 16px; padding: 0 20px; } @@ -323,30 +323,30 @@ } #nav h1 a { - font-size:28px; + font-size: 28px; } #nav li { - font-size:13px; - padding: 0 15px; + font-size: 16px; + padding: 0 16px; } #content { - margin-top:0; - padding-top:50px; - font-size:14px; + margin-top: 0; + padding-top: 50px; + font-size: 16px; } #content h1 { - font-size:25px; + font-size: 25px; } #content h2 { - font-size:22px; + font-size: 22px; } .posts_listing li div { - font-size:12px; + font-size: 12px; } } @@ -357,30 +357,30 @@ } #nav h1 a { - font-size:22px; + font-size: 22px; } #nav li { - font-size:12px; - padding: 0 10px; + font-size: 14px; + padding: 0 12px; } #content { - margin-top:0; - padding-top:20px; - font-size:12px; + margin-top: 0; + padding-top: 20px; + font-size: 16px; } #content h1 { - font-size:20px; + font-size: 20px; } #content h2 { - font-size:18px; + font-size: 18px; } .posts_listing li div{ - font-size:12px; + font-size: 12px; } } </style> |