소스 검색

fix: minour ui changes

pull/5/head
Rohan Verma 6 년 전
부모
커밋
7698bbac18
2개의 변경된 파일13개의 추가작업 그리고 5개의 파일을 삭제
  1. +12
    -4
      assets/css/custom.css
  2. +1
    -1
      layouts/_default/list.html

+ 12
- 4
assets/css/custom.css 파일 보기

@@ -16,9 +16,9 @@ dark-mode-toggle {
font-family: 'Inter';
font-display: auto;
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 {
@@ -33,12 +33,12 @@ body.dark {
}
.hack, .hack blockquote, .hack em, .hack h1, .hack h2, .hack h3, .hack h4, .hack h5, .hack h6, .hack strong {
font-family: 'Inter', monospace;
font-weight: 700;
}

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

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

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

+ 1
- 1
layouts/_default/list.html 파일 보기

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

Loading…
취소
저장