Browse Source

update style & README

tree
欧醚 3 years ago
parent
commit
3906d1d58a
3 changed files with 4 additions and 5 deletions
  1. +2
    -4
      README.md
  2. +1
    -1
      static/css/ordinary.css
  3. +1
    -0
      templates/story.html

+ 2
- 4
README.md View File

@ -5,10 +5,8 @@
## Run in Develop Mode ## Run in Develop Mode
```bash ```bash
export FLASK_APP=app.py
export FLASK_ENV=development
flask run
python3 init_data.py # in an another terminal
python3 init_data.py
python3 app.py
``` ```
Open http://127.0.0.1:5000/ordinary in a browser. Open http://127.0.0.1:5000/ordinary in a browser.

+ 1
- 1
static/css/ordinary.css View File

@ -138,7 +138,7 @@ a:focus, .btn-link:focus {
.paragraph-list { .paragraph-list {
position: relative; position: relative;
margin: 40px 40px 30px 0;
margin: 45px 50px 30px 0;
background: white; background: white;
} }

+ 1
- 0
templates/story.html View File

@ -48,6 +48,7 @@
<div style="font-size:90%;"> <div style="font-size:90%;">
<ul> <ul>
<li>点击“续!”进行创作。</li>
<li>在每天的10:00/16:00/22:00,赞数最高且不小于{{min_like_num}}的续写将入选,成为这个角色最终故事的一部分。如果没有,所有都会被保留进入下一时段。</li> <li>在每天的10:00/16:00/22:00,赞数最高且不小于{{min_like_num}}的续写将入选,成为这个角色最终故事的一部分。如果没有,所有都会被保留进入下一时段。</li>
<li>参与创作需要回答几个简单的问题以验证学生身份,或者通过<a href="https://thu.closed.social/">闭社清华站</a>账号登录。</li> <li>参与创作需要回答几个简单的问题以验证学生身份,或者通过<a href="https://thu.closed.social/">闭社清华站</a>账号登录。</li>
<li>联系邮箱:<a href="mailto:{{email}}">{{email}}</a></li> <li>联系邮箱:<a href="mailto:{{email}}">{{email}}</a></li>

Loading…
Cancel
Save