Skip to content

Commit

Permalink
use responsive CSS features of Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed May 31, 2012
1 parent 06729b6 commit 92668bf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 61 deletions.
7 changes: 7 additions & 0 deletions static/loglet.css
Expand Up @@ -52,3 +52,10 @@ label.after {
display: inline-block;
margin-left: 0.5em;
}

/* For small screens. */
@media (max-width: 767px) {
.level {
text-align: left;
}
}
57 changes: 0 additions & 57 deletions static/mobile.css

This file was deleted.

6 changes: 3 additions & 3 deletions templates/base.html
Expand Up @@ -6,10 +6,10 @@
<link rel="stylesheet" type="text/css"
href="{{ url_for('static', filename='bootstrap.css') }}">
<link rel="stylesheet" type="text/css"
href="{{ url_for('static', filename='loglet.css') }}">
href="{{ url_for('static',
filename='bootstrap-responsive.css') }}">
<link rel="stylesheet" type="text/css"
media="screen and (max-device-width: 480px)"
href="{{ url_for('static', filename='mobile.css') }}">
href="{{ url_for('static', filename='loglet.css') }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{%- endblock %}
</head>
Expand Down
2 changes: 1 addition & 1 deletion templates/log.html
Expand Up @@ -65,7 +65,7 @@ <h1>{{ title }}</h1>
<div class="row">
<div class="span9 main">
<div class="logtable">
<div class="row thead">
<div class="row thead visible-desktop">
<div class="span2">
<a href="{{ reversed_url }}">
Time
Expand Down

0 comments on commit 92668bf

Please sign in to comment.