Commit 14237f45 authored by Daniel Bond's avatar Daniel Bond
Browse files

Stylings for the site.

parent 34dab203
a{
color: ForestGreen;
}
a:hover{
color: Green;
}
a:visited{
color: DarkGreen;
}
div.container{ div.container{
}
.title{
text-align: center;
font-size: 50px;
font-weight: 900;
margin-top:30px; margin-top:30px;
} }
.left-footer{
position: absolute;
left: 5px;
bottom: 5px;
}
.right-footer{
position: absolute;
right: 5px;
bottom: 5px;
}
#grid div[class*='span']{ #grid div[class*='span']{
margin-top:10px; margin-top:10px;
margin-bottom:10px; margin-bottom:10px;
} }
.open{ .open{
color:green; color:ForestGreen;
font-weight:bold; font-weight:bold;
font-size:200%; font-size:200%;
text-align:center; text-align:center;
......
{% extends 'base.html' %}
{% block content %}
<!-- {% now "jS F Y H:i" %} -->
{% for list in restRows %}
<div class = "row">
{% for restaurant in list %}
<div class = "span3 {% if restaurant.isOpen %}open{% else %}closed{% endif %}">
{{restaurant.name}}
</div>
{% endfor %}
</div>
{% empty %}
There aren't any restaurants.
{% endfor %}
{% endblock %}
...@@ -17,11 +17,37 @@ ...@@ -17,11 +17,37 @@
{% endblock %} {% endblock %}
</head> </head>
{% endblock %} {% endblock %}
<body> <body>
<div class = "container"> <div class = "container">
{% block content%}
{% endblock %} <!-- Title, Logo -->
<div class = "row-fluid">
<div class = "span2">
<a href="http://www.gmu.edu/"><img src = "http://logo.gmu.edu/hireslogos/primarylogo/PC/GMURGB.bmp" alt = "GMU Logo" width = "114" height = "79"></a>
</div> </div>
</body> <div class = "span8 title">
<a href="http://whatsopen.gmu.edu">What's Open</a>
</div>
</div>
{% block content%}
{% endblock %}
<div class = "navbar">
</div>
<!-- Footers -->
</div>
<div class = "left-footer">
A project of <a href="http://srct.gmu.edu">GMU SRCT</a>. Some rights reserved.
</div>
<div class = "offset5 right-footer">
George Mason University <a href="http://dining.gmu.edu">Dining Services</a>
</div>
</body>
</html> </html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment