Use responsive design

This commit is contained in:
Las Zenow 2012-08-30 21:33:32 +02:00
parent 412fa08533
commit fa6c681120
3 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@
<html>
<head>
<link href="/css/bootstrap.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/css/bootstrap-responsive.css" rel="stylesheet">
<style type="text/css">
.centered { text-align:center; }

View file

@ -18,7 +18,7 @@
{{end}}
{{end}}
</div>
<div class="row">
<div class="row hidden-phone">
{{with .Books}}
{{range .}}
<div class="span2">

View file

@ -23,7 +23,7 @@
</ul>
{{end}}
{{range .In}}
<ul class="nav nav-list">
<ul class="nav nav-list hidden-phone">
{{end}}
<li {{if .Active}}class="active"{{end}}><a href="{{.Link}}">{{.Label}}</a></li>
{{end}}