Adding styles for links in header

This commit is contained in:
Fabian 2020-03-01 13:32:02 +01:00
parent 020855bbb5
commit 5ff7d42355
3 changed files with 26 additions and 1 deletions

View File

@ -222,6 +222,15 @@
</div> </div>
</div> </div>
<div class="margin prev">
<div class="header">
<span>Header with links</span>
<a href="#">Page 1</a>
<a href="#">Page 2</a>
<a href="#">Page 3</a>
</div>
</div>
<div class="margin prev"> <div class="margin prev">
<table class="table"> <table class="table">
<tr> <tr>

View File

@ -1,6 +1,6 @@
{ {
"name": "@hibas123/theme", "name": "@hibas123/theme",
"version": "1.2.14", "version": "1.2.15",
"description": "", "description": "",
"main": " ", "main": " ",
"files": [ "files": [

View File

@ -33,4 +33,20 @@
height: 2rem; height: 2rem;
width: auto; width: auto;
} }
>a {
font-size: 1rem;
text-overflow: ellipsis;
white-space: nowrap;
padding: .5rem;
text-decoration: none;
&:hover {
filter: brightness(.95);
}
&:active {
filter: brightness(1.05);
}
}
} }