Browse Source

Add Index Page

HonorLee 2 years ago
parent
commit
b9f691afc2
3 changed files with 7 additions and 2 deletions
  1. 1 1
      static/css/style.css
  2. 4 0
      static/less/style.less
  3. 2 1
      view/index.html

File diff suppressed because it is too large
+ 1 - 1
static/css/style.css


+ 4 - 0
static/less/style.less

@@ -18,4 +18,8 @@ body{background:#339FE9}
             }
         }
     }
+}
+
+@media (max-width: 800px) {
+    .content{width:90%}
 }

+ 2 - 1
view/index.html

@@ -2,6 +2,7 @@
 <html lang="en">
 <head>
     <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
     <title>短链生成 Long To Short</title>
     <link rel="stylesheet" href="/static/css/style.css" />
 </head>
@@ -11,7 +12,7 @@
     <h3>-= 短链接生成 =-</h3>
     <div class="generate">
         <div class="get clear">
-            <input class="long_link" type="text" placeholder="(~o ̄3 ̄)~快呀~~快把链接放进这里" />
+            <input class="long_link" type="text" placeholder="(~o ̄3 ̄)~~快把链接放进来嘛" />
             <div class="btn">快! ~ 点我!</div>
         </div>
         <div class="result">