Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
48a2a11f
There was an error fetching the commit references. Please try again later.
Commit
48a2a11f
authored
4 years ago
by
Kevin Paxman
Browse files
Options
Downloads
Patches
Plain Diff
Add responsive message support
parent
924f971a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
css/global-message.css
+17
-0
17 additions, 0 deletions
css/global-message.css
templates/page.tpl.php
+9
-0
9 additions, 0 deletions
templates/page.tpl.php
uw_fdsu_theme_resp.info
+1
-0
1 addition, 0 deletions
uw_fdsu_theme_resp.info
with
27 additions
and
0 deletions
css/global-message.css
0 → 100644
+
17
−
0
View file @
48a2a11f
#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
;
}
This diff is collapsed.
Click to expand it.
templates/page.tpl.php
+
9
−
0
View file @
48a2a11f
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
uw_fdsu_theme_resp.info
+
1
−
0
View file @
48a2a11f
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment