Fix post styles

This commit is contained in:
panr 2019-02-02 01:01:02 +01:00
parent ab9bb3b3fb
commit 20599a8119
5 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,7 @@
<span class="post-date">
{{ .Date.Format "2006-01-02" }}
</span>
{{ with .Params.Author }}<span class="post-author">{{ $.Site.Params.WrittenBy }} {{ . }}</span>{{ end }}
{{ with .Params.Author }}<span class="post-author">{{ $.Site.Params.WrittenBy }} {{ . }}</span>{{ end }}
</div>
{{ if .Params.tags }}

View File

@ -139,7 +139,7 @@ code {
padding: 1px 6px;
margin: 0 2px;
border-radius: 5px;
font-size: .95rem;
font-size: 14px;
.dark-theme & {
background: var(--dark-background-secondary);
@ -150,7 +150,7 @@ pre {
background: #212020;
padding: 20px;
border-radius: 8px;
font-size: .95rem;
font-size: 14px;
overflow: auto;
@media (--phone) {
@ -163,7 +163,7 @@ pre {
color: #ccc;
margin: 0;
padding: 0;
font-size: inherit;
font-size: 14px;
.dark-theme & {
color: inherit;

View File

@ -59,6 +59,7 @@
margin: 40px -50px;
width: 860px;
max-width: 860px;
box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
@media (--tablet) {
margin: 20px 0;

View File

@ -6,7 +6,7 @@
@import 'logo';
@import 'menu';
@import 'main';
@import 'list';
@import 'post';
@import 'pagination';
@import 'footer';

File diff suppressed because one or more lines are too long