index page style fix

This commit is contained in:
mubai
2026-04-18 11:50:11 +08:00
parent 72f6f4e9d1
commit f539091ea8
9 changed files with 13 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 531 KiB

View File

@@ -146,7 +146,6 @@ watchEffect(() => {
.card {
width: 100%;
aspect-ratio: 3/4.1;
padding: 0;
background: #f5f5f5;
position: relative;
@@ -282,6 +281,7 @@ watchEffect(() => {
.c_content .item {
/* flex-basis: calc(33% - 7px);
max-width: 33%;*/
aspect-ratio: 3/4;
position: relative;
margin: 0 4px 20px 4px;
box-sizing: border-box;
@@ -411,6 +411,7 @@ watchEffect(() => {
}
.card {
aspect-ratio: 3/4.1;
border-radius: 0.5em;
}

View File

@@ -204,7 +204,7 @@ a {
}
.content_right_item {
display: flex;
margin-bottom: 5px;
padding-left: 10px;
border-bottom: 1px solid var(--border-color-highlight);
}
@@ -212,7 +212,7 @@ a {
.content_right_item > a {
padding: 10px 15px 10px 0;
color: hsla(0, 0%, 100%, .87);
display: block;
display: flex;
flex-grow: 1;
text-align: left;
overflow: hidden;
@@ -223,7 +223,7 @@ a {
.hot_title {
text-align: left;
margin: 8px 0;
margin: 16px 0;
color: #FFBB64;
}
@@ -238,8 +238,8 @@ a {
.content_right_item span{
font-size: 14px;
font-weight: bold;
display: inline-block;
max-width: 80%;
max-width: 75%;
padding-top: 2px;
transition: transform 0.3s ease;
line-height: 100%;
}
@@ -253,6 +253,7 @@ a {
<!--移动端修改-->
<style scoped>
/*pc*/
@media (min-width: 768px) {
.cus_content_item {
padding: 10px;
@@ -261,6 +262,7 @@ a {
}
}
/*wrap*/
@media (max-width: 768px) {
.cus_content_item {
padding: 0 6px 0 0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 KiB

View File

@@ -11,8 +11,8 @@
<meta charset="UTF-8"/>
<title>(╥﹏╥)</title>
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_3992367_d9xdu8zk04f.css">
<script type="module" crossorigin src="/assets/index-D1fJmyuY.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BCLH_rTM.css">
<script type="module" crossorigin src="/assets/index-DtI_fGXi.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-SMpFt5Co.css">
</head>
<body>
<div id="app"></div>