Skip to content

Commit

Permalink
added abbrevation
Browse files Browse the repository at this point in the history
  • Loading branch information
Gururajj77 committed Jan 14, 2024
1 parent 139080f commit 99f1920
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/shared/components/header/header.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<nav class="header">
<div (click)="toHome()" class="logo">BREVIPOST</div>
<div class="logo-small">BP...</div>
<ul class="header-nav">
<li
routerLink="/app/feed"
Expand Down
24 changes: 24 additions & 0 deletions src/app/shared/components/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@
}
}

.logo-small {
display: none;
font-size: 24px;
font-weight: bold;
color: transparent;
-webkit-text-stroke: 1px $accent-color;
background-image: repeating-linear-gradient(
45deg,
$accent-color,
$accent-color 2px,
transparent 2px,
transparent 10px
);
-webkit-background-clip: text;
background-clip: text;
&:hover {
cursor: pointer;
}
}

.logout {
width: 20px;
height: 20px;
Expand Down Expand Up @@ -76,4 +96,8 @@
.logo {
display: none;
}

.logo-small {
display: block;
}
}

0 comments on commit 99f1920

Please sign in to comment.