- nginx 安全加固 (CSP, HSTS, 缓存策略) - 共享 style.css - 138个页面全部接入 Co-authored-by: Hermes AI <agent@hermes>
106 lines
10 KiB
HTML
106 lines
10 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>诸葛亮《诫子书》:静以修身,俭以养德 - 博海视角</title>
|
|
<meta name="description" content="诸葛亮《诫子书》:静以修身,俭以养德">
|
|
<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>诸葛亮《诫子书》:静以修身,俭以养德</h1>
|
|
<div class="meta">2026-07-01</div>
|
|
</div>
|
|
<div class="article-body">
|
|
<h1 class="toc-header" id="诸葛亮诫子书静以修身俭以养德"><a href="#诸葛亮诫子书静以修身俭以养德" class="toc-anchor">¶</a> 诸葛亮《诫子书》:静以修身,俭以养德</h1>
|
|
<blockquote>
|
|
<p>发布日期: 2026-06-17 10:19<br>
|
|
来源: 品宣BOT · 一切皆如</p>
|
|
</blockquote>
|
|
<hr>
|
|
<p>《诸葛亮《诫子书》:静以修身,俭以养德》</p>
|
|
<p>“夫君子之行,静以修身,俭以养德。”这句话出自诸葛亮写给8岁儿子诸葛瞻的《诫子书》。你可能想不到,这位在三国战场上运筹帷幄的丞相,留给后代最核心的教诲不是权谋兵法,而是“静”和“俭”两个字。今天咱们就来聊聊,这两字对咱们普通人的生活有啥用。</p>
|
|
<p>先说“静以修身”。诸葛亮说的“静”,不是让你躲进深山老林,而是指内心的安定。他接着说“非淡泊无以明志,非宁静无以致远”,意思是:心不静,就看不清自己真正想要什么;心不静,就走不远。你看现在很多人,白天刷手机停不下来,晚上焦虑得睡不着,说白了就是心乱了。我以前认识一位做生意的朋友,公司遇到危机时,他每天开会、打电话、到处求人,结果越忙越乱。后来他干脆关掉手机,一个人在书房里坐了半天,写了三页纸的应对方案。他说:“静下来才发现,之前90%的忙碌都是瞎折腾。”这就是“静”的力量——让你从躁动中抽身出来,看清问题的本质。</p>
|
|
<p>再讲“俭以养德”。诸葛亮说的“俭”,不是让你过苦行僧的日子,而是培养一种克制和珍惜的习惯。他写到“俭以养德”,紧接着说“非学无以广才,非志无以成学”,可见“俭”是学习和立志的基础。咱们可以想想,现在多少人月薪过万却存不下钱?不是赚得少,而是被消费主义绑架了。我有个同事,以前每月工资到手就买新款手机、名牌包,结果遇到家里人生病,连两万块医药费都拿不出来。后来他学着记账、减少冲动消费,一年后不仅存了五万块,还报了喜欢的书法班。他说:“原来‘俭’不是穷,是把钱花在真正重要的地方。”这就是“俭”的现代意义——帮你过滤掉欲望的噪音,把精力留给真正有价值的事。</p>
|
|
<p>“静”和“俭”其实是连环的。你只有内心静下来,才能分辨哪些是真正的需要、哪些是被煽动的欲望;而通过“俭”来约束行为,又反过来让内心更平静。诸葛亮自己就是榜样:他身为蜀国丞相,家无余财,去世前只留下八百棵桑树和十五顷薄田。他不是装穷,而是把“俭”当作修心的工具——物质上简单了,精神上反而更自由。</p>
|
|
<p>有人可能会问:现在社会竞争这么激烈,谁静得下来?谁俭得了?其实诸葛亮当时的环境比我们更凶险。他写这封信时,正带兵北伐,国家内忧外患,儿子才8岁。但他告诉儿子:越是乱世,越要守住“静”和“俭”。放到今天,咱们面对职场压力、育儿焦虑、中年危机,更需要这种“反脆弱”的智慧——你越是在浮躁中保持定力,越能在困境中找到出路。</p>
|
|
<p>最后分享一个我自己的体会:去年我开始尝试每天睡前静坐十分钟,关掉手机,只盯着窗外的路灯。刚开始脑子像开了锅,各种念头乱窜。坚持一个月后,我发现自己做决定时更清醒了,不再那么容易被人带节奏。同时我试着“俭”一点:不买不需要的东西,多陪家人散步、多读书。半年下来,存款多了,幸福感反而提升了。你看,古人的智慧真不是鸡汤,是经过时间检验的方法论。</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> |