Skip to content

Commit

Permalink
mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
roddds committed Aug 13, 2013
1 parent 33dfeec commit ddd3cfb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ def home():
return render_template('main.html')

if __name__ == '__main__':
app.run()
app.run(host="0.0.0.0", port=8000)
6 changes: 6 additions & 0 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ body {
top: 5px;
right: 5px;
opacity: 0.3; }

@media all and (max-width: 699px) {
body ul li {
margin: auto; }
body ul li img {
width: 50px; } }
14 changes: 14 additions & 0 deletions static/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,18 @@ body {
right: 5px;
opacity: 0.3;
}
}

@media all and (max-width: 699px) {
body {
ul {

li {
margin: auto;
img {
width: 50px;
}
}
}
}
}

0 comments on commit ddd3cfb

Please sign in to comment.