Skip to content

Commit 21be6cf

Browse files
committed
使横竖屏都能正常观看
1 parent 1b8cfd9 commit 21be6cf

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎style/contact_icon.css‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
text-align: center;
2323
transition: all 0.25s ease;
2424
cursor: default;
25+
26+
box-sizing: border-box;
27+
height: 100%;
2528
}
2629

2730
.icon-card:hover {

‎style/overview.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ body {
5353
max-width: 900px;
5454
/* margin: 0 auto; */
5555
border-bottom: 1px solid #eee; /* 分割线 */
56+
57+
width: 80vw;
58+
margin-left: 10vw;
59+
text-align: left;
5660
}
5761

5862
/* 项目卡片 in project.css */

‎style/project.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
background: #fafbfc;
1010

1111
width: 100%;
12+
box-sizing: border-box;
1213
padding-left: 1vw;
1314
padding-top: 1vh;
1415
padding-bottom: 3vh;

0 commit comments

Comments
 (0)