Skip to content

Commit

Permalink
fix: add a mark for site title
Browse files Browse the repository at this point in the history
  • Loading branch information
ws-cd committed Feb 28, 2024
1 parent dcaac04 commit 465107a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/en.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<div class="side-bar">
<div class="site-header">
<a href="{{ '/' | absolute_url }}" class="site-title lh-tight">Documents</a>
<a href="{{ '/' | absolute_url }}" class="site-title lh-tight">Documents<span class="custom-title-mark">Rasa</span></a>
<a href="#" id="menu-button" class="site-button">
<svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-menu"></use></svg>
</a>
Expand Down
20 changes: 20 additions & 0 deletions _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,24 @@
}
.nav-list-spilter {
margin-bottom: $sp-4 !important;
}

.nav-hr {
margin: 1rem;
}
.nav-other {
margin: 0;
padding: 0 2rem;
&:hover {
text-decoration: underline;
}
}

.custom-title-mark {
font-size: 14px;
margin-top: 4px;
margin-left: 8px;
border: 1px solid #7253ed;
border-radius: 4px;
padding: 2px;
}

0 comments on commit 465107a

Please sign in to comment.