i18n
xaoxuu 4 years ago
parent 2d04a0bb0b
commit fead8b174d
  1. 18
      source/less/_article.less

@ -2,7 +2,7 @@
color: @color_text_main; color: @color_text_main;
font-size: @fontsize_base; font-size: @fontsize_base;
line-height: @lineheight_base; line-height: @lineheight_base;
word-break: break-all; // word-break: break-all;
word-wrap: break-word; word-wrap: break-word;
img { img {
position: relative; position: relative;
@ -242,10 +242,8 @@
p{ p{
text-align: left; text-align: left;
word-wrap: normal; word-wrap: normal;
margin: 0;
font-size: @fontsize_small; font-size: @fontsize_small;
line-height: @fontsize_small * 1.5; line-height: @fontsize_small * 1.5;
padding: @gap/2 0;
} }
position: relative; position: relative;
width: 100%; width: 100%;
@ -256,8 +254,18 @@
.enable-trans(); .enable-trans();
footer { footer {
strong { padding: 0;
margin-right: 7px; text-align: justify;
color: inherit;
font-style: italic;
margin: .6em 0;
cite{
&::before{
content: '----';
padding: 0 .3em;
}
color: fade(@color_text_main, 70%);
margin-left: 1em;
} }
} }
&.pullquote{ &.pullquote{

Loading…
Cancel
Save