Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
31 changes: 0 additions & 31 deletions web/app/themes/mitlib-parent/css/scss/partials/_alerts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -206,35 +206,4 @@
p {
padding-bottom: 4px;
}
}

// Full page banner styles
div.mitlib-banner {
background-color: #007899;
padding: 20px 32px;
display: flex;
justify-content: center;

div.wrap-notice {
max-width: 1024px;
width: 100%;
}

h1 {
font-size: 1.2rem;
color: #e5f9ff;
padding: 0;
margin-bottom: 0;
}

a {
text-decoration: underline;
text-underline-offset: 0.3rem;
text-decoration-color: #00c8ff;
color: #fff;
}

a:hover {
text-decoration-color: #99E9FF;
}
}
9 changes: 0 additions & 9 deletions web/app/themes/mitlib-parent/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,6 @@
<body <?php body_class(); ?>>
<div id="skip"><a href="#content">Skip to Main Content</a></div>

<?php
// Get page ID
$page_id = get_queried_object_id();

// If this is the homepage, show the temporary USE banner
if ($page_id == 122) {
get_template_part( 'inc/banner' );
} ?>

<div class="wrap-page">
<header class="header-main flex-container flex-end">
<?php if ( 'full' === $menu ) { ?>
Expand Down
16 changes: 0 additions & 16 deletions web/app/themes/mitlib-parent/inc/banner.php

This file was deleted.

2 changes: 1 addition & 1 deletion web/app/themes/mitlib-parent/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Theme Name: MITlib Parent
Author: MIT Libraries
Version: 0.10
Version: 0.11
Description: The parent theme for the MIT Libraries' Pentagram-designed identity.

*/
Expand Down