8000 462: Add herodevs support. · jquery/jquery-wp-content@4d153eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d153eb

Browse files
committed
462: Add herodevs support.
1 parent fe80572 commit 4d153eb

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

themes/jquery.com/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ a,
9494
margin-right: 0.5em;
9595
}
9696
#content #banner-secondary .download-main .support-notice {
97+
padding-top: 8px;
9798
font-size: 12px;
99+
line-height: 1.4em;
98100
}
99101

100102
.resources {

themes/jquery/css/base.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,24 @@ iframe {
881881
margin: 0;
882882
}
883883

884+
/* Support message
885+
========================================================================== */
886+
887+
#support-message {
888+
display: flex;
889+
justify-content: center;
890+
background-color: #dddddd;
891+
padding: 4px 4px;
892+
font-size: 15px;
893+
}
894+
#support-message span {
895+
text-align: center;
896+
padding-left: 20px;
897+
padding-right: 20px;
898+
}
899+
#support-message span a {
900+
color: #222;
901+
}
884902

885903
/* Global Nav
886904
========================================================================== */

themes/jquery/header.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
</head>
3535
<body <?php body_class(); ?>>
3636

37+
<div id="support-message" class="support-message">
38+
<span style="">jQuery 4 is currently in beta. Soon jQuery 3 will reach EOL along with versions 1 and 2. Learn more about our&nbsp;<a href="https://jquery.com/support/">Version&nbsp;Support</a>.</span>
39+
</div>
40+
3741
<header>
3842
<section id="global-nav">
3943
<nav>

themes/jquery/menu-header.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function menu_header_jquery_com() {
1313
'https://blog.jquery.com/' => 'Blog',
1414
'https://plugins.jquery.com/' => 'Plugins',
1515
'https://jquery.com/browser-support/' => 'Browser Support',
16+
'https://jquery.com/support/' => 'Version Support',
1617
);
1718
}
1819

0 commit comments

Comments
 (0)
0