UNPKG

linkfree-themes

Version:

CSS themes for a free and open source alternative to LinkTree

87 lines (76 loc) 1.39 kB
:root { --primary: rgb(186, 102, 0); --secondary: rgb(255, 235, 211); --background: rgb(255, 251, 241); --font: "Poppins"; font-family: var(--font); font-size: 62.5%; color: var(--primary); } body { background-color: var(--background); font-size: 2rem; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px 20px; } a { text-decoration: none; } p { display: inline-block; text-align: center; } img { width: 200px; height: 200px; border-radius: 50%; } svg { position: absolute; top: 18px; right: 24px; width: 20px; height: 20px; border-radius: 0; z-index: 3; } #userName { display: block; align-items: center; margin: 30px 0; color: var(--primary); font-size: 4rem; } #links { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 20px 0; } .link { background-color: var(--background); color: var(--primary); display: block; position: relative; width: 100%; max-width: 303px; padding: 13px 20px 13px 58px; margin-bottom: 20px; border: 2px solid var(--primary); z-index: 2; transition: transform 200ms ease-in-out; } .link:hover { background-color: var(--primary); color: var(--background); transform: translate(9px, -9px); } ion-icon { vertical-align: text-bottom; width: 1.1875em; height: 1.1875em; }