UNPKG

linkfree-themes

Version:

CSS themes for a free and open source alternative to LinkTree

112 lines (98 loc) 2 kB
/* Style Settings */ @import url("//fonts.googleapis.com/css?family=Karla:400,700&display=swap"); :root { --font: "Karla", "Karla", sans-serif; } body { background-color: #0a072e; text-align: center; } a { text-decoration: none; } #userPhoto { width: 96px; height: 96px; display: block; margin: 35px auto 20px; -webkit-box-shadow: 0px 6px 0px 0px rgba(222, 218, 162, 1); -moz-box-shadow: 0px 6px 0px 0px rgba(222, 218, 162, 1); box-shadow: 0px 6px 0px 0px rgba(222, 218, 162, 1); transition: all 0.15s; } #userPhoto:hover { box-shadow: 0px 8px rgba(222, 218, 162, 1); transform: translateY(-2px); } #userPhoto:active { box-shadow: 0px 0px black; transform: translateY(6px); } #userName { color: white; font-size: 1.5rem; font-weight: 600; line-height: 1.25; display: block; font-family: var(--font); width: 100%; text-align: center; } #links { max-width: 675px; width: auto; display: block; margin: 27px auto; } @media only screen and (max-width: 700px) { #links { margin-left: 3%; margin-right: 3%; } .night_mode { margin-right: 40%; } } .link { display: block; background-color: #01a79b; color: #fff; font-family: var(--font); text-align: center; margin-bottom: 20px; padding: 17px; text-decoration: none; font-size: 1rem; font-weight: bold; transition: all 0.15s; box-shadow: 0px 6px #007569; } p { display: inline-block; background-color: #01a79b; color: #fff; font-family: var(--font); margin-bottom: 5px; padding: 7px; text-decoration: underline dotted; font-size: 1.1rem; font-weight: 300; transition: all 0.15s; box-shadow: 3px 1px #007569; font-size: 1.25rem; text-align: center; } .link:hover { /* background: #019489; */ box-shadow: 0px 8px #007569; transform: translateY(-2px); } .link:active { transform: translateY(6px); box-shadow: 0px 0px #007569; } ion-icon { vertical-align: text-bottom; width: 1.1875em; height: 1.1875em; }