Skip to content

Commit 438a40b

Browse files
committed
website: updates
1 parent 6af6084 commit 438a40b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

website/docusaurus.config.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ console.log('customFields: ' + util.inspect(customFields));
8989
// ----------------------------------------------------------------------------
9090

9191
const config: Config = {
92-
title: 'xPack GNU Arm Embedded GCC',
92+
title: 'xPack GNU Arm Embedded GCC' +
93+
((process.env.DOCUSAURUS_IS_PREVIEW === 'true') ? ' (preview)' : ''),
9394
tagline: 'A binary distribution of GNU Arm Embedded GCC',
9495
// Explicitly set in headTags.
9596
// favicon: '/img/favicon.ico',
@@ -260,7 +261,7 @@ const config: Config = {
260261
items: [
261262
{
262263
to: '/',
263-
// label: 'Home',
264+
label: 'arm-none-eabi-gcc',
264265
className: 'header-home-link',
265266
position: 'left'
266267
},

website/src/css/custom.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ h2[class*="title"]
7676
width: 24px;
7777
height: 24px;
7878
display: inline-flex;
79-
vertical-align: baseline;
80-
/* padding-right: 0.5em; */
79+
vertical-align: top;
80+
padding-right: 0.5em;
8181
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z' fill='current-color'/%3E%3C/svg%3E")
8282
no-repeat;
8383
}
@@ -87,8 +87,8 @@ h2[class*="title"]
8787
width: 24px;
8888
height: 24px;
8989
display: inline-flex;
90-
vertical-align: baseline;
91-
/* padding-right: 0.5em; */
90+
vertical-align: top;
91+
padding-right: 0.5em;
9292
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z' fill='white'/%3E%3C/svg%3E")
9393
no-repeat;
9494
}

0 commit comments

Comments
 (0)