diff options
author | Yuanfei He <lhe868@gmail.com> | 2020-03-24 19:28:04 +0300 |
---|---|---|
committer | Yuanfei He <lhe868@gmail.com> | 2020-07-10 18:12:19 +0300 |
commit | 08cc59bbcab6aec71aa82356b8386cab035372d8 (patch) | |
tree | f850c892f7831163d6879dbfe083c1866e808bee | |
parent | 789a1fd25203b0919de3df4f72196e245708a758 (diff) |
update css
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | static/css/style.css | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ff6821d..e6dc0d1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -66,7 +66,7 @@ $(this).html("<ul><li>" + $(this).html().replace(/\n/g,"\n</li><li>") +"\n</li>< <small class="text-muted">{{ .Site.Copyright }} Theme:<a href="https://hii8.com/">LeonHe</a></small> </div> <div class="col-lg-2"> - <small class="text-muted">{{ .Site.Params.footerRight}}</small> + <small class="text-muted"><a href='http://www.beian.miit.gov.cn/' />{{ .Site.Params.footerRight}}</a></small> </div> </div> </div> diff --git a/static/css/style.css b/static/css/style.css index b7c4be3..d04339a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -343,4 +343,21 @@ text-align: center; figure { display: table; + margin-bottom: 20px; +} + +figure.floatright { + max-width: 30%; + width: auto\9*0.3; /* ie8 */ + height: auto; + float: right; + padding-left: 20px; +} + +figure.floatleft { + max-width: 30%; + width: auto\9*0.3; /* ie8 */ + height: auto; + float: left; + padding-right: 20px; } |