-
Notifications
You must be signed in to change notification settings - Fork 43
/
index.html
6 lines (6 loc) · 4.05 KB
/
index.html
1
2
3
4
5
6
<!DOCTYPE html><html lang="en"><head><title>生命潦草 我在弯腰</title><meta charset="utf-8"><meta name="theme-color" content="#222325"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="renderer" content="webkit"><meta http-equiv="x-dns-prefetch-control" content="on"><meta name="Description" content="Author:Ethan Lu,Category:Personal Blog"><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Tomotoes/font/font.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/index.min.css"><link rel="stylesheet" href="css/style.css"><link rel="icon" href="favicon.ico" type="image/x-icon"><meta name="HandheldFriendly" content="True"><meta name="MobileOptimized" content="480"><!--[if lt IE 9]><style>.alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px } .alert-danger { background-color: #f2dede; border-color: #ebccd1; color: #a94442; border-bottom: 1px solid #ebccd1 } .alert-link { color: #843534; font-weight: bold } .topframe { margin: 0; padding-left: 15px; padding-right: 15px; text-align: center; border-radius: 0; position: fixed; left: 0; right: 0; top: 0; z-index: 1000 }
</style><div class="alert alert-danger topframe">你的浏览器实在<strong>太太太太太太旧了</strong>,放学别走,升级完浏览器再说<a class="alert-link" target="_blank" href="http://browsehappy.com">立即升级</a></div><script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script><script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script><![endif]--></head></html><body><main><div class="content content-intro"><div class="content-inner"><div class="wrap fade"><h2 class="content-title">Ethan Lu</h2><p></p><h3 class="content-subtitle" original-content="Winter is coming"> </h3><p></p><a class="enter">enter</a><div class="arrow arrow-1"></div><div class="arrow arrow-2"></div></div></div><div class="shape-wrap"><svg class="shape" width="100%" height="100vh" preserveAspectRatio="none" viewBox="0 0 1440 800" xmlns:pathdata="http://www.codrops.com/"><path d="M-44-50C-52.71 28.52 15.86 8.186 184 14.69 383.3 22.39 462.5 12.58 638 14 835.5 15.6 987 6.4 1194 13.86 1661 30.68 1652-36.74 1582-140.1 1512-243.5 15.88-589.5-44-50Z" pathdata:id="M -44,-50 C -137.1,117.4 67.86,445.5 236,452 435.3,459.7 500.5,242.6 676,244 873.5,245.6 957,522.4 1154,594 1593,753.7 1793,226.3 1582,-126 1371,-478.3 219.8,-524.2 -44,-50 Z"></path></svg></div></div><div class="content content-main"><div id="page"><div id="card"><div class="card-inner fade"><header><img src="assets/avatar.jpg" width="80" height="80" alt="avatar"><h1>Ethan Lu</h1><h2 id="signature" original-content="A Husband, A Dad"></h2></header><ul><li id="whole-first"><a href="blog/"><i class="icon icon-bokeyuan"></i><span>Blog</span></a></li><li id="whole-second"><a href="about/"><i class="icon icon-xiaolian"></i><span>About</span></a></li><li id="half-first"><a href="mailto:[email protected]" target="_blank"><i class="icon icon-email"></i><span>Contact me</span></a></li><li class="quarter" id="quarter-first"><a><i class="icon icon-wechat"></i><img src="assets/wechat.jpg" height="95" width="95" alt="wechat"></a></li><li class="quarter" id="quarter-second"><a href="https://github.com/uptownboy" target="_blank"><i class="icon icon-github"></i><span>Github</span></a></li><li class="quarter" id="quarter-third"><a href="https://twitter.com/ethanlu" target="_blank"><i class="icon icon-twitter"></i><span>Twitter</span></a></li><li class="quarter" id="quarter-fourth"><a href="javascript:;"><i class="icon icon-other"></i></a></li></ul></div></div></div></div><script src="https://cdn.jsdelivr.net/npm/[email protected]/anime.min.js"></script><script>window.$ = selector => document.querySelector(selector)
const getOriginalContent = selector => $(selector).getAttribute("original-content")
window.subtitle = getOriginalContent(".content-subtitle")
window.signature = getOriginalContent("#signature")
</script><script src="js/main.js"></script></main></body>