Skip to content

Commit 9605217

Browse files
committed
Use Microsoft logo in page header
1 parent c42d541 commit 9605217

2 files changed

Lines changed: 26 additions & 16 deletions

File tree

index.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,10 @@
8989
white-space: nowrap;
9090
}
9191

92-
.brandmark::before {
93-
content: "";
94-
width: 13px;
95-
height: 13px;
96-
background: linear-gradient(135deg, var(--red) 0 48%, var(--gold) 48% 66%, var(--teal) 66%);
97-
border: 1px solid rgba(255, 255, 255, 0.8);
98-
transform: rotate(45deg);
92+
.microsoft-mark {
93+
width: 16px;
94+
height: 16px;
95+
flex: 0 0 auto;
9996
}
10097

10198
.nav {
@@ -1396,7 +1393,15 @@
13961393
</head>
13971394
<body>
13981395
<header class="topbar" aria-label="Page navigation">
1399-
<a class="brandmark" href="#top">SkillOpt</a>
1396+
<a class="brandmark" href="#top" aria-label="SkillOpt home">
1397+
<svg class="microsoft-mark" viewBox="0 0 23 23" aria-hidden="true">
1398+
<rect width="10" height="10" fill="#F25022"></rect>
1399+
<rect x="13" width="10" height="10" fill="#7FBA00"></rect>
1400+
<rect y="13" width="10" height="10" fill="#00A4EF"></rect>
1401+
<rect x="13" y="13" width="10" height="10" fill="#FFB900"></rect>
1402+
</svg>
1403+
<span>SkillOpt</span>
1404+
</a>
14001405
<nav class="nav" aria-label="Sections">
14011406
<a href="#idea">Idea</a>
14021407
<a href="#method">Method</a>

skillopt.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,10 @@
8989
white-space: nowrap;
9090
}
9191

92-
.brandmark::before {
93-
content: "";
94-
width: 13px;
95-
height: 13px;
96-
background: linear-gradient(135deg, var(--red) 0 48%, var(--gold) 48% 66%, var(--teal) 66%);
97-
border: 1px solid rgba(255, 255, 255, 0.8);
98-
transform: rotate(45deg);
92+
.microsoft-mark {
93+
width: 16px;
94+
height: 16px;
95+
flex: 0 0 auto;
9996
}
10097

10198
.nav {
@@ -1396,7 +1393,15 @@
13961393
</head>
13971394
<body>
13981395
<header class="topbar" aria-label="Page navigation">
1399-
<a class="brandmark" href="#top">SkillOpt</a>
1396+
<a class="brandmark" href="#top" aria-label="SkillOpt home">
1397+
<svg class="microsoft-mark" viewBox="0 0 23 23" aria-hidden="true">
1398+
<rect width="10" height="10" fill="#F25022"></rect>
1399+
<rect x="13" width="10" height="10" fill="#7FBA00"></rect>
1400+
<rect y="13" width="10" height="10" fill="#00A4EF"></rect>
1401+
<rect x="13" y="13" width="10" height="10" fill="#FFB900"></rect>
1402+
</svg>
1403+
<span>SkillOpt</span>
1404+
</a>
14001405
<nav class="nav" aria-label="Sections">
14011406
<a href="#idea">Idea</a>
14021407
<a href="#method">Method</a>

0 commit comments

Comments
 (0)