Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
61655c2
Adding Neue Haas Grotesk in place of Open Sans
djanelle-mit Jan 2, 2025
ac45589
Removed font weight overrides to all headings and swapped to display …
djanelle-mit Jan 6, 2025
e74001e
Updated headings to all use 600 weight
djanelle-mit Jan 15, 2025
488ce44
Hours page: fixed weights of type and broken mobile styles
djanelle-mit Jan 15, 2025
6f88ef4
Fixed News and Events header that only appears on mobile breakpoints …
djanelle-mit Jan 15, 2025
b2557af
Updated our accordion styles to fix font size and letter spacing as w…
djanelle-mit Jan 15, 2025
cfc4f70
PW-136: Moving about styles away from customizer into dedicated SCSS …
djanelle-mit Feb 5, 2025
27c284a
PW-136: Removed references and @font-face rules for old hosted versio…
djanelle-mit Feb 5, 2025
7af1161
PW-136: Fixed bugs that made this page different than the one on prod…
djanelle-mit Feb 5, 2025
e617b3b
PW-136: Tweaks for first round of UXWS feedback
djanelle-mit Feb 6, 2025
f47e784
Updated bottom three column layout to stack at same breakpoint as top…
djanelle-mit Feb 13, 2025
8a5c2c5
PW-136: Added spacing between elements to give ample whitespace
djanelle-mit Feb 13, 2025
83bb5fb
PW-136: Fixed responsive images and adjusted background colors based …
djanelle-mit Feb 26, 2025
22e04bc
Missed closed bracket that broke sass compile fixed
djanelle-mit Feb 26, 2025
1749f49
PW-135: updated heading styles and subnavigation colors
djanelle-mit Apr 9, 2025
651f5f6
PW-135: updated subnav styling to better match other pages and adjust…
djanelle-mit Apr 9, 2025
d159e0c
PW-135: updated subnavigation colors to be accessible. Set news post …
djanelle-mit Apr 9, 2025
3f7b83c
PW-135: updated more text colors to pass accessible contrast ratios
djanelle-mit Apr 9, 2025
eaf31da
PW-135: Fixed spacing and size of byline and fixed responsive subnavi…
djanelle-mit Apr 25, 2025
0f6c3df
PW-135: fixed category select element to be accessible and match subn…
djanelle-mit Apr 25, 2025
3a555cc
PW-135: Fixed responsive subnavigation to have consistent font size a…
djanelle-mit Apr 25, 2025
1560f57
PW-135: fixed show more button to match colors on homepage to meet co…
djanelle-mit Apr 25, 2025
5c9c6eb
PW-135: overrode SVG icons to have more accessible color
djanelle-mit Apr 25, 2025
ac3eb15
PW-135: fixed various typography quirks
djanelle-mit Apr 25, 2025
0dc21f5
PW-135: fixed underlines on article titles when searching
djanelle-mit Apr 25, 2025
540acd7
PW-135: fixed subscribe page H1 being too large
djanelle-mit Apr 25, 2025
49096ad
PW-135: fixed In the media heading size to match other sub pages
djanelle-mit Apr 29, 2025
1929da7
Small tweaks based on UXWS feedback to hours, main nav, and footer
djanelle-mit Aug 6, 2025
c7cafd5
Incrementing theme versions for news, child, parent themes
djanelle-mit Aug 28, 2025
32204bb
Removing old font infrastructure that is no longer in use
djanelle-mit Sep 2, 2025
ea3de26
Updated font stack to include more durable Windows fallback
djanelle-mit Sep 4, 2025
10a182d
Refactoring About page CSS to use SCSS nesting and moved custom table…
djanelle-mit Sep 4, 2025
dee32e4
Removed hardcoded reference to Typekit and enqueued with the theme in…
djanelle-mit Sep 4, 2025
8b41adf
Removed duplicate column classes from News page
djanelle-mit Sep 4, 2025
6ca8ae1
Adding back in font reference to third party lightbox library
djanelle-mit Sep 4, 2025
0eaf922
Removed a stray bracket and added missing semicolon to hours-mobile.css
djanelle-mit Sep 5, 2025
5a95199
Fixed bug on Samsung Galaxy S5 where page title had no left padding
djanelle-mit Sep 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions web/app/themes/mitlib-child/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function child_scripts_styles() {
wp_register_style( 'interviews', get_stylesheet_directory_uri() . '/css/build/interviews.css', array(), $theme_version );
wp_register_style( 'interviewees', get_stylesheet_directory_uri() . '/css/build/interviewees.css', array(), $theme_version );
wp_register_style( 'child-style', get_stylesheet_uri(), array( 'parent-global', 'dashicons' ), $theme_version );
wp_register_style( 'child-about', get_template_directory_uri() . '/css/build/about.css', $theme_version );

// Then we register javascript libraries.
wp_deregister_script( 'jquery' );
Expand All @@ -57,6 +58,13 @@ function child_scripts_styles() {
if ( is_post_type_archive( 'interviewee' ) ) {
wp_enqueue_style( 'interviewees' );
}

// Check to see which blog we're on
$blog_id_to_check = get_current_blog_id();
// Load the about page styles only on the about page (33) in the about child site (19)
if ( is_page( '33' ) && $blog_id_to_check == 19 ) {
wp_enqueue_style( 'child-about' );
}
}
add_action( 'wp_enqueue_scripts', 'Mitlib\Child\child_scripts_styles' );

Expand Down
9 changes: 1 addition & 8 deletions web/app/themes/mitlib-child/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Theme Name: MITlib Child
Author: MIT Libraries
Version: 1.3
Version: 1.4
Description: A child theme of the MIT Libraries' parent, focused on sites built primarily with static pages.
Template: mitlib-parent

Expand All @@ -19,13 +19,6 @@ Template: mitlib-parent
background: #333;
color: #fff;
}*/
body {
font-family:'Open Sans',Helvetica,sans-serif;
}

h1,h2,h3,h4,h5,h6 {
font-family:'Open Sans',Helvetica,sans-serif;
}

b, strong {
font-weight: bold;
Expand Down
60 changes: 32 additions & 28 deletions web/app/themes/mitlib-news/css/newsmobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ button#dropdownMenu1 {
padding: 9px 0px;
}
.newsNav ul li.current-menu-item a {
color: rgb(88,137,193);
color: #666;
}
.page h2 {
}
Expand All @@ -48,7 +48,7 @@ ul#menu-mainnav {
box-shadow: 0px 0 !important;
}
.newsNav ul li.current-menu-item a {
color: rgb(88,137,193);
color: #666;
}
li#menu-item-17755, li#menu-item-17832 {
display: none
Expand All @@ -67,8 +67,8 @@ li#menu-item-17755, li#menu-item-17832 {
padding-left: 0px;
}
.newsNav ul li.current-menu-item {
background-color: rgb(88,137,193);
display: inline;
background-color: #e7e7e7;
color: #555;
}
hr.news {
background-color: rgb(230, 230, 230);
Expand All @@ -80,21 +80,21 @@ hr.news {
margin-right: 0px;
}
.newsNav ul li {
border-radius: 5px;
border-radius: 0;
background-color: #fff;
display: inline;
border: 1px solid rgb(230,230,230);
margin-right: 5px;
}
.newsNav ul li.current-menu-item a {
color: #fff;
color: #555;
}
.newsNav ul li a {
color: rgb(88,137,193);
font-size: 12px;
color: #666;
font-size: 16px;
}
body.tax-bibliotech_issues .newsNav ul li a {
color: rgb(88,137,193);
color: #666;
}
.newsNav ul li a:hover {
text-decoration: none;
Expand All @@ -104,7 +104,7 @@ body.tax-bibliotech_issues .newsNav ul li a {
padding-left: 0px;
}
.newsNav ul li.current-menu-item a:hover {
color: rgb(88,137,193);
color: #666;
}
body.tax-bibliotech_issues .newsNav ul li#menu-item-17024, body.page-bibliotech-about .newsNav ul li#menu-item-17024, body.single-bibliotech .newsNav ul li#menu-item-17024 {
border-radius: 5px;
Expand Down Expand Up @@ -147,7 +147,8 @@ li#menu-item-17755, li#menu-item-17832 {
padding-left: 0px;
}
.newsNav ul li.current-menu-item {
background-color: rgb(88,137,193);
background-color: #e7e7e7;
color: #555;
display: inline;
}
hr.news {
Expand All @@ -160,21 +161,21 @@ hr.news {
margin-right: 0px;
}
.newsNav ul li {
border-radius: 5px;
border-radius: 0;
background-color: #fff;
display: inline;
border: 1px solid rgb(230,230,230);
margin-right: 5px;
}
.newsNav ul li.current-menu-item a {
color: #fff;
color: #555;
}
.newsNav ul li a {
color: rgb(88,137,193);
color: #666;
font-size: 12pt;
}
body.tax-bibliotech_issues .newsNav ul li a {
color: rgb(88,137,193);
color: #666;
}
.newsNav ul li a:hover {
text-decoration: none;
Expand All @@ -184,7 +185,7 @@ body.tax-bibliotech_issues .newsNav ul li a {
padding-left: 0px;
}
.newsNav ul li.current-menu-item a:hover {
color: rgb(88,137,193);
color: #666;
}
body.tax-bibliotech_issues .newsNav ul li#menu-item-17024, body.page-bibliotech-about .newsNav ul li#menu-item-17024, body.single-bibliotech .newsNav ul li#menu-item-17024 {
border-radius: 5px;
Expand Down Expand Up @@ -228,8 +229,8 @@ li#menu-item-17755, li#menu-item-17832 {
padding-left: 0px;
}
.newsNav ul li.current-menu-item {
border-radius: 5px;
background-color: rgb(88,137,193);
border-radius: 0;
background-color: #e7e7e7;
display: inline;
}
hr.news {
Expand All @@ -243,40 +244,43 @@ hr.news {
width: 99%;
}
.newsNav ul li {
border-radius: 5px;
border-radius: 0;
background-color: #fff;
display: inline;
border: 1px solid rgb(230,230,230);
margin-right: 5px;
}
.newsNav ul li.current-menu-item a {
color: #fff;
color: #555;
}
.newsNav ul li a {
color: rgb(88,137,193);
color: #666;
font-size: 12pt;
}
body.tax-bibliotech_issues .newsNav ul li a {
color: rgb(88,137,193);
color: #666;
}
.newsNav ul li a:hover {
text-decoration: none;
color: #0000ff;
background-color: #fff;
text-decoration: underline;
}
.newsNav {
margin-bottom: 13px;
padding-left: 0px;
}
.newsNav ul li.current-menu-item a:hover {
color: rgb(88,137,193);
background-color: #e7e7e7;
color: #0000ff;
}
body.tax-bibliotech_issues .newsNav ul li#menu-item-17024, body.page-bibliotech-about .newsNav ul li#menu-item-17024, body.single-bibliotech .newsNav ul li#menu-item-17024 {
border-radius: 5px;
background-color: rgb(88,137,193);
border-radius: 0;
background-color: #e7e7e7;
display: inline;
color: white;
color: #555;
}
body.tax-bibliotech_issues .newsNav ul li#menu-item-17024 a, body.page-bibliotech-about .newsNav ul li#menu-item-17024 a, body.single-bibliotech .newsNav ul li#menu-item-17024 a {
color: #fff;
color: #555;
}
/*NAV*/

Expand Down
4 changes: 2 additions & 2 deletions web/app/themes/mitlib-news/inc/sub-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<hr class="hidden-xs news">
<div class="subNavH">
<div class="row">
<div class="no-padding-left col-xs-6 col-sm-6 col-sm-6 col-md-6 col-lg-6 newsNav dropdown">
<div class="no-padding-left col-xs-6 col-sm-8 col-md-6 col-lg-6 newsNav dropdown">
<?php
// Main navigation.
$defaults = array(
Expand Down Expand Up @@ -77,7 +77,7 @@



<div class="hidden-xs col-sm-6 col-sm-6 col-md-6 col-lg-6 catNav">
<div class="hidden-xs col-sm-4 col-md-6 col-lg-6 catNav">

<ul>

Expand Down
Loading