Commit 9c5e0658 authored by Daniel W Bond's avatar Daniel W Bond

fixed the spacing problem between rows of building's floors and majors by...

fixed the spacing problem between rows of building's floors and majors by changing a br tag to css, as it should be anyway
parent 82edcc61
......@@ -47,7 +47,7 @@
<legend><a name="{{ letter.grouper }}" href="#{{ letter.grouper }}">{{ letter.grouper }}</a></legend>
<div class="row">
{% for major in letter.list %}
<div class="col-md-6 text-center">
<div class="col-md-6 minor-padding text-center">
<a href="{{ major.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">
{% if major.name|length > 39 %}
<small>{{ major.name }}</small></a>
......@@ -58,7 +58,6 @@
</div>
{% if forloop.counter|divisibleby:2 %}
</div>
<br />
<div class="row">
{% endif %}
{% endfor %}
......
......@@ -38,12 +38,11 @@
<div class="row">
{% for floor in floors %}
<div class="col-sm-3 text-center">
<div class="col-sm-3 minor-padding text-center">
<a href="{{ floor.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">{{ floor.number|ordinal }} Floor</a>
</div>
{% if forloop.counter|divisibleby:4 %}
</div>
<br />
<div class="row">
{% endif %}
{% endfor %}
......
......@@ -30,7 +30,7 @@ a[name] {
height: 30px;
}
@media(max-width: 992px) {
@media (max-width: 992px) {
#footer {
text-align: center;
}
......@@ -38,7 +38,7 @@ a[name] {
/* in which we replicate bootstrap's pull-right implementation */
@media(min-width: 992px) {
@media (min-width: 992px) {
.footer-right {
float: right !important;
}
......@@ -71,6 +71,10 @@ a[name] {
}
.container-padding {
padding-top: 30px;
t}
.minor-padding {
padding-bottom: 24px;
}
#get-started {
border-radius: 10px;
......
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