Skip to content

Commit

Permalink
Italicize <em> elements (fixes #63); add label to searchbox input (fixes
Browse files Browse the repository at this point in the history
 #64); change global nav "Admission" link/name (fixes #66); increase visibility of "Work at URI" footer link (fixes #67)
  • Loading branch information
bjcfuller committed Apr 10, 2018
1 parent 9fd9d4f commit d4ee168
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<div id="tagline"></div>
<div id="legal">
<p>Copyright &copy; <a class="subtle" href="http://www.uri.edu/">University of Rhode Island</a> | University of Rhode Island, Kingston, RI 02881, USA | 1.401.874.1000</p>
<p>URI is an equal opportunity employer committed to the principles of affirmative action.&nbsp;&nbsp;<a href="https://jobs.uri.edu/">Work at URI</a></p>
<p>URI is an equal opportunity employer committed to the principles of affirmative action.&nbsp;&nbsp;<a class="jobs" href="https://jobs.uri.edu/">Work at URI</a></p>
</div>
</footer><!-- #globalfooter -->
</div><!-- #page -->
Expand Down
1 change: 1 addition & 0 deletions header-parts/brandbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<form id="gs" method="get" action="https://www.uri.edu/search" name="global_general_search_form">
<input type="hidden" name="cx" value="016863979916529535900:17qai8akniu" />
<input type="hidden" name="cof" value="FORID:11" />
<label id="gs-query-label" for="gs-query">Searchbox</label>
<input role="searchbox" name="q" id="gs-query" value="<?php print ( isset( $_GET['q'] ) ) ? htmlentities( $_GET['q'] ) : ''; ?>" type="text" placeholder="Search" />
<input type="submit" id="gs-submit" class="searchsubmit" name="searchsubmit" value="Search" />
</form>
Expand Down
2 changes: 1 addition & 1 deletion header-parts/globalnav.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<input type="checkbox" id="globalnav-toggle" role="presentation" aria-label="Open the global navigation menu when browsing on mobile">
<label for="globalnav-toggle" id="globalnav-label">Main Menu<span role="presentation">open/close</span></label>
<ul id="globalnav-menu" class="content-width" role="menu">
<li rule="menuitem"><a href="/admissions">Admissions</a></li>
<li rule="menuitem"><a href="/admission">Admission</a></li>
<li rule="menuitem"><a href="/academics">Academics</a></li>
<li rule="menuitem"><a href="/research">Research</a></li>
<li rule="menuitem"><a href="/campus-life">Campus Life</a></li>
Expand Down
2 changes: 1 addition & 1 deletion map/style.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/sass/partials/_brandbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@

}

#gs-query-label {
position: absolute;
left: -9999px;
}

#gs-query {
font-weight: 300;
font-size: 1.5rem;
Expand Down
17 changes: 9 additions & 8 deletions src/sass/partials/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
}

p {
color: rgba(255,255,255,.6);
color: rgba(255,255,255,.5);
max-width: 100%;
padding: 0;
margin: 0;
Expand All @@ -244,18 +244,19 @@

a {
text-decoration: none;
color: #01a7ff;
font-weight: 600;
}

a:hover,
a:focus {
text-decoration: underline;
a.jobs {
color: $white;
}

a.subtle {
color: inherit;
font-weight: inherit;
}

a:hover,
a:focus {
text-decoration: underline;
}

} // #legal
Expand Down Expand Up @@ -359,7 +360,7 @@

#legal {
width: 100%;
font-size: .7rem;
font-size: .8rem;
margin-top: .5rem;
padding: 0 25px;
}
Expand Down
3 changes: 2 additions & 1 deletion src/sass/partials/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ strong {
font-weight: 600;
}

i {
i,
em {
font-style: italic;
}

Expand Down
2 changes: 1 addition & 1 deletion style.css

Large diffs are not rendered by default.

0 comments on commit d4ee168

Please sign in to comment.