Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mock out hours

  • Loading branch information...
commit fe976f3a9d290ef380f5b9e09740e99e96d16f95 1 parent d1995d6
@Trott Trott authored
Showing with 39 additions and 10 deletions.
  1. +10 −2 _layouts/default.html
  2. +29 −8 styles/main.css
View
12 _layouts/default.html
@@ -77,10 +77,18 @@
</div> <!-- /.section, /#header -->
<div class="clear-block">
- <div class="block extra-links">
+ <div class="block extra-info">
<div class="block-inner">
<div class="content">
- <ul>
+ <div class="hours">
+ <span>Today:</span>
+ <ul>
+ <li>MB Library: 9am to 9pm</li>
+ <li>Parnassus: 7am to 10pm</li>
+ <li><a href="/locations/hours">[clock] HOURS</a></li>
+ </ul>
+ </div>
+ <ul class="extra-links">
<li><a href="/services/spaces">Study Spaces</a></li>
<li><a href="/askus" title="Ask Us">Ask Us</a></li>
</ul>
View
37 styles/main.css
@@ -3408,29 +3408,50 @@ img.logo {
display: none;
}
-div.extra-links {
+div.extra-info {
width: 943px;
+ height: 28px;
background-color: #2B85BB;
border-radius: 0.5em;
margin-bottom: -10px;
+ color: #fff;
}
-.extra-links ul {
- text-align: right;
- margin: 0 38px 0 0;
+.extra-info ul.extra-links {
+ float: right;
padding: 0;
line-height: 1em;
+ display: inline-block;
}
-div.extra-links ul li {
- display: inline-block;
+.extra-info ul.extra-links li {
padding: 0 20px 0 0;
+ display: inline-block;
}
-.extra-links ul li a {
- color: #fff;
+.extra-info ul li a {
text-transform: uppercase;
font-weight: normal;
+ color: #fff;
+}
+
+.hours {
+ line-height: 1em;
+}
+
+.hours span {
+ padding: 4px 20px 0 0;
+ float: left;
+}
+
+.hours ul {
+ display: inline-block;
+}
+
+.extra-info .hours, .extra-info .hours ul li {
+ display: inline-block;
+ padding: 0 20px 0 0;
+ margin: 0;
}
h1.page-title {
Please sign in to comment.
Something went wrong with that request. Please try again.