Skip to content

Commit 7a1515a

Browse files
committed
adjustments to alert and card title size
1 parent 1487df1 commit 7a1515a

3 files changed

Lines changed: 23 additions & 11 deletions

File tree

assets/css/cross-page.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ ads-masthead {
227227
--ads-masthead-border-bottom-color: transparent;
228228
}
229229

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;
234+
}
235+
230236
/* Bypass ADS's fixed 70% heading wrapper while retaining its typography. */
231237
ads-masthead #ads-masthead-title {
232238
box-sizing: border-box;

assets/css/list-pages.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,15 +329,18 @@ html[theme="light"] .learning-path-title, html[theme="light"] .basics-title {
329329
}
330330
.learning-path-title, .basics-title {
331331
color: var(--arm-light-blue);
332-
/*font-weight: bold;
333-
font-size:1.25rem;
334-
*/
335332
font-weight: 400;
336333

337334
margin-top: 0px;
338335
margin-bottom: 4px;
339336
}
340337

338+
.learning-path-title,
339+
.module-card-title {
340+
font-size: 1.25rem!important;
341+
line-height: 1.3;
342+
}
343+
341344
html[theme="dark"] .learning-path-title {
342345
color: #E6E6E9;
343346
}
@@ -360,7 +363,8 @@ html[theme="dark"] .learning-path-title {
360363
.install-guide-title {
361364
margin-top: 0px;
362365
margin-bottom: 0px;
363-
font-size: 1rem!important;
366+
font-size: 1.25rem!important;
367+
line-height: 1.3;
364368
}
365369

366370

themes/arm-design-system-hugo-theme/layouts/partials/header/color-refresh-alert.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{{/* Site-wide launch notice. The homepage is excluded by baseof.html. */}}
22
<div id="color-refresh-alert-container" hidden>
3-
<ads-alert
4-
id="color-refresh-alert"
5-
theme="dark"
6-
level="default"
7-
has-close-button="true"
8-
text="We’ve refreshed our colors. The site’s content and functionality remain the same."
9-
></ads-alert>
3+
<div class="color-refresh-alert-inner is-responsive-width">
4+
<ads-alert
5+
id="color-refresh-alert"
6+
theme="dark"
7+
level="default"
8+
has-close-button="true"
9+
text="We’ve refreshed our colors. The site’s content and functionality remain the same."
10+
></ads-alert>
11+
</div>
1012
</div>
1113

1214
<script>

0 commit comments

Comments
 (0)