Sfoglia il codice sorgente

fix: minour ui changes

pull/5/head
Rohan Verma 6 anni fa
parent
commit
7698bbac18
2 ha cambiato i file con 13 aggiunte e 5 eliminazioni
  1. +12
    -4
      assets/css/custom.css
  2. +1
    -1
      layouts/_default/list.html

+ 12
- 4
assets/css/custom.css Vedi File

font-family: 'Inter'; font-family: 'Inter';
font-display: auto; font-display: auto;
font-style: normal; font-style: normal;
font-weight: 500;
src: url("https://rsms.me/inter/font-files/Inter-Medium.woff2") format("woff2"),
url("https://rsms.me/inter/font-files/Inter-Medium.woff") format("woff");
font-weight: 700;
src: url("https://rsms.me/inter/font-files/Inter-Bold.woff2") format("woff2"),
url("https://rsms.me/inter/font-files/Inter-Bold.woff") format("woff");
} }


body.light { body.light {
} }
.hack, .hack blockquote, .hack em, .hack h1, .hack h2, .hack h3, .hack h4, .hack h5, .hack h6, .hack strong { .hack, .hack blockquote, .hack em, .hack h1, .hack h2, .hack h3, .hack h4, .hack h5, .hack h6, .hack strong {
font-family: 'Inter', monospace; font-family: 'Inter', monospace;
font-weight: 700;
} }


.hack { .hack {
font-family: "Inter", serif; font-family: "Inter", serif;
font-weight: 400; font-weight: 400;
text-align: justify;
} }


a[rel*="external"]::after { a[rel*="external"]::after {
} }
nav a { nav a {
padding: 2px; padding: 2px;
margin-right: 0.4rem;
}
.side-nav a {
margin-right: 0.4rem;
} }
.light nav a.active { .light nav a.active {
background-color: inherit; background-color: inherit;
grid-template-columns: 1fr minmax(min-content, auto); grid-template-columns: 1fr minmax(min-content, auto);
column-gap: 20px; column-gap: 20px;
grid-template-areas: "div div"; grid-template-areas: "div div";
}

.post-content p{
max-width: 40rem;
} }

+ 1
- 1
layouts/_default/list.html Vedi File

<h1> <h1>
<div>{{ .Title }}</div> <div>{{ .Title }}</div>
<div> <div>
<small>
<small class="side-nav">
<a href="{{ .Params.listing }}">Archive</a> <a href="{{ .Params.listing }}">Archive</a>
<a href="/categories">Categories</a> <a href="/categories">Categories</a>
<a href="/tags">Tags</a> <a href="/tags">Tags</a>

Loading…
Annulla
Salva