- nginx 安全加固 (CSP, HSTS, 缓存策略) - 共享 style.css - 138个页面全部接入 Co-authored-by: Hermes AI <agent@hermes>
112 lines
11 KiB
HTML
112 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>《菜根谭》10句经典,句句是人生 - 博海视角</title>
|
|
<meta name="description" content="《菜根谭》10句经典,句句是人生">
|
|
<style>
|
|
*{margin:0;padding:0;box-sizing:border-box}
|
|
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:#f8f9fa;color:#1a1a2e;line-height:1.8}
|
|
.article-container{max-width:800px;margin:0 auto;padding:20px}
|
|
.article-header{text-align:center;padding:60px 20px 40px;background:linear-gradient(135deg,#0f172a,#1e3a5f);color:#fff;border-radius:16px;margin-bottom:30px}
|
|
.article-header h1{font-size:28px;font-weight:700;line-height:1.4}
|
|
.article-header .meta{margin-top:12px;font-size:14px;color:rgba(255,255,255,.5)}
|
|
.article-body{background:#fff;border-radius:16px;padding:40px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
|
|
.article-body img{max-width:100%;height:auto;border-radius:8px;margin:20px 0}
|
|
.article-body h2{font-size:22px;margin:30px 0 15px;color:#1a1a2e}
|
|
.article-body h3{font-size:18px;margin:20px 0 10px;color:#2d3748}
|
|
.article-body p{margin:12px 0;text-indent:2em}
|
|
.article-body blockquote p{text-indent:0}
|
|
.article-body hr + p{text-indent:0}
|
|
.article-body blockquote{border-left:4px solid #06b6d4;padding:10px 20px;margin:15px 0;background:#f0fdfe;border-radius:0 8px 8px 0}
|
|
.article-body code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:14px}
|
|
.article-body pre{background:#1e293b;color:#e2e8f0;padding:16px;border-radius:8px;overflow-x:auto}
|
|
.article-body table{width:100%;border-collapse:collapse;margin:15px 0}
|
|
.article-body td,.article-body th{border:1px solid #e2e8f0;padding:8px 12px;text-align:left}
|
|
.article-body th{background:#f8fafc;font-weight:600}
|
|
.back-link{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;background:#06b6d4;color:#fff;text-decoration:none;border-radius:8px;font-weight:500;font-size:14px;transition:background .2s}
|
|
.back-link:hover{background:#0891b2}
|
|
.article-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:30px;padding:20px 0;border-top:1px solid #e2e8f0}
|
|
.share-bar{display:flex;align-items:center;gap:8px}
|
|
.share-bar .share-btn{display:inline-flex;align-items:center;gap:5px;padding:8px 16px;border:none;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;text-decoration:none}
|
|
.share-btn.web-share{background:#06b6d4;color:#fff}
|
|
.share-btn.web-share:hover{background:#0891b2}
|
|
.share-btn.copy-link{background:#f1f5f9;color:#1a1a2e}
|
|
.share-btn.copy-link:hover{background:#e2e8f0}
|
|
.share-btn.qr-code{background:#f1f5f9;color:#1a1a2e}
|
|
.share-btn.qr-code:hover{background:#e2e8f0}
|
|
.share-toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);background:#1a1a2e;color:#fff;padding:10px 24px;border-radius:8px;font-size:14px;opacity:0;transition:opacity .3s;pointer-events:none;z-index:999}
|
|
.share-toast.show{opacity:1}
|
|
.qr-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1000;align-items:center;justify-content:center}
|
|
.qr-modal.show{display:flex}
|
|
.qr-modal-content{background:#fff;border-radius:16px;padding:30px;text-align:center;max-width:320px}
|
|
.qr-modal-content img{width:200px;height:200px;border-radius:8px}
|
|
.qr-modal-content .qr-close{margin-top:16px;padding:8px 24px;border:none;border-radius:6px;background:#f1f5f9;cursor:pointer;font-size:14px}
|
|
@media(max-width:640px){.article-container{padding:10px}.article-header{padding:30px 15px}.article-header h1{font-size:22px}.article-body{padding:20px}}
|
|
</style>
|
|
<link rel="stylesheet" href="/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="article-container">
|
|
<div class="article-header">
|
|
<h1>《菜根谭》10句经典,句句是人生</h1>
|
|
<div class="meta">2026-07-01</div>
|
|
</div>
|
|
<div class="article-body">
|
|
<h1 class="toc-header" id="菜根谭10句经典句句是人生"><a href="#菜根谭10句经典句句是人生" class="toc-anchor">¶</a> 《菜根谭》10句经典,句句是人生</h1>
|
|
<blockquote>
|
|
<p>发布日期: 2026-07-01 11:21<br>
|
|
来源: 品宣BOT · 一切皆如</p>
|
|
</blockquote>
|
|
<hr>
|
|
<p>《菜根谭》10句经典,句句是人生</p>
|
|
<p>你发现没有,人到中年,最怕的不是没钱,而是心里没底。每天被工作、家庭、人情压得喘不过气,夜深人静时总在问自己:这一辈子到底在忙什么?其实,三百年前有位叫洪应明的老先生,早看透了这些。他写了一本《菜根谭》,书名就很实在——菜根嚼得烂,百事可做。今天咱们聊聊书里10句真话,句句戳中人心。</p>
|
|
<p>第一句: “醲肥辛甘非真味,真味只是淡。神奇卓异非至人,至人只是常。” 酒肉再香,吃多了也腻;生活再折腾,到头来发现,白开水最解渴。那些看着高深莫测的人,其实平常得像个邻居。你每天挤地铁、陪客户、辅导孩子作业,这寻常日子里的踏实,就是真味。别总羡慕朋友圈里那些“神奇”的生活,守住自己的“常”,才是本事。</p>
|
|
<p>第二句: “处世让一步为高,退步即进步的张本。” 有次跟朋友吃饭,他抱怨领导抢功,气得想辞职。我说:你让他一步,他下次还好意思抢吗?结果他试着把功劳让出去,领导反而开始主动提携他。退一步不是怂,是给自己留个台阶,给别人留条路。你争我夺,赢了场面输了人心,不值当。</p>
|
|
<p>第三句: “不责人小过,不发人阴私,不念人旧恶。” 谁还没点小毛病?同事迟到了别揪着不放;朋友以前借过钱没还,别提了。揪着别人的错不放,其实是在折磨自己。你原谅别人三分,心里就宽三分。中年人的豁达,不是装出来的,是算清了这笔账——记仇太累,翻篇最赚。</p>
|
|
<p>第四句: “念头宽厚的,如春风煦育,万物遭之而生;念头忌刻的,如朔雪阴凝,万物遭之而死。” 你对待别人的态度,就像天气。你对人宽厚,人家心里暖和,愿意靠近你;你整天算计、刻薄,别人躲你像躲冬天。做生意、处朋友,说到底,谁不喜欢跟“春天”打交道?你多笑一次,多帮一句,福气自然来。</p>
|
|
<p>第五句: “淡薄之士,必为浓艳者所疑;检饬之人,多为放肆者所忌。” 你洁身自好,不争不抢,反而有人怀疑你装清高;你老实本分,总有人觉得你好欺负。别太在意,这是常态。越是这样,你越要沉住气。记住,枪打出头鸟,但鸟不飞出来,枪也没办法。</p>
|
|
<p>第六句: “忙里要偷闲,须先向闲时讨个把柄;闹中要取静,须先从静处立个主宰。” 你天天喊忙,但有没有算过,刷手机占了多大比例?真正会活的人,是提前规划好“闲”。比如周末早起半小时,泡杯茶发会儿呆;或者午休时闭眼冥想五分钟。别等到累垮了才想起休息,那是亡羊补牢。忙是常态,但闲是本事。</p>
|
|
<p>第七句: “恩里由来生害,故快意时须早回头;败后或反成功,故拂心处切莫放手。” 升职了、发财了,别得意忘形,往往危险就藏在掌声里。反过来,项目黄了、被裁员了,也别一蹶不振。我认识个老板,破产三次,第四次抓住了短视频风口,现在身家过亿。低谷时咬咬牙,老天爷给你的不是绝路,是转弯。</p>
|
|
<p>第八句: “俭,美德也,过则为悭吝,为鄙啬,反伤雅道。” 节俭是好事,但对自己抠到吃剩饭、对别人抠到一分钱都算,这就过了。该花的钱要花,比如给父母买件衣服,请朋友吃顿饭。钱是工具,不是枷锁。中年人的体面,不是省出来的,是花对地方花出来的。</p>
|
|
<p>第九句: “君子处患难而不忧,当宴游而惕虑;遇权豪而不惧,对茕独而惊心。” 遇到困难别慌,越慌越乱;但享乐时要小心,乐极生悲。面对有钱有势的人,别低三下四;看到孤苦伶仃的人,要生出恻隐之心。这才是真性情。别跟着势利眼走,做人要有骨气,更要有温度。</p>
|
|
<p>第十句: “天地有万古,此身不再得;人生只百年,此日最易过。” 这话最扎心。天荒地老,但你只活一次;一百年听着长,一天天过得飞快。别再为了不值得的人和事浪费精力了。想陪孩子就放下手机,想学东西就赶紧报名,想见老友就约个饭。别等,等来等去,等成遗憾。</p>
|
|
<p>读完这10句,你会发现,《菜根谭》说的不是大道理,是过日子。人到中年,最珍贵的不是存折上的数字,而是心里那份安稳。对别人宽厚点,对自己慈悲点,把每一天过踏实了,比什么都强。</p>
|
|
<p>你觉得呢?评论区聊聊,哪句最戳你心?</p>
|
|
<hr>
|
|
<p><em>本文由博海品宣BOT自动生成,同步至博海视角</em></p>
|
|
|
|
</div>
|
|
<div class="article-footer">
|
|
<a href="/perspective/" class="back-link">← 返回博海视角</a>
|
|
<div class="share-bar">
|
|
<button class="share-btn web-share" onclick="shareWeb()">
|
|
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg>
|
|
分享
|
|
</button>
|
|
<button class="share-btn copy-link" onclick="copyLink()">
|
|
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>
|
|
复制链接
|
|
</button>
|
|
<button class="share-btn qr-code" onclick="showQR()">
|
|
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/><line x1="3" y1="14" x2="7" y2="14"/></svg>
|
|
二维码
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="shareToast" class="share-toast"></div>
|
|
<div id="qrModal" class="qr-modal" onclick="this.classList.remove('show')">
|
|
<div class="qr-modal-content" onclick="event.stopPropagation()">
|
|
<img id="qrImg" src="" alt="二维码">
|
|
<p style="margin:12px 0 0;font-size:13px;color:#64748b">扫码分享到微信</p>
|
|
<button class="qr-close" onclick="document.getElementById('qrModal').classList.remove('show')">关闭</button>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
function shareWeb(){if(navigator.share){navigator.share({title:document.title,url:window.location.href}).catch(function(e){})}else{alert('请使用手机浏览器或复制链接分享')}}
|
|
function copyLink(){var i=document.createElement('input');i.value=window.location.href;document.body.appendChild(i);i.select();document.execCommand('copy');document.body.removeChild(i);var t=document.getElementById('shareToast');t.textContent='✅ 链接已复制';t.classList.add('show');setTimeout(function(){t.classList.remove('show')},2000)}
|
|
function showQR(){var m=document.getElementById('qrModal');var img=document.getElementById('qrImg');img.src='https://api.qrserver.com/v1/create-qr-code/?size=200x200&data='+encodeURIComponent(window.location.href);m.classList.add('show')}
|
|
</script>
|
|
</body></html> |