Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yanlinlin82/simple-style.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinlin Yan <yanlinlin82@gmail.com>2019-12-13 03:50:35 +0300
committerLinlin Yan <yanlinlin82@gmail.com>2019-12-13 03:50:35 +0300
commitf49006683f329f95713ebae9441f5a0a306ad0f6 (patch)
treec12b49d4286ced783ee0f81858367d08a8cf2d4b
parentd4c21ab7b68f24ffa76f55b935e936d325fd0cf7 (diff)
Adjust max-width/max-height
-rw-r--r--layouts/_default/baseof.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index d28b704..e70e95a 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<style type="text/css">
-body{margin:16px auto;max-width:960px;padding:0 10px;color:#333;line-height:1.6}
+body{margin:16px auto;max-width:677px;padding:0 10px;color:#333;line-height:1.6}
h1,h2,h3{line-height:1.2}
h1{font-size:160%}
h2{font-size:120%}
@@ -13,7 +13,7 @@ h3,h4,h5,h6{font-size:100%}
header{margin:0;padding:0;border-bottom:1px solid #ccc;line-height:1}
footer{margin:0;padding:10px 0;border-top:1px solid #ccc;line-height:1;text-align:center}
p,div,table,ul,ol{margin:10px 0}
-img{margin:10px auto;max-width:800px;padding:0 10px;height:auto;display:block}
+img{margin:10px auto;max-width:600px;padding:0 10px;height:auto;display:block}
a{color:#00f}
a:visited{color:#009}
a:hover{color:#f00}
@@ -24,7 +24,7 @@ nav a{padding-left:15px}
table{border-collapse:collapse}
th,td{border:1px solid gray;padding:2px 5px}
code{border:1px solid #ccc;background-color:#f0f0f0;padding:1px 2px}
-pre{border:1px solid #ccc;background-color:#f0f0f0;padding:5px;overflow:auto;max-height:600px}
+pre{border:1px solid #ccc;background-color:#f0f0f0;padding:5px;overflow:auto;max-height:500px}
pre code{border:0;background:none;padding:0}
ul.pagination{list-style-type:none;text-align:center}
li.page-item{display:inline;padding-right:15px}