#48 Better Link Styling

This commit is contained in:
reverend 2021-07-31 11:44:52 +02:00
parent e906065d47
commit 5c7136bcbf
3 changed files with 10 additions and 12 deletions

View File

@ -1,16 +1,10 @@
.LP-Link { .LP-Link {
color: $-grey; color: $-light-brown;
text-decoration: none; text-decoration: none;
font-family: $-primary-sans-serif-font; font-family: $-primary-serif-font;
&:hover { &:hover {
color: $-light-brown; color: $-grey;
} text-decoration: underline;
.LP-Paragraph{
font-family: $-primary-sans-serif-font;
&:hover{
color: $-light-brown;
}
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"context": { "context": {
"url": "#", "url": "#",
"text": "Click Me" "text": "click me"
} }
} }

View File

@ -1 +1,5 @@
<a href="{{url}}" class="LP-Link"><span class="LP-Link__Text">{{text}}</span></a> <p class="LP-Paragraph">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
<a href="{{url}}" class="LP-Link"><span class="LP-Link__Text">{{text}}</span></a>
sanctus est Lorem ipsum dolor sit amet
</p>