mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-14 20:35:07 +01:00
Fix post styles
This commit is contained in:
parent
ab9bb3b3fb
commit
20599a8119
@ -5,7 +5,7 @@
|
|||||||
<span class="post-date">
|
<span class="post-date">
|
||||||
{{ .Date.Format "2006-01-02" }}
|
{{ .Date.Format "2006-01-02" }}
|
||||||
</span>
|
</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>
|
</div>
|
||||||
|
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
|
@ -139,7 +139,7 @@ code {
|
|||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-size: .95rem;
|
font-size: 14px;
|
||||||
|
|
||||||
.dark-theme & {
|
.dark-theme & {
|
||||||
background: var(--dark-background-secondary);
|
background: var(--dark-background-secondary);
|
||||||
@ -150,7 +150,7 @@ pre {
|
|||||||
background: #212020;
|
background: #212020;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
font-size: .95rem;
|
font-size: 14px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
@media (--phone) {
|
@media (--phone) {
|
||||||
@ -163,7 +163,7 @@ pre {
|
|||||||
color: #ccc;
|
color: #ccc;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: inherit;
|
font-size: 14px;
|
||||||
|
|
||||||
.dark-theme & {
|
.dark-theme & {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
@ -59,6 +59,7 @@
|
|||||||
margin: 40px -50px;
|
margin: 40px -50px;
|
||||||
width: 860px;
|
width: 860px;
|
||||||
max-width: 860px;
|
max-width: 860px;
|
||||||
|
box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
|
||||||
|
|
||||||
@media (--tablet) {
|
@media (--tablet) {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
@ -6,7 +6,7 @@
|
|||||||
@import 'logo';
|
@import 'logo';
|
||||||
@import 'menu';
|
@import 'menu';
|
||||||
@import 'main';
|
@import 'main';
|
||||||
@import 'list';
|
@import 'post';
|
||||||
@import 'pagination';
|
@import 'pagination';
|
||||||
@import 'footer';
|
@import 'footer';
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user