UNPKG

linkfree-themes

Version:

CSS themes for a free and open source alternative to LinkTree

89 lines (79 loc) 1.75 kB
/* Style Settings */ @import url("//fonts.googleapis.com/css?family=Teko&display=swap"); :root { --bgColor: rgb(38, 35, 53); --accentColor: rgb(249, 42, 173); --font: "Teko", sans-serif; } body { background-color: var(--bgColor); text-align: center; } #userPhoto { width: 96px; height: 96px; display: block; margin: 35px auto 20px; border-radius: 50%; border: 2px solid var(--accentColor); } p { display: inline-block; background: linear-gradient(to bottom, #fff951 25%, #fc28a8); color: var(--bgColor); font-family: var(--font); text-align: center; margin: 10px 0; padding: 10px; text-decoration: none; font-size: 1.5rem; transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99); border: 1px solid var(--accentColor); border-radius: 30px; } a { text-decoration: none; } #userName { font-size: 1.5rem; font-weight: 600; line-height: 1.25; display: block; font-family: var(--font); width: 100%; text-align: center; color: #fff5f6; text-shadow: 0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75; } #links { max-width: 675px; width: auto; display: block; margin: 27px auto; } .link { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 0.4rem; background: linear-gradient(to bottom, #fff951 25%, #fc28a8); color: var(--bgColor); font-family: var(--font); margin-bottom: 20px; padding: 17px; text-decoration: none; font-size: 1.5rem; transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99); border: 2px solid var(--accentColor); border-radius: 50px; } .link:hover { background: var(--bgColor); color: var(--accentColor); } ion-icon { width: 1.1875em; height: 1.1875em; }