Skip to content

Instantly share code, notes, and snippets.

@griiid
Last active February 5, 2022 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save griiid/944fa4d4ef7d58cdd06937898f59769c to your computer and use it in GitHub Desktop.
Save griiid/944fa4d4ef7d58cdd06937898f59769c to your computer and use it in GitHub Desktop.
噗浪自訂主題
/* Design and Copyright by 千秋,請追蹤噗浪以獲得佈景主題的更新資訊:Plurk@akira02
佈景主題官方網站: https://github.com/akira02/Zero-Memo
Zero-Memo模糊背景產生器·改beta:https://chiaki.uk/Zero-Memo/
*/
/* 根元素 */
body {
/* △未模糊背景圖片 */
/*# BACKGROUND timeline #*/
background-image: url(https://i.imgur.com/WBS4T0h.jpg) !important;
background-position: center !important;
background-size: cover !important;
background-attachment: fixed !important;
min-height: 0 !important;
height: 100vh !important;
box-shadow: 0 0 20px #000;
font-family: Ubuntu, "Avenir Next", "Arial", "XinGothic-TC", "PingFang TC",
"Heiti TC", "LiHei Pro", "Source Han Sans TC", "Hiragino Sans", "Meiryo",
"Century Gothic", "Microsoft Jhenghei", "微軟正黑體", sans-serif !important;
text-rendering: optimizeLegibility;
/* font-weight: 800; */
font-weight: 600;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-font-feature-settings: "liga"on;
}
/* 取代載入回噗的彈跳P */
.loading>img {
background: url(https://chiaki.uk/Zero-Memo/img/cat-loading-s.gif) no-repeat;
background-size: 90px;
width: 90px;
height: 90px;
padding-left: 90px;
margin-top: 17px;
}
/* 取代載入河道彈跳肉骨獸 */
.loading-div {
background: url(https://chiaki.uk/Zero-Memo/img/cat-loading-s.gif) no-repeat;
background-size: 120px;
width: 120px;
height: 120px;
left: 50%;
}
/* 隱藏載入河道的彈跳肉骨獸 */
.loading-div>.cnt {
display: none;
}
/* 河道 */
#timeline_holder {
position: relative;
width: 100%;
height: 100% !important;
background-color: rgba(0, 0, 0, 0) !important;
overflow: hidden !important;
}
/* 噗文能出現的範圍 */
#timeline_cnt {
top: 5% !important;
height: 80% !important;
overflow-y: visible !important;
}
/* 避免噗文展開後被切掉 */
#timeline_cnt,
.block_cnt {
overflow-y: visible !important;
}
.div_inner {
height: auto !important;
position: absolute;
top: 0;
bottom: 0;
}
/* 時間標籤置頂 */
.bottom_start {
position: absolute;
top: 0;
z-index: 800;
color: #fff !important;
/* background-color: #000; */
background-color: #888;
height: 22px;
/* opacity: 0.5; */
border: 2px solid #DDD;
}
/* 浮動發噗時間 */
#time_show {
top: auto !important;
/* right: 1%; */
right: 90px;
/* bottom: 10%; */
bottom: 20px;
left: auto !important;
padding: 10px !important;
background: none;
background-color: #000000 !important;
background-color: rgba(0, 0, 0, 0.5) !important;
}
#time_show span {
color: #fff !important;
font-size: 2em !important;
font-weight: bold;
}
/* 去除連結背景, 左側線條 */
.plurk .meta {
border: none !important;
background: none !important;
}
/* 噗文 */
.plurk_cnt,
.plurk_cnt .manager {
/*# BACKGROUND plurk #*/
border-radius: 3px;
background-color: #fff !important;
/* fallback */
/* ☆白色模糊背景圖片 */
background-image: url(https://i.imgur.com/r00yTgo.jpg) !important;
background-position: center !important;
background-size: cover !important;
background-attachment: fixed !important;
border: 1px solid rgba(255, 255, 255, 0.8);
box-sizing: content-box;
font-size: 1.em;
line-height: 1.4;
-webkit-transition: border 0.5s;
transition: border 0.5s;
}
.plurk_cnt:hover,
.plurk_cnt:hover .manager {
background-image: none !important;
background-color: rgba(192, 192, 192, 0.7);
text-shadow: 0 !important;
}
.plurk_cnt .text_holder {
text-shadow: 0 0 6px #fff, 0 0 6px #fff !important;
}
/* 噗的控制列 */
/* 將噗的控制列 (編輯,消音,轉噗,喜歡,噗幣,其他) 移動到名字上方
因為有些太長的噗展開後,這個控制列會跑掉 (找不到) */
.manager {
position: absolute;
padding-left: 0.4em;
top: -2.6em;
left: 0;
}
/* 調整噗的控制列的圖案的邊框留白 */
.manager a {
padding: 0;
margin: 3px;
}
.new .plurk_cnt,
.new .manager {
box-shadow: 0px 0px 9px 0px rgba(252, 252, 114, 0.4);
border: 1px solid rgba(255, 255, 0, 0.6);
/* ☆黃色模糊背景圖片 */
background-image: url(https://i.imgur.com/9EYLNGb.jpg) !important;
}
.new .plurk_cnt:hover,
.new .plurk_cnt:hover .manager {
background-image: none !important;
background-color: rgb(255, 255, 181) !important;
}
/* 偷偷說 */
/* 偷偷說的噗底色設為藍色 */
.plurk[data-uid="99999"] .plurk_cnt,
.plurk[data-uid="99999"] .manager {
border: 1px solid rgba(73, 216, 230, 0.6);
/* ☆藍色模糊背景圖片 */
background-image: url(https://i.imgur.com/VcwbHuQ.jpg) !important;
}
.plurk[data-uid="99999"] .plurk_cnt:hover,
.plurk[data-uid="99999"] .plurk_cnt:hover .manager {
background-image: none !important;
background-color: hsl(185, 85%, 95%) !important;
}
/* R18 */
/* R18的噗底色設為粉紅色 */
.plurk.porn .plurk_cnt,
.plurk.porn .manager {
border: 1px solid rgba(255, 192, 230, 0.9);
/* ☆粉紅色模糊背景圖片 */
background-image: url(https://i.imgur.com/YSLLgUC.jpg) !important;
}
.plurk.porn .plurk_cnt:hover,
.plurk.porn .plurk_cnt:hover .manager {
background-image: none !important;
background-color: hsl(324, 60%, 95%) !important;
}
/* R18的噗裡面的圖片跟連結模糊化 */
.plurk.porn .plurk_cnt .td_cnt .ex_link {
filter: blur(4px);
}
/* R18的噗裡面的圖片跟連結當滑鼠移上去時取消模糊 */
.plurk.porn .plurk_cnt .td_cnt .ex_link:hover {
filter: none;
}
/* 廣告 */
.plurk[data-respcount="廣告"] .plurk_cnt {
border: 1px solid rgba(64, 64, 64, 0.8);
background-image: none !important;
background-color: rgba(128, 128, 128, 0.8) !important;
}
/* 選中的噗文 */
.plurk_box .plurk_cnt {
border-radius: 0 6px 0 0;
border: 1px solid #fff;
border-bottom: hidden;
}
.poster_holder {
z-index: 1001;
}
/* 發文者姓名 */
.name {
font-size: 1.1em;
text-shadow: 0 0 8px #fff, 0 0 7px #fff !important;
z-index: 855;
}
/* 發文者頭像 */
.p_img {
position: relative !important;
/* top: -20px; */
top: -15px;
left: 0;
z-index: 845;
}
.p_img img {
/* width: 35px !important;
height: 35px !important; */
width: 25px !important;
height: 25px !important;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
border-radius: 5px;
}
/* 回應計數 */
.response_count {
position: relative !important;
top: -10px;
left: -13px;
background: none !important;
color: #eee !important;
text-shadow: 0 0 5px #000;
/* font-size: 2em; */
font-size: 1.6em;
}
/* 回應計數(未讀) */
.new .response_count {
/* color: #f23c3c !important; */
color: rgba(255, 255, 0, 0.8) !important;
text-shadow: 0 0 5px #e88d43;
}
/* 回應欄 */
#form_holder {
/*# BACKGROUND plurk #*/
border: 1px solid #fff;
border-top: 0;
background-color: #fff !important;
/* fallback */
/* ☆白色模糊背景圖片 */
background-image: url(https://i.imgur.com/YawLv4r.jpg) !important;
background-position: center !important;
background-size: cover !important;
background-attachment: fixed !important;
z-index: 1000;
}
/* 去除回應欄內元素的背景, 框線 */
.list .plurk_cnt,
.response_box,
.mini_form,
.info_box,
.login_to_see {
background: none !important;
border: none !important;
}
/* 個人資訊面板 */
#dashboard_holder {
/*# BACKGROUND dashboard #*/
min-width: 0;
min-height: 0;
width: auto;
position: absolute !important;
top: 42px;
bottom: 0;
left: -242px;
margin: 0 !important;
z-index: 910;
background-color: rgba(0, 0, 0, 0.8) !important;
background-color: #000000 !important;
/* ★黑色模糊背景圖片 */
background-image: url(https://i.imgur.com/xANI3qZ.jpg) !important;
background-position: center !important;
background-size: cover !important;
background-attachment: fixed !important;
-webkit-transition: left 0.5s;
transition: left 0.5s;
}
.display_name {
width: 100%;
text-align: left;
}
.profile-icons {
top: 200px;
}
#dashboard_holder:hover {
left: 0;
}
#plurk-dashboard {
background: none !important;
border: none !important;
}
/* 使各面板垂直排列 */
.dash-group-left,
.dash-group-right,
.dash-segment {
clear: both;
width: auto !important;
}
.segment-content {
background: none !important;
border-radius: 0 !important;
}
/* 發文面板 */
.dash-group-form {
position: fixed !important;
bottom: 20px !important;
left: 50%;
transform: translate(-50%, 0);
width: auto !important;
z-index: 910 !important;
background-color: #e6e6e6;
background-color: rgba(230, 230, 230, 0.6);
color: #000;
border-radius: 5px;
box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.8);
}
.browse_button {
display: block !important;
}
.browse_button .cmp_arrow_left {
position: fixed !important;
bottom: 100px !important;
right: 20px;
opacity: 0.5;
}
.browse_button .cmp_arrow_right {
position: fixed !important;
bottom: 40px !important;
right: 20px;
opacity: 0.5;
}
.browse_button .cmp_back_to_today.pif-arrow-left {
position: fixed !important;
bottom: 20px !important;
right: 20px;
opacity: 0.3;
}
.browse_button .cmp_arrow_left:hover,
.browse_button .cmp_arrow_right:hover,
.browse_button .cmp_back_to_today.pif-arrow-left:hover {
opacity: 1 !important;
}
#plurk_form textarea {
max-height: 380px !important;
width: 40vw !important;
}
.submit_img {
color: #fff !important;
}
/* 各欄樣式 */
#dash-additional-info,
#dash-stats,
#dash-friends,
#dash-fans,
#dash-award {
width: 290px !important;
position: relative;
padding: 5px;
font-size: 0.9em;
color: #fff !important;
}
.segment-content h2 {
color: LightGray !important;
background: none !important;
font-size: 1.5em !important;
font-weight: bold;
border-bottom: 0 !important;
}
.segment-content a {
color: #ffb17b !important;
text-decoration: none !important;
}
.segment-content a:hover {
color: #f5873b !important;
}
/* 個人簡介欄外框 */
.dash-segment-profile :first-child.segment-content {
/*# BACKGROUND dashboard #*/
height: auto !important;
width: 220px !important;
position: fixed !important;
border-top-left-radius: 5px !important;
border-bottom-left-radius: 5px !important;
top: 80px;
right: -180px !important;
background-color: #000000 !important;
background-color: rgba(0, 0, 0, 0.8) !important;
/* ★黑色模糊背景圖片
background-image: url(http://i.imgur.com/xAYxWg4.jpg) !important; */
background-position: center !important;
background-size: cover !important;
background-attachment: fixed !important;
color: LightGray;
-webkit-transition: right 0.5s !important;
transition: right 0.5s !important;
}
#dashboard_holder:hover .dash-segment-profile :first-child.segment-content {
right: 0 !important;
}
/* 個人簡介欄 */
#dash-profile {
width: 100% !important;
height: auto !important;
padding: 5px !important;
}
/* 大頭貼 */
#profile_pic {
height: auto !important;
width: auto !important;
-webkit-transform: rotate(5deg);
transform: rotate(5deg);
border-radius: 10px;
position: relative !important;
}
.profile-info {
position: initial !important;
}
#full_name,
.profile-info {
line-height: 1.4em;
text-align: right;
margin: 0 !important;
position: relative !important;
}
#full_name {
font-size: 17px;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row wrap;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
-webkit-box-align: baseline;
-webkit-align-items: baseline;
-ms-flex-align: baseline;
align-items: baseline;
}
.nick_name {
font-size: 58%;
width: 80px;
}
.display_name {
margin-right: auto;
}
#span_years {
font-weight: 700;
}
#location {
font-style: italic;
}
/* Karma值 */
@font-face {
font-family: nixie2;
/* src: url("https://chiaki.uk/assets/AkiNixieNumber-Regular.woff2") format("woff2"),
url("https://chiaki.uk/assets/AkiNixieNumber-Regular.woff") format("woff"); */
src: url("https://chiaki.uk/assets/AkiNixieNumber-karma.woff2") format("woff2"),
url("https://chiaki.uk/assets/AkiNixieNumber-karma.woff") format("woff");
}
/* #karma {
position: relative;
display: inline-block;
text-align: right;
font-family: nixie2;
font-size: 1.15em;
font-weight: normal;
width: 4em;
left: -10px;
padding: 0.2em;
padding-bottom: 0.1em;
color: #ff9b28;
text-shadow: 0px 0px 6px rgba(255, 65, 0, 0.7), 0px 0px 20px #ff8000,
0px 0px 10px rgb(118, 18, 3) !important;
} */
/* #karma::before {
position: absolute;
top: 0.2em;
left: 0.2em;
opacity: 0.4;
color: #de8159;
content: "$$$$$$";
} */
#karma {
position: relative;
display: inline-block;
text-align: right;
font-family: nixie2;
font-weight: normal;
font-size: 1.15em;
width: 4em;
left: -10px;
padding: 0.2em;
padding-bottom: 0.1em;
color: #ff9b28;
text-shadow: 0px 0px 6px rgb(255, 0, 0), 0px 0px 20px #ff8000, 0px 0px 10px rgb(118, 18, 3) !important;
}
#karma::before {
color: #ff9b28;
text-shadow: 0px 0px 6px rgba(255, 65, 0, 0.7), 0px 0px 20px #ff8000, 0px 0px 10px rgb(118, 18, 3) !important;
content: '0·';
}
#karma::after {
position: absolute;
top: 0.2em;
left: 0.2em;
opacity: 0.4;
color: #de8159;
content: '$$$$$$$';
}
#karma_holder {
position: fixed !important;
top: 340px;
z-index: 9999;
left: 100vw !important;
margin-left: -30px;
-webkit-transition: margin-left 0.5s;
transition: margin-left 0.5s;
}
/*隱藏卡馬英文*/
.karma_hover {
margin: 0;
height: 0;
}
#dashboard_holder:hover #karma_holder {
/* (原左移(30px) + 個人簡介欄左移(180px)) * -1 */
margin-left: -210px;
}
/* 自我介紹欄 */
#dash-additional-info {
/* max-height: 0; */
max-height: 50vh;
padding-right: 50px !important;
-webkit-transition: max-height 0.5s;
transition: max-height 0.5s;
}
/* #dashboard_holder:hover #dash-additional-info {
max-height: 50vh;
} */
/* 各欄標題樣式 */
.segment-content h2 {
display: -webkit-box !important;
display: -webkit-flex !important;
display: -ms-flexbox !important;
display: flex !important;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
/* 第1: 文字 */
-webkit-box-ordinal-group: 2;
-webkit-order: 1;
-ms-flex-order: 1;
order: 1;
}
/* 第2: 分隔線 */
.segment-content h2::before {
-webkit-box-ordinal-group: 3;
-webkit-order: 2;
-ms-flex-order: 2;
order: 2;
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
height: 1px;
margin: 5px;
content: "";
background-color: LightGray;
}
/* 第3: icon */
.segment-content h2::after {
-webkit-box-ordinal-group: 4;
-webkit-order: 3;
-ms-flex-order: 3;
order: 3;
}
/* 圖示樣式 */
#dash-additional-info::before,
.segment-content h2::after {
width: 1.5em !important;
color: LightGray;
font-size: 1.5em !important;
text-align: center;
font-family: FontAwesome !important;
font-weight: 100 !important;
}
/* 圖示代碼 */
#dash-additional-info::before {
content: "";
/* terminal */
}
#dash-stats h2::after {
content: "";
/* line-chart */
}
#dash-friends h2::after {
content: "";
/* child */
}
#dash-fans h2::after {
content: "";
/* star-o */
}
/* (統計欄, 朋友欄, 粉絲欄)除標題外的內容 */
.dash-stats-karma,
#dash-stats-table,
#friend_managment,
#dash-friends-pics,
#fan_managment,
#dash-fans-pics {
max-height: 0;
height: auto !important;
margin: 0 !important;
/* 使overflow-y: hidden對table生效 */
display: inline-block;
clear: both;
overflow-x: visible;
overflow-y: hidden;
-webkit-transition: max-height 0.5s;
transition: max-height 0.5s;
}
:hover.segment-content .dash-stats-karma,
:hover.segment-content #dash-stats-table,
:hover.segment-content #friend_managment,
:hover.segment-content #dash-friends-pics,
:hover.segment-content #fan_managment,
:hover.segment-content #dash-fans-pics {
max-height: 200px;
/* 大於以上任一元素原高度的數字 */
}
/* 狀態數值 */
#dash-stats td {
color: #fff !important;
font-weight: 700;
}
/* 加入好友按鈕, 追蹤按鈕 */
.friend_man {
display: block;
white-space: nowrap;
background: none !important;
border: none !important;
color: LightGray !important;
font-size: 1.5em !important;
}
/* 動詞選擇器 */
.qual_holder {
color: #eee !important;
font-weight: 700;
}
/* 動詞選項 */
.qualifier,
.m_qualifier {
border: 0 !important;
background: 0 !important;
color: #888;
}
/* 動詞文字顏色 */
.q_plays {
color: #fd7387;
}
.q_buys {
color: #ff9481;
}
.q_sells {
color: #ff5129;
}
.q_is {
color: #e57c43;
}
.q_says {
color: #e2560b;
}
.q_needs {
color: #7a9a37;
}
.q_hopes {
color: #e05be9;
}
.q_feels {
color: #2d83be;
}
.q_thinks {
color: #689cc1;
}
.q_wants {
color: #8db241;
}
.q_wishes {
color: #5bb017;
}
.q_has {
color: #468281;
}
.q_loves {
color: #cc0100;
}
.q_hates {
color: #111;
}
.q_asks {
color: #8361bc;
}
.q_will {
color: #b46db9;
}
.q_was {
color: #525252;
}
.q_had {
color: #8c8c8c;
}
.q_likes {
color: #f2192d;
}
.q_shares {
color: #a74949;
}
.q_gives {
color: #620e0e;
}
.q_wonders {
color: #2e4e9e;
}
.q_whispers {
color: #32007e;
}
.q_replurks {
color: #3b8610;
}
.q_draws {
color: #47b2b1;
}
.q_eats {
color: #ff8d06;
}
.q_writes {
color: #efab07;
}
/* 隱藏垃圾 */
/* 底部廣告 */
.adsense,
/* 回覆底部廣告 */
#resp_banner_ads,
/* 背景logo */
#dynamic_logo,
/* 時間軸線 */
#bottom_line,
/* 教學連結 */
.link_arrow,
/* 避免底部bar擋到東西 */
footer {
min-height: 0 !important;
min-width: 0 !important;
height: 0 !important;
width: 0 !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
overflow: hidden !important;
}
.timeline_control {
position: absolute;
bottom: 20px;
left: 20px;
width: 0 !important;
height: 0 !important;
z-index: 1000;
}
.response_time {
border: 1px solid #fff;
border-left: 0;
border-radius: 0;
}
.response_time .holder {
background: none !important;
}
/* 組合表情符號無縫 */
.emoticon_my+.emoticon_my,
.emoticon_my_wrapper+.emoticon_my,
.emoticon_my+.emoticon_my_wrapper {
margin-left: -4px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment