erynwells.me/logo.html

79 lines
1.9 KiB
HTML

<!doctype html>
<html>
<body>
<header>
<h1>Site Logo</h1>
</header>
<main>
<div class="logo" id="touchicon"><span>E</span></div>
<div class="logo" id="favicon"><span>E</span></div>
</main>
</body>
<style>
@font-face {
font-family: "Museo_Slab";
src: url("static/fonts/Museo_Slab_500.woff2") format("woff2"),
url("static/fonts/Museo_Slab_500.woff") format("woff");
font-weight: normal;
font-style: normal;
}
:root {
--lt-blue: rgb(69, 212, 243);
--mid-blue: rgb(26, 169, 239);
--dk-blue: rgb(63, 46, 231);
--purple: rgb(161, 49, 232);
--lilac: rgb(187, 121, 245);
}
body {
align-items: center;
color: #222;
display: flex;
flex-direction: column;
padding-block-start: 6vmin;
font-family: "Museo_Slab";
}
main {
align-items: center;
display: flex;
gap: 2rem;
margin: 0 auto;
}
.logo {
border: 1px dotted #aaa;
color: transparent;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
line-height: 1;
}
.logo > span {
display: block;
position: relative;
background:
radial-gradient(circle at 20% 70%, var(--purple), transparent 40%),
radial-gradient(circle at 30% 30%, var(--lt-blue), var(--mid-blue) 20%, transparent 80%),
radial-gradient(ellipse at 95% 20%, var(--dk-blue), var(--mid-blue) 70%, transparent 80%),
radial-gradient(circle at 100% 100%, var(--purple), var(--lilac) 100%),
radial-gradient(circle at 45% 100%, var(--lilac), var(--purple) 60%),
radial-gradient(ellipse at 50% 50%, var(--dk-blue), transparent 80%);
background-clip: text;
}
#touchicon {
font-size: 600px;
width: 512px;
height: 512px;
}
#touchicon > span {
top: 15px;
}
#favicon {
font-size: 24px;
width: 24px;
height: 24px;
}
#favicon > span {
top: 0.5px;
}
</style>
</html>