mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-20 15:10:25 +00:00
feat: spice up links
This commit is contained in:
@@ -200,3 +200,27 @@
|
||||
border: 1px solid rgba(229, 231, 235, 1);
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
|
||||
.notion-link {
|
||||
position: relative;
|
||||
border: 0 none;
|
||||
transition: unset;
|
||||
}
|
||||
|
||||
.notion-link::after {
|
||||
position: absolute;
|
||||
bottom: -2px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
content: '';
|
||||
display: block;
|
||||
border-radius: 4px;
|
||||
background: var(--fg-color-2);
|
||||
}
|
||||
|
||||
.notion-link:hover::after {
|
||||
bottom: -4px;
|
||||
height: 4px;
|
||||
background: linear-gradient(90.68deg, #b439df 0.26%, #e5337e 102.37%);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user