Fix
This commit is contained in:
parent
ea2ef08d08
commit
cd0a225068
|
@ -74,7 +74,8 @@ pre:hover .copy-code {
|
|||
|
||||
.simpletitle {
|
||||
padding: var(--gap);
|
||||
font-size: 24px;
|
||||
margin: 32px 4px 32px 4px;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
margin: 32px 4px 36px 4px;
|
||||
text-align: center;
|
||||
}
|
|
@ -57,7 +57,7 @@
|
|||
.post-entry {
|
||||
position: relative;
|
||||
/** margin-bottom: var(--gap); **/
|
||||
padding: var(--gap);
|
||||
padding: calc(var(--gap)*2);
|
||||
/** background: var(--entry);
|
||||
border: 1px solid var(--border); **/
|
||||
border-radius: var(--radius);
|
||||
|
@ -65,7 +65,7 @@
|
|||
}
|
||||
|
||||
.post-entry:hover {
|
||||
transform: scale(1.01);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.tag-entry .entry-cover {
|
||||
|
@ -74,24 +74,25 @@
|
|||
|
||||
.entry-header h2 {
|
||||
font-weight: 450;
|
||||
font-size: 20px;
|
||||
line-height: 1.3;
|
||||
font-size: 21px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.entry-content {
|
||||
margin: 8px 0;
|
||||
color: var(--secondary);
|
||||
font-size: 14px;
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-line-clamp: 1;
|
||||
/* display: none;*/
|
||||
}
|
||||
|
||||
.entry-footer {
|
||||
color: var(--secondary);
|
||||
font-size: 13px;
|
||||
margin: 4px 0;
|
||||
color: var(--primary);
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.entry-link {
|
||||
|
|
|
@ -41,12 +41,10 @@
|
|||
.post-content {
|
||||
padding-top: var(--gap);
|
||||
font-size: 15.5px;
|
||||
font-weight: 200;
|
||||
font-family: inherit;
|
||||
color: var(--content);
|
||||
/* letter-spacing: -0.1px; */
|
||||
line-height: 2;
|
||||
font-family: "Monaspace Neon", sans-serif;
|
||||
font-family: "Monaspace Neon", "Pretendard", sans-serif;
|
||||
}
|
||||
|
||||
.post-content h3,
|
||||
|
|
|
@ -1,76 +1,49 @@
|
|||
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");
|
||||
@import url("https://fonts.googleapis.com/css2?family=Gowun+Batang&family=Gowun+Dodum");
|
||||
|
||||
@font-face {
|
||||
font-family: "Line Sans";
|
||||
src: url("/LINESeedKR-Rg.woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Line Sans";
|
||||
src: url("/LINESeedKR-Rg.woff2");
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Line Sans";
|
||||
src: url("/LINESeedKR-Bd.woff2");
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Line Sans";
|
||||
src: url("/LINESeedKR-Th.woff2");
|
||||
font-weight: 300;
|
||||
font-family: "Source Sans 3";
|
||||
src: url("/fonts/SourceSans3-Regular.woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("/SourceSans3-Regular.woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("/SourceSans3-It.woff2");
|
||||
src: url("/fonts/SourceSans3-It.woff2");
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("/SourceSans3-Bold.woff2");
|
||||
src: url("/fonts/SourceSans3-Bold.woff2");
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Source Sans 3";
|
||||
src: url("/SourceSans3-Light.woff2");
|
||||
src: url("/fonts/SourceSans3-Light.woff2");
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Jetbrains Mono";
|
||||
src: url("/JetBrainsMono-Regular.woff2");
|
||||
src: url("/fonts/JetBrainsMono-Regular.woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Jetbrains Mono";
|
||||
src: url("/JetBrainsMono-Italic.woff2");
|
||||
src: url("/fonts/JetBrainsMono-Italic.woff2");
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Monaspace Argon";
|
||||
src: url("/Monaspace-Argon.woff2");
|
||||
src: url("/fonts/Monaspace-Argon.woff2");
|
||||
font-weight: 250;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Monaspace Neon";
|
||||
src: url("/Monaspace-Neon.woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Monaspace Xenon";
|
||||
src: url("/Monaspace-Xenon.woff2");
|
||||
src: url("/fonts/Monaspace-Neon.woff2");
|
||||
font-weight: 250;
|
||||
}
|
||||
|
||||
*,
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
}
|
||||
|
||||
.dark {
|
||||
--theme: #202032;
|
||||
--theme: #163c4f;
|
||||
--entry: rgb(46, 46, 51);
|
||||
--primary: rgb(218, 218, 219);
|
||||
--secondary: rgb(155, 156, 157);
|
||||
|
|
|
@ -71,16 +71,16 @@
|
|||
{{- if .Draft }}<sup><span class="entry-isdraft"> [draft]</span></sup>{{- end }}
|
||||
</h2>
|
||||
</header>
|
||||
{{- if (ne (.Param "hideSummary") true) }}
|
||||
<div class="entry-content">
|
||||
<p>{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}</p>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- if not (.Param "hideMeta") }}
|
||||
<footer class="entry-footer">
|
||||
{{- partial "post_meta.html" . -}}
|
||||
</footer>
|
||||
{{- end }}
|
||||
{{- if (ne (.Param "hideSummary") true) }}
|
||||
<div class="entry-content">
|
||||
<p>{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}</p>
|
||||
</div>
|
||||
{{- end }}
|
||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||
</article>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue