fix: Update index page style

This commit is contained in:
2024-12-22 01:01:22 +08:00
parent 633dc9ecf4
commit 608c7305e9
5 changed files with 8 additions and 16 deletions

View File

@@ -9,19 +9,12 @@
--background-color: #191c1d;
}
/* @font-face {
font-family: 'miseki-bitmap';
src: url('../../assets/css/webfonts/miseki-bitmap.ttf') format('opentype');
@font-face {
font-family: 'fusion-pixel';
src: url('../../assets/css/webfonts/fusion-pixel-10px-monospaced-zh_hans.woff2') format('woff2');
font-weight: normal;
font-style: normal;
} */
/*@font-face {*/
/* font-family: 'meslo-lg-s-regular-for-powerline';*/
/* src: url('../../assets/css/webfonts/meslo-lg-s-regular-for-powerline.ttf') format('opentype');*/
/* font-weight: normal;*/
/* font-style: normal;*/
/*}*/
}
html, body {
width: 100%;
@@ -29,7 +22,6 @@ html, body {
margin: 0;
padding: 0;
/*font-family: meslo-lg-s-regular-for-powerline, serif;*/
background-color: var(--background-color);
}
@@ -110,9 +102,9 @@ a:hover {
.special-info-area {
height: 340px;
padding: 20px;
padding: 15px;
border-radius: 4px;
/* font-family: miseki-bitmap, serif; */
font-family: fusion-pixel, serif;
border: var(--secondary-text-color) 1px dashed;
}

View File

@@ -56,7 +56,7 @@
<div class="container p-3">
<div class="row pt-lg-3">
<h4 class="recent-post-title"># {{ .recent_post.title }}</h4>
<div class="col-12 col-lg-9">
<div class="col-12 col-xl-9">
<div>
{{ range $i, $v := .recent_post.posts }}
<div class="row recent-post-item">
@@ -85,7 +85,7 @@
<!-- special info -->
<!-- motto -->
<div class="col-lg-3 d-none d-lg-grid carousel slide special-info-area">
<div class="col-xl-3 d-none d-xl-grid carousel slide special-info-area">
<span id="index-motto-container"></span>
</div>
{{ .site_info.motto_html }}