Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lake233 authored Nov 17, 2024
1 parent 4a324a3 commit f68bbb9
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,19 @@ group: home
line-height: 1.6; /* 行高 */;
}
.mind-title {
text-align: center; /* 确保文字居中对齐 */
margin: 0 auto; /* 将整个块居中 */
text-align: center; /* 整个块居中对齐 */
margin: 0 auto;
margin-top: 0;
max-width: 100%; /* 确保宽度不会受限 */
}

.mind-title span {
max-width: 90%; /* 确保宽度不会受限 */
}
.mind-title span {
display: inline-block; /* 保证文字内容是行内块级元素 */
font-size: 26px;
font-size: 30px;
font-weight: bold;
text-align: center; /* 内容居中对齐 */
}

.mind-title span.large {
font-size: 28px;
font-family: 'Dancing Script', cursive;
}
}
.mind-title span.large {
font-size: 32px;
font-family: 'Lobster', cursive;
}

</style>

Expand All @@ -38,7 +33,7 @@ group: home
<span>
<span class="large">M</span>edical
<span class="large">I</span>maging and
<span class="large">N</span>euroscientific
<span class="large">N</span>euroscientific
<span class="large">D</span>iscovery (<span class="large">MIND</span>) Laboratory
</span>
</div>
Expand Down

0 comments on commit f68bbb9

Please sign in to comment.