File tree 5 files changed +81
-8
lines changed
5 files changed +81
-8
lines changed Original file line number Diff line number Diff line change 34
34
margin-top : 0 ;
35
35
padding-left : 1em ;
36
36
}
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 54
54
transform : rotate (6.28rad );
55
55
}
56
56
57
- .download-options ,
58
- .download-help {
57
+ # banner-secondary .download-main .download-options {
59
58
margin-top : 1em ;
60
59
}
61
60
# banner-secondary .download-options a {
97
96
font-size : 12px ;
98
97
}
99
98
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
+
100
140
.resources {
101
141
padding-left : 60px ;
102
142
}
Original file line number Diff line number Diff line change @@ -103,6 +103,14 @@ body {
103
103
font-weight : normal;
104
104
font-style : normal;
105
105
}
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" ; }
106
114
107
115
/* ==========================================================================
108
116
Links
@@ -881,6 +889,19 @@ iframe {
881
889
margin : 0 ;
882
890
}
883
891
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
+ }
884
905
885
906
/* Global Nav
886
907
========================================================================== */
@@ -1396,8 +1417,7 @@ pre b {
1396
1417
1397
1418
# content img .full ,
1398
1419
# content img .left ,
1399
- # content img .right ,
1400
- # banner img .full {
1420
+ # content img .right {
1401
1421
box-shadow : 0 0 5px 1px rgba (0 , 0 , 0 , 0.20 );
1402
1422
}
1403
1423
@@ -1460,10 +1480,6 @@ pre b {
1460
1480
margin-bottom : 20px ;
1461
1481
}
1462
1482
1463
- # portfolio .media # banner .embed {
1464
- margin-bottom : 40px ;
1465
- }
1466
-
1467
1483
.embed iframe ,
1468
1484
.embed_media iframe ,
1469
1485
.embed object ,
Original file line number Diff line number Diff line change 39
39
</head>
40
40
<body <?php body_class (); ?> >
41
41
42
+ <?php if ( is_front_page () && defined ( "JQUERY_BANNER " ) ) : ?>
43
+ <div id="banner">
44
+ <?php echo JQUERY_BANNER ?>
45
+ </div>
46
+ <?php endif ; ?>
47
+
42
48
<header>
43
49
<section id="global-nav">
44
50
<nav>
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ function menu_header_jquery_com() {
13
13
'https://blog.jquery.com/ ' => 'Blog ' ,
14
14
'https://plugins.jquery.com/ ' => 'Plugins ' ,
15
15
'https://jquery.com/browser-support/ ' => 'Browser Support ' ,
16
+ 'https://jquery.com/support/ ' => 'Version Support ' ,
16
17
);
17
18
}
18
19
You can’t perform that action at this time.
0 commit comments