Skip to content
Snippets Groups Projects
Commit 48a2a11f authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Add responsive message support

parent 924f971a
No related branches found
No related tags found
No related merge requests found
#global-message {
color: white;
background-color: rgb(205, 20, 67);
text-align: center;
padding: 16px;
}
#global-message a {
color: white;
}
#global-message a:hover, #global-message a:focus {
border-bottom: 2px solid white;
}
#global-message * {
margin: 0;
padding: 0;
}
......@@ -17,6 +17,15 @@ $uw_theme_branding = variable_get('uw_theme_branding', 'full');
</nav>
</div>
<header id="header" class="uw-header--global">
<?php
$global_message = file_get_contents('https://uwaterloo.ca/global-message.html');
if ($global_message) {
?>
<div id="global-message">
<?php echo $global_message; ?>
</div>
<?php
}
<div class="uw-section--inner">
<?php print render($page['global_header']); ?>
</div>
......
......@@ -30,5 +30,6 @@ stylesheets[all][] = css/colors.css
stylesheets[print][] = css/print.css
; customize
stylesheets[all][] = css/resp.css
stylesheets[all][] = css/global-message.css
scripts[] = js/resp.js
; end customize
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment