樵歌 发表于 2024-1-6 14:24

【二九消寒】第七天 柔

<style>
#papa {
        width: 640px;       
        min-height: 1000px;
        padding: 40px;
        box-sizing: border-box;
        border-radius: 12px;
        box-shadow: 0 0 8px #000;
        position: relative;
        margin: 20px auto;
      top: 50px;
       
        display: grid; user-select: none;
      place-items: center;
      user-select: none;
}
#tit {
        position: absolute;
        left: 175px;
        top: 400px;
        font: bold 22px/26px 'FangSong',serif;
        color: SlateBlue;
}
#papa::before, #papa::after {
        position: absolute;
        content: '';
}
#papa::before {
        left: 10px;
        top: 10px;
        right: 10px;
        bottom: 10px;
        border: 2px dashed DarkBlue;
        border-radius: inherit;
}
#papa::after {
        content: '【二九消寒】第七天 柔';
        padding: 10px 40px 10px 10px;
        left: -10px;
        top: 20px;
        border-radius: 10px 0 0 10px;
        background: MediumBlue;
        opacity: .85;
        font: bold 16px/24px sans-serif;
        color: white;
        clip-path: polygon(0 0,100% 0,90% 50%, 100% 100%, 0 100%);
}
#pic {
        position: absolute;
        left: 50px;
        top: 90px;
        width: 500px;
        height: 281px;
}
.mpic { position: absolute; right: -10px; bottom: -10px; width: 300px; height: 183px; }
.mpic1 { position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; opacity: .35;
      background: url('https://pic.imgdb.cn/item/647c033ef024cca17313a454.gif'); }
@keyframes swing { from { transform: rotate(3deg); } to { transform: rotate(-2deg); } }
</style>

<div id="papa">
       <div class="mpic1"></div>
       <img id="pic" src= "https://pic.imgdb.cn/item/658ffdd1c458853aef9ac3b5.jpg""" alt="" />
       <img src="https://pic.imgdb.cn/item/6482db5b1ddac507ccaa9ddd.gif" alt="" class="mpic" />
        <div id="tit">【二九消寒】“第七天 柔”<br>
   2024-01-06•樵歌<br><br>
第七天 柔<br><br>

上善若水<br>
以天下之至柔,克天下之至刚<br><br>

于是王征服了世界<br>
狂妄曰,孰奈我何<br>
“我”,一个弱弱的声音响起后<br>
王,顿时蔫巴了<br>
我一看,竟然是他的妻子<br><br>

原来老子说的<br>
竟然也是她<br><br>
</div><br><br><br>

<audio id="aud" src="https://music.163.com/song/media/outer/url?id=483803157.mp3" loop autoplay></audio>
<script >
(function() {
        (function(mkPlayer) {let defaults = {lrcAr: [],lrc_css: 'top: 10px; left: 50%; transform: translateX(-50%);',player_css: 'bottom: 20px; left: 50%; transform: translateX(-50%);',playerCode: `<style>#mplayer {position: absolute;display: grid;grid-template-areas: 'cur btnplay dur''prog prog prog';gap: 8px 2px;place-items: end center;color: var(--color);font: normal 16px sans-serif;z-index: 999;--ww: 280px;--color: MidnightBlue;--track: hsla(90,100%,95%,.65);--prog: linear-gradient(90deg,hsla(90,30%,50%,.55),hsla(0,100%,50%,.75),hsla(180,100%,50%,.65));}#cur { grid-area: cur; color: var(--color); }#dur { grid-area: dur; color: var(--color); }#btnplay {--dis1: block;--dis2: none;grid-area: btnplay;width: 35px;height: 35px;border: 3px solid var(--color);border-radius: 50%;opacity: .95;cursor: pointer;transition: .3s;position: relative;}#btnplay:hover { opacity: 1; box-shadow: 0 0 5px var(--color), inset 0 0 5px var(--color); }#btnplay::before, #btnplay::after {position: absolute;content: '';width: 100%;height: 100%;background: var(--color);}#btnplay::before { display: var(--dis1); clip-path: polygon(35% 30%, 75% 50%, 35% 70%); }#btnplay::after {display: var(--dis2);clip-path: polygon(35% 30%, 45% 30%, 45% 70%, 35% 70%, 55% 70%, 65% 70%, 65% 30%, 55% 30%, 55% 70%, 35% 70%);}#prog {--xx: 0px;grid-area: prog;width: var(--ww);height: 4px;background: var(--track);position: relative;display: grid;place-items: center;}#prog::before, #prog::after { position: absolute; content: ''; }#prog::before {left: 0;width: var(--xx);height: 100%;border-radius: 6px;background: var(--prog);}#prog::after {left: calc(var(--xx) - 12px);opacity: .85;width: 16px;height: 16px;background: radial-gradient(transparent 2px, teal 0, black);border-radius: 50%;cursor: pointer;}#lrc {--motion: cover2;--tt: 2s;--state: paused;--bg: linear-gradient(180deg, hsla(90, 50%, 50%, .45), hsla(0, 100%, 50%, .75));position: absolute;font: bold 2.4em sans-serif;color: hsl(0, 10%, 90%);white-space: pre;-webkit-background-clip: text;filter: drop-shadow(1px 1px 2px hsla(0, 0%, 0%, .95));z-index: 1000;}#lrc::before {position: absolute;content: attr(data-lrc);width: 20%;height: 100%;color: transparent;overflow: hidden;white-space: pre;background: var(--bg);filter: inherit;-webkit-background-clip: text;animation: var(--motion) var(--tt) linear forwards;animation-play-state: var(--state);}@keyframes cover1 { from { width: 0; } to { width: 100%; } }@keyframes cover2 { from { width: 0; } to { width: 100%; } }</style><div id="lrc" data-lrc=" "> </div><div id="mplayer"><span id="btnplay"></span><span id="prog"></span><span id="cur">00:00</span><span id="dur">00:00</span></div>`,};let playCode = (user_config) => {let data = Object.assign({}, defaults, user_config);papa.innerHTML += data.playerCode;mplayer.style.cssText += data.player_css;lrc.style.cssText += data.lrc_css;let mKey = 0, mFlag = true, mDrag = false;btnplay.onclick = () => aud.paused ? aud.play() : aud.pause();aud.addEventListener('timeupdate', () => {cur.innerText = toMin(aud.currentTime);dur.innerText = toMin(aud.duration);if(mDrag===false) prog.style.setProperty('--xx', aud.currentTime * prog.offsetWidth / aud.duration + 'px');for (j = 0; j < data.lrcAr.length; j++) {if (aud.currentTime >= data.lrcAr) {cKey = j;if (mKey === j) showLrc(data.lrcAr);else continue;}}});aud.addEventListener('pause', () => mState());aud.addEventListener('play', () => mState());aud.addEventListener('seeked', () => calcKey());prog.onmousedown = (e) => mDrag = true;prog.onmousemove = (e) => { if(mDrag) prog.style.setProperty('--xx',e.offsetX + 'px'); };prog.onmouseup = (e) => {aud.currentTime = aud.duration * e.offsetX / prog.offsetWidth;mDrag = false;};let mState = () => aud.paused ? (lrc.style.setProperty('--state','paused'),btnplay.style.setProperty('--dis1','block'), btnplay.style.setProperty('--dis2','none')): (lrc.style.setProperty('--state','running'),btnplay.style.setProperty('--dis1','none'), btnplay.style.setProperty('--dis2','block'));let showLrc = (time) => {let name = mFlag ? 'cover1' : 'cover2';lrc.innerHTML = lrcAr;lrc.dataset.lrc = lrcAr.replace(/<br>/, '\n');lrc.style.setProperty('--motion', name);lrc.style.setProperty('--tt', time + 's');lrc.style.setProperty('--state', 'running');mKey += 1;mFlag = !mFlag;};let calcKey = () => {for (j = 0; j < data.lrcAr.length; j++) {if (aud.currentTime <= data.lrcAr) {mKey = j - 1;break;}}if (mKey < 0) mKey = 0;if (mKey > data.lrcAr.length - 1) mKey = data.lrcAr.length - 1;let time = data.lrcAr - (aud.currentTime - data.lrcAr);showLrc(time);};let toMin = (val) => {if (!val) return '00:00';val = Math.floor(val);let min = parseInt(val / 60),sec = parseFloat(val % 60);if (min < 10) min = '0' + min;if (sec < 10) sec = '0' + sec;return min + ':' + sec;}};mkPlayer.HCPlayer = playCode;})(this);
        let lrcAr = [
                ,
        ];
        HCPlayer({
                lrcAr: lrcAr,
                lrc_css: 'left: calc(50% - 90px); bottom: 15px; --bg: linear-gradient(hsla(100, 100%, 70%, .35),hsla(120, 100%, 50%, .55));',
                player_css: 'left: 170px; bottom: 90px;--track: hsla(0,0%,80%,.95); --prog: linear-gradient(90deg,hsla(120,100%,50%,.55),hsla(0,100%,50%,.55),hsla(120,100%,50%,.65));',
        });
})();
</script>

红影 发表于 2024-1-6 14:47

柔能克刚,师兄的诗句很有韵味呢{:4_199:}

红影 发表于 2024-1-6 14:55

老子说, 天下之至柔,驰骋天下之至坚。无有入无间,吾是以知无为之有益。不言之教,无为之益,天下希及之。

天下最柔弱的东西,能腾跃穿行于天下最坚硬的东西中。空虚无形之物,能自由穿透任何没有间隙的地方。我因此懂得了“无为”的益处。这种无言的教化,无为的益处,天下很少有人能够做得到。

水看似柔软,却能够穿过坚硬的岩石、土地。最柔弱的东西里面,往往蓄积着人们看不见的巨大力量,使最坚强的东西也无法抵挡。百姓就是如此,统治者们应采取无为而治的方式统治百姓、教化人民,强力只能带来反抗。

水是最柔和的事物,它象征着大道的德行。水也是无欲无求的事物它总是安静地绕开繁华’顺着低洼的河谷缓缓前行'默默无闻地顺流而下'滋润田地、山谷。它决不会在地势的险峻或壮观的地方驻足停留,它造福万物却不主宰万物;它决不居功自傲,而是甘于卑下的地位。

跟着师兄的诗句,赶紧去学习了一下老子的学说{:4_187:}

梦油 发表于 2024-1-6 15:53

我喜欢以柔克刚的力量,在面对困难时,用微笑和坚韧去化解一切。这种以退为进的方式。可以让我们在生活中无往不胜。

千羽 发表于 2024-1-6 18:50

哈哈,樵歌老师好幽默{:4_189:}

千羽 发表于 2024-1-6 18:51

涨知识了,得谢谢樵歌老师{:4_187:}

樵歌 发表于 2024-1-6 21:04

红影 发表于 2024-1-6 14:47
柔能克刚,师兄的诗句很有韵味呢

本来想凑柳呀手呀女性和爱情呀什么的,又怕弄太冗长反而不好,思考一番后,就写水吧{:4_189:}红楼里宝玉说女人是水做的,果然有深刻的道理{:4_173:}

樵歌 发表于 2024-1-6 21:10

红影 发表于 2024-1-6 14:55
老子说, 天下之至柔,驰骋天下之至坚。无有入无间,吾是以知无为之有益。不言之教,无为之益,天下希及之。
...

难怪师妹博学广闻,什么知识都不放过。{:4_173:}
想到老子的道德经,中学时就读过,那时还为老子的“无为”以为是什么都不干,等着得便宜呢。{:4_189:}

樵歌 发表于 2024-1-6 21:11

梦油 发表于 2024-1-6 15:53
我喜欢以柔克刚的力量,在面对困难时,用微笑和坚韧去化解一切。这种以退为进的方式。可以让我们在生活中无 ...

是的过刚易折,太极中四两拔千斤,大概也是这个道理

樵歌 发表于 2024-1-6 21:12

千羽 发表于 2024-1-6 18:50
哈哈,樵歌老师好幽默

是的,不怕老婆的男人不是好男人{:4_189:}

樵歌 发表于 2024-1-6 21:14

千羽 发表于 2024-1-6 18:51
涨知识了,得谢谢樵歌老师

这是借王怕老婆说明以柔克刚,从侧面写柔的力量。

红影 发表于 2024-1-6 21:28

樵歌 发表于 2024-1-6 21:04
本来想凑柳呀手呀女性和爱情呀什么的,又怕弄太冗长反而不好,思考一番后,就写水吧红楼里宝玉 ...

师兄提到手,忽然想起清儿了,她有张带手的照片特别柔美呢{:4_173:}

红影 发表于 2024-1-6 21:30

樵歌 发表于 2024-1-6 21:10
难怪师妹博学广闻,什么知识都不放过。
想到老子的道德经,中学时就读过,那时还为老子的“无 ...

我好像都没学过道德经,这个也是去搜的,正好在师兄的诗句里看到,赶紧去学习一下{:4_173:}

小辣椒 发表于 2024-1-6 21:56

樵哥哥有男人的美德{:4_173:}

樵歌 发表于 2024-1-7 10:28

红影 发表于 2024-1-6 21:28
师兄提到手,忽然想起清儿了,她有张带手的照片特别柔美呢

在我电脑里有,可离心已经有点远了{:4_189:}

樵歌 发表于 2024-1-7 10:31

红影 发表于 2024-1-6 21:30
我好像都没学过道德经,这个也是去搜的,正好在师兄的诗句里看到,赶紧去学习一下

一直觉得,道德经才是中国古典正宗哲学,而儒家学说把中国人搞得太仁弱了,没血性了

樵歌 发表于 2024-1-7 10:31

小辣椒 发表于 2024-1-6 21:56
樵哥哥有男人的美德

这句话樵哥哥最爱听{:4_185:}

梦油 发表于 2024-1-7 16:13

樵歌 发表于 2024-1-6 21:11
是的过刚易折,太极中四两拔千斤,大概也是这个道理

樵歌朋友说得极是,这也揭示了生活中的一种智慧和处世的哲学。

红影 发表于 2024-1-7 19:12

樵歌 发表于 2024-1-7 10:28
在我电脑里有,可离心已经有点远了

论坛也有呢,翻捡岁月,能拾到很多的暖{:4_204:}

红影 发表于 2024-1-7 19:12

樵歌 发表于 2024-1-7 10:31
一直觉得,道德经才是中国古典正宗哲学,而儒家学说把中国人搞得太仁弱了,没血性了

是啊,儒家有时害人不浅。
页: [1]
查看完整版本: 【二九消寒】第七天 柔