File tree Expand file tree Collapse file tree 5 files changed +81
-8
lines changed
Expand file tree Collapse file tree 5 files changed +81
-8
lines changed Original file line number Diff line number Diff line change 3434 margin-top : 0 ;
3535 padding-left : 1em ;
3636}
37+
38+ /* Version support warning at top of API pages */
39+
40+ # version-support-warning {
41+ display : flex;
42+ align-items : center;
43+ gap : 0.5em ;
44+ padding : 0.5em 0 0.5em 0.5em ;
45+ line-height : 1.2 ;
46+ }
Original file line number Diff line number Diff line change 5454 transform : rotate (6.28rad );
5555}
5656
57- .download-options ,
58- .download-help {
57+ # banner-secondary .download-main .download-options {
5958 margin-top : 1em ;
6059}
6160# banner-secondary .download-options a {
9796 font-size : 12px ;
9897}
9998
99+ /* New download button */
100+ # banner-secondary > .download {
101+ display : flex;
102+ flex-direction : column;
103+ align-items : flex-start;
104+ margin-bottom : 1em ;
105+ }
106+ .download-button-content {
107+ display : flex;
108+ flex-direction : row;
109+ align-items : center;
110+ gap : 0.5em ;
111+ }
112+ .download-button-content .download-icon {
113+ background : url ('i/download.png' ) no-repeat 0 5px / 100% 100% ;
114+ width : 35px ;
115+ height : 35px ;
116+ display : inline-block;
117+ flex-shrink : 0 ;
118+ }
119+ .download-button-content .download-message {
120+ flex-grow : 1 ;
121+ display : flex;
122+ flex-direction : column;
123+ align-items : center;
124+ text-align : center;
125+ gap : 0.25em ;
126+ }
127+ .download-button-content .download-message .download-version {
128+ font-size : 0.7em ;
129+ }
130+ .download-options .support-notice {
131+ margin : 0.5em 0 ;
132+ color : # ccc ;
133+ }
134+ @media only screen and (max-width : 767px ) {
135+ # banner-secondary .download {
136+ align-items : center;
137+ }
138+ }
139+
100140.resources {
101141 padding-left : 60px ;
102142}
Original file line number Diff line number Diff line change @@ -103,6 +103,14 @@ body {
103103 font-weight : normal;
104104 font-style : normal;
105105}
106+ [class ^= "icon-" ]: before ,
107+ [class *= " icon-" ]: before {
108+ font-size : 1.2em ;
109+ text-decoration : inherit;
110+ display : inline-block;
111+ speak : none;
112+ }
113+ .icon-info-sign : before { content : "\f05a" ; }
106114
107115/* ==========================================================================
108116 Links
@@ -881,6 +889,19 @@ iframe {
881889 margin : 0 ;
882890}
883891
892+ /* Support message at top of page.
893+ ========================================================================== */
894+
895+ # banner {
896+ text-align : center;
897+ background-color : # dddddd ;
898+ padding : 0.25em 1.25em ;
899+ color : # 333 ; /* jQuery Black */
900+ }
901+
902+ # banner a : hover {
903+ text-decoration : none;
904+ }
884905
885906/* Global Nav
886907 ========================================================================== */
@@ -1396,8 +1417,7 @@ pre b {
13961417
13971418# content img .full ,
13981419# content img .left ,
1399- # content img .right ,
1400- # banner img .full {
1420+ # content img .right {
14011421 box-shadow : 0 0 5px 1px rgba (0 , 0 , 0 , 0.20 );
14021422}
14031423
@@ -1460,10 +1480,6 @@ pre b {
14601480 margin-bottom : 20px ;
14611481}
14621482
1463- # portfolio .media # banner .embed {
1464- margin-bottom : 40px ;
1465- }
1466-
14671483.embed iframe ,
14681484.embed_media iframe ,
14691485.embed object ,
Original file line number Diff line number Diff line change 3939</head>
4040<body <?php body_class (); ?> >
4141
42+ <?php if ( is_front_page () && defined ( "JQUERY_BANNER " ) ) : ?>
43+ <div id="banner">
44+ <?php echo JQUERY_BANNER ?>
45+ </div>
46+ <?php endif ; ?>
47+
4248<header>
4349 <section id="global-nav">
4450 <nav>
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments