- nginx 安全加固 (CSP, HSTS, 缓存策略) - 共享 style.css - 138个页面全部接入 Co-authored-by: Hermes AI <agent@hermes>
113 lines
10 KiB
HTML
113 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-26 08:07<br>
|
|
来源: 品宣BOT · 一切皆如</p>
|
|
</blockquote>
|
|
<hr>
|
|
<p>诸葛亮的《诫子书》:静以修身,俭以养德</p>
|
|
<p>你有多久没静下来五分钟了?别急着回答,先想想:早上睁眼第一件事是不是刷手机?上班路上是不是耳机塞着听播客?吃饭时是不是边看视频边扒拉?晚上躺床上,明明累得不行,却还在短视频里滑来滑去。这不是你的错,是时代太快,快得让人忘了静下来的感觉。</p>
|
|
<p>两千年前,诸葛亮在《诫子书》里写下六个字:“静以修身,俭以养德”。这六个字,是给儿子诸葛瞻的临终嘱托,也是给所有现代人的一剂良方。今天,咱们就聊聊这两种“静”与“俭”的智慧,看它们如何帮我们在浮躁中找回自己。</p>
|
|
<p><strong>静以修身:真正的强大,从安静开始</strong></p>
|
|
<p>诸葛亮说:“非淡泊无以明志,非宁静无以致远”。一个人只有内心安静,才能看清自己真正想要什么。现代社会,我们被信息轰炸,被焦虑裹挟,被比较绑架。朋友圈里别人晒的升职加薪、豪宅旅游,让你坐立不安;工作群里不断闪烁的消息,让你不敢关机;甚至刷个新闻都能被各种“35岁危机”“中年失业”吓得睡不着觉。</p>
|
|
<p>这就是“不静”的代价。心不静,人就容易被外界牵着鼻子走。你忙着追赶别人的脚步,却忘了自己的方向;你急着处理每一件事,却把最重要的事搁置一边。诸葛亮的智慧是:先静下来,让心有个停靠的地方。每天给自己十分钟,关掉手机,放下工作,哪怕只是发呆,都能让大脑重新运转。静不是懒,而是给灵魂充电。</p>
|
|
<p><strong>俭以养德:不是抠门,是给人生做减法</strong></p>
|
|
<p>“俭以养德”这四个字,常被误解为“省吃俭用”。其实,诸葛亮说的“俭”,不只是物质上的节俭,更是精神上的精简。他一生“鞠躬尽瘁,死而后已”,却“不使内有余帛,外有赢财”,因为他知道,欲望越多,心越乱。</p>
|
|
<p>现代人的焦虑,很大一部分来自“想要太多”。想换大房子,想买豪车,想让孩子上最贵的学校,想让自己看起来“成功”。这些欲望像野草,越拔越长。你拼命挣钱,却发现钱永远不够花;你疯狂购物,却发现买来的东西很快被遗忘。诸葛亮的“俭”,是教你给生活做减法:少买一件不必要的东西,少参加一场无意义的饭局,少纠结一次无谓的比较。省下的时间、精力和金钱,用来陪伴家人、读书学习、提升自己,这才是真正的“养德”。</p>
|
|
<p><strong>给现代人的三个“静俭”建议</strong></p>
|
|
<p>第一,每天留出“静默时间”。早晨起床后,先不碰手机,静坐五分钟,想想今天最重要的事是什么。晚上睡前,关掉所有电子设备,写写日记或读几页书。你会发现,这种“静”能让一天都变得有序。</p>
|
|
<p>第二,定期“断舍离”。每个月清理一次衣柜、书房、手机相册。不用的东西捐掉,不重要的信息删除,不必要的社交退出。东西少了,心就宽了。</p>
|
|
<p>第三,学会“延迟满足”。想买的东西,搁置三天再决定;想发的脾气,深呼吸十秒再说;想刷的视频,告诉自己看完这一页就关。这种“俭”不是压抑,而是掌控。</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> |