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

github.com/wayjam/hugo-theme-mixedpaper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayJam So <imsuwj@gmail.com>2020-05-23 08:22:42 +0300
committerWayJam So <imsuwj@gmail.com>2020-05-23 08:22:42 +0300
commit80231701a8612881b4e72a1038d8f87cd4c776af (patch)
treedab6a8da0d9cc320f10b595fb22934aca606aada
parent43b2ad8f19c9b7ae7f218333c6e3ad7fb65eec71 (diff)
update: style
-rw-r--r--assets/css/main.scss18
1 files changed, 10 insertions, 8 deletions
diff --git a/assets/css/main.scss b/assets/css/main.scss
index 2ebaaa0..88cc624 100644
--- a/assets/css/main.scss
+++ b/assets/css/main.scss
@@ -602,13 +602,11 @@ body {
padding: 0.6em 1em;
margin: 0.8em 0;
font-size: 0.9em;
- word-break: break-all;
- word-wrap: break-word;
+ overflow: auto;
code {
padding: 0;
border-width: 0;
- white-space: pre-wrap;
background-color: transparent;
border-radius: 0;
min-width: 300px;
@@ -758,7 +756,6 @@ body {
/* Comment */
#comments {
- padding: 0.5em;
margin: 1em 0;
.leancloud_visitors {
display: block;
@@ -798,8 +795,6 @@ body {
margin: 0;
padding: 0;
min-width: 0;
- word-wrap: initial;
- word-break: initial;
border: 0;
}
}
@@ -1205,6 +1200,8 @@ body {
.content {
margin: 1em auto;
+ padding-left: 1em;
+ padding-right: 1em;
}
.post {
@@ -1217,11 +1214,16 @@ body {
}
}
- .other_posts span.prev,
- .other_posts span.next {
+ .other_posts .prev,
+ .other_posts .next {
display: block;
text-align: center;
width: 100%;
+ float: none;
+ }
+
+ #comments {
+ margin-top: 0;
}
.hide-sm {