UNPKG

linkfree-themes

Version:

CSS themes for a free and open source alternative to LinkTree

98 lines (84 loc) 1.61 kB
@import url("//fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"); * { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #fe59d7; background: linear-gradient(rgba(29, 38, 113, 0.8), rgba(195, 55, 100, 0.8)), url("images/background.jpg"); background-repeat: no-repeat; background-size: cover; font-family: "Poppins", sans-serif; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; margin: 30px 50px 20px 50px; color: #12cad6; font-size: 1.2rem; font-style: normal; text-shadow: 2px 2px 5px #22e4f0; margin: 0.5em 0 1.5em 0; } #userPhoto { border-radius: 50px; max-width: 100px; box-shadow: 0 0 10px 3px #22e4f0; } a { text-decoration: none; } #userName { margin: 0.5rem 0; font-size: 1.8rem; color: #12cad6; text-shadow: 2px 2px 5px #22e4f0; } .link, .link:before { height: 50px; width: 80vw; } .link { margin-top: 1.3rem; display: flex; justify-content: center; align-items: center; font-style: normal; cursor: pointer; color: white; gap: 0.3em; text-decoration: none; } .link:before { z-index: -1; position: absolute; background-color: #12cad6; box-shadow: 0 0 10px 3px #fe59d7; transform: skewX(-45deg); content: ""; } @media screen and (min-width: 500px) { body { padding: 20px 50px; } } @media screen and (min-width: 800px) { body { padding: 0; } p { margin-bottom: 10px; } #links { padding: 0 50px; } .link, .link:before { max-width: 640px; } }