@@ -92,7 +92,7 @@ ads-search#search-box.install-guide{
9292 padding-right : 14px ;
9393}
9494ads-search {
95- --ads-search-button-background-color : var ( --arm-color-base ) ;
95+ --ads-search-button-background-color : # 7233F7 ;
9696}
9797
9898/* Colors of buttons & links to match DevHub styling */
@@ -166,9 +166,7 @@ table tbody td {
166166/* Fix Nav Masthead Breadcrumb container */
167167/*************************************/
168168# nav-masthead-breadcrumbs {
169- background-image : url ("/img/masthead-background.webp" ); /* The image used */
170- background-color : var (--arm-color-footing ); /* Used if the image is unavailable */
171- background-size : cover;
169+ background-color : var (--ads-ui-ink-100 );
172170}
173171
174172
@@ -212,7 +210,6 @@ arm-top-navigation:not(:defined) {
212210
213211/* Fix Masthead Height */
214212# expanded-masthead {
215- background-color : transparent;
216213 min-height : 100px ; /* Keep baseline height for short titles */
217214 height : auto; /* Allow 2-line titles to expand */
218215 background-position : center;
@@ -229,31 +226,33 @@ arm-top-navigation:not(:defined) {
229226ads-masthead {
230227 --ads-masthead-border-bottom-color : transparent;
231228}
232-
233-
234229
235- ads-breadcrumbs {
236- --ads-breadcrumb-color : var (--lp-accent-secondary );
237- --ads-breadcrumb-current-color : white;
238- --ads-breadcrumb-hover-color : var (--lp-hover-text );
239- --ads-breadcrumbs-link-color : var (--lp-accent-secondary );
240- --ads-breadcrumbs-link-color-hover : var (--lp-hover-text );
241- --ads-breadcrumbs-link-color-visited : var (--lp-accent-secondary );
242- --ads-breadcrumbs-current-color : white;
230+ /* Align the alert icon with the masthead title while its surface spans the page. */
231+ # color-refresh-alert-container {
232+ background-color : # F0F0F0 ;
233+ overflow : hidden;
243234}
244235
245- # breadcrumb-element ads-breadcrumb [current ] {
246- --ads-breadcrumb-color : white;
247- --ads-breadcrumb-current-color : white;
248- --ads-breadcrumbs-current-color : white;
249- color : white;
236+ /* Bypass ADS's fixed 70% heading wrapper while retaining its typography. */
237+ ads-masthead # ads-masthead-title {
238+ box-sizing : border-box;
239+ color : var (--ads-masthead-color , # E6E6E9 );
240+ font-size : 32px ;
241+ line-height : 35px ;
242+ max-height : none;
243+ overflow : visible;
244+ overflow-wrap : anywhere;
245+ white-space : normal;
246+ width : calc (100% - 32px );
250247}
251248
252- # breadcrumb-element ads-breadcrumb : not ([current ]): hover {
253- --ads-breadcrumb-color : var (--lp-hover-text );
254- --ads-breadcrumbs-link-color : var (--lp-hover-text );
255- color : var (--lp-hover-text );
249+ @media (min-width : 768px ) {
250+ ads-masthead # ads-masthead-title {
251+ font-size : 48px ;
252+ line-height : 53px ;
253+ }
256254}
255+
257256
258257
259258/* Hide breadcrumb when small screen. */
@@ -267,7 +266,7 @@ ads-breadcrumbs {
267266/* Replicate style of breadcrumb in masthead when alone. */
268267# only-breadcrumb-masthead {
269268 width : 100% ;
270- background-color : var (--arm-color-footing );
269+ background-color : var (--ads-ui-ink-100 );
271270 padding-top : 8px ;
272271 padding-left : 15px ; /* u-padding-left-2-1/2 */
273272 padding-bottom : 8px ;
@@ -292,9 +291,7 @@ ads-breadcrumbs {
292291 width : fit-content;
293292 height : fit-content;
294293
295- background : -webkit-linear-gradient (left, var (--arm-green ), var (--arm-light-blue ));
296- -webkit-background-clip : text;
297- -webkit-text-fill-color : transparent;
294+ color : var (--lp-accent-secondary );
298295}
299296.beta-homepage {
300297 vertical-align : top;
@@ -328,7 +325,7 @@ ads-breadcrumbs {
328325 margin : -1px ;
329326 z-index : -1 ;
330327 border-radius : inherit;
331- background : linear-gradient ( 90 deg , var ( --lp-accent-primary ) , var ( --lp-accent-secondary )) ;
328+ background : # 848192 ;
332329 opacity : 0 ;
333330 transition : opacity 0.3s ease;
334331}
@@ -338,48 +335,12 @@ ads-breadcrumbs {
338335
339336
340337
341- .gradient-box-tool {
342- /*display: inline-block;*/
343- position : relative;
344- border-radius : 0px ;
345- z-index : 1 ;
346- }
347-
348- .gradient-box-tool ::before {
349- content : '' ;
350- position : absolute;
351- top : 0 ;
352- right : 0 ;
353- bottom : 1px ;
354- left : 2px ;
355- margin : -2px ;
356- z-index : -1 ;
357- border-radius : inherit;
358- background : linear-gradient (90deg , var (--lp-accent-primary ), var (--lp-accent-secondary ));
359- opacity : 0 ;
360- transition : opacity 0.3s ease;
361- }
362- .gradient-box-tool : hover ::before {
363- opacity : 1 ;
364- }
365-
366-
367-
368-
369- html [theme = "dark" ] .orchard-breeze-text {
370- background : -webkit-linear-gradient (left, var (--arm-green ), var (--arm-light-blue ));
371- -webkit-background-clip : text;
372- -webkit-text-fill-color : transparent;
373- }
374- html [theme = "dark" ] .fullbourn-sunrise-text {
375- background : -webkit-linear-gradient (left, var (--arm-yellow ), var (--arm-orange ));
376- -webkit-background-clip : text;
377- -webkit-text-fill-color : transparent;
378- }
338+ html [theme = "dark" ] .orchard-breeze-text ,
339+ html [theme = "dark" ] .fullbourn-sunrise-text ,
379340html [theme = "dark" ] .minhang-mist-text {
380- background : -webkit-linear-gradient (left , var ( --arm-light-blue ) , var ( --arm-light-grey )) ;
381- -webkit-background-clip : text ;
382- -webkit-text-fill-color : transparent ;
341+ background : none ;
342+ color : # E6E6E9 ;
343+ -webkit-text-fill-color : currentColor ;
383344}
384345
385346
@@ -410,36 +371,9 @@ html[theme='light'] body {
410371
411372/* Dark Theme */
412373/****************************************************/
413- /* Mobile background */
414- @media (max-width : 768px ) {
415- html [theme = 'dark' ] body {
416- background-image : url ("/img/bg-img-736x800-purple.webp" );
417- background-color : var (--arm-color-footing );
418- background-position : 0% 100% ;
419- background-attachment : fixed;
420- background-size : 100% 100% ; /* Forces smaller width; best solution for mobile sizes */
421- }
422- }
423- /* Laptop background */
424- @media (min-width : 768px ) {
425- html [theme = 'dark' ] body {
426- background-image : url ("/img/bg-img-1920x1600-purple.webp" );
427- background-color : var (--arm-color-footing );
428- background-position : 0% 100% ;
429- background-attachment : fixed;
430- background-size : cover; /* Stretches image to fit; best solution for desktop sizes */
431- }
432- }
433-
434- /* Large Monitor background */
435- @media (min-width : 1400px ) {
436- html [theme = 'dark' ] body {
437- background-image : url ("/img/bg-img-2500x1700-purple.webp" );
438- background-color : var (--arm-color-footing );
439- background-position : 0% 100% ;
440- background-attachment : fixed;
441- background-size : cover; /* Stretches image to fit; best solution for desktop sizes */
442- }
374+ html [theme = 'dark' ] body {
375+ background-color : var (--ads-ui-ink-100 );
376+ background-image : none;
443377}
444378
445379
0 commit comments