Skip to content

Commit 585ea4d

Browse files
committed
doc: 重构基金会准则
1 parent 3fa4aae commit 585ea4d

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/BootstrapBlazor.Server/Components/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
<img alt="barcode" class="barcode" src="./images/[email protected]" />
3838
</div>
3939
<div class="bb-foundation">
40+
<div class="bb-foundation-content">本项目属于 <a href="https://www.dotnetfoundation.org/">.NET 基金会</a>,并根据其 <a href="https://www.dotnetfoundation.org/code-of-conduct">行为准则</a> 运作</div>
4041
<a class="bb-foundation-img d-none d-sm-block" href="https://www.dotnetfoundation.org/">
4142
<img src="./images/dotnet_foundation_v4.png" width="100" />
4243
</a>
43-
<div class="bb-foundation-content">本项目属于 <a href="https://www.dotnetfoundation.org/">.NET 基金会</a>,并根据其 <a href="https://www.dotnetfoundation.org/code-of-conduct">行为准则</a> 运作。</div>
4444
</div>
4545
</section>

src/BootstrapBlazor.Server/Components/Pages/Index.razor.css

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,16 @@
8686

8787
.bb-foundation {
8888
background-color: rgb(var(--bs-tertiary-bg-rgb));
89-
position: relative;
89+
display: flex;
90+
align-items: center;
9091
}
9192

92-
.bb-foundation .bb-foundation-img {
93-
position: absolute;
94-
right: 1rem;
95-
top: 1rem;
96-
}
97-
9893
.bb-foundation .bb-foundation-content {
9994
text-align: center;
100-
font-size: 1.1rem;
95+
font-size: 1rem;
10196
font-weight: bolder;
102-
line-height: 100px;
10397
padding: 1rem 0;
98+
flex-grow: 1;
10499
}
105100

106101
@media (min-width: 768px) {
@@ -116,4 +111,8 @@
116111
.donate .barcode {
117112
width: 480px;
118113
}
114+
115+
.bb-foundation .bb-foundation-content {
116+
margin-left: 100px;
117+
}
119118
}

0 commit comments

Comments
 (0)