소스 검색

feat: 调整start页面的按钮

SongZihuan 3 년 전
부모
커밋
b7956bc35c
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 0
      app/static/styles/base.css
  2. 3 3
      app/static/styles/hello/start.css

+ 1 - 0
app/static/styles/base.css

@@ -51,6 +51,7 @@ nav.nav-top {
     display: block;
     float: left;
 
+    text-align: center;
     font-size: 25px;
     line-height: 80px;
     font-weight: bold;

+ 3 - 3
app/static/styles/hello/start.css

@@ -31,7 +31,7 @@ body {
     border-style: ridge;
     border-color: rgb(123, 104, 238);
 
-    margin-top: 300px;
+    bottom: 200px;
 
     color: #F0FFF0;
     background-color: #FFDC00;
@@ -42,7 +42,7 @@ body {
     transition: width 1s, height 1s,
     left 1s, border-radius 1s,
     background-color 1s, color 1s,
-    font-size 1s, margin-top 1s;
+    font-size 1s, bottom 1s;
 }
 
 @media all and (max-width: 992px) {
@@ -62,7 +62,7 @@ body {
         left: 40%;
         width: 20%;
         height: 150px;
-        margin-top: 275px;
+        bottom: 175px;
         border-radius: 30px;
 
         color: black;