×スマイル!×【公式】
×スマイル!×【公式】のCSSコード
最終更新:
nknie
-
view
目次
- 目次
- CSSコード(コード通りにならなかったところもあります)
- 見出し、記事メニューの黒いバー変更
- 普通の文字の色(パステル系の方は灰色がおすすめ!)
- リンクの色変更(普通はピンク、タップしたら水色)
- 水平線をミント色の点線、両脇にオレンジの星追加
- ハチワレ風コメントボタン
- コメントの返信ボタンのマーク顔つき★&タップされたらプニプニ
- 願いを絶対に叶えてくれる!ゆっくり流れ星
- タブの裏側(世界の裏側)などの色変更コード(重くなりすぎて没になりました)
- 目次の枠線と目次内のリンク色変更コード
- フォント&サイズ&太さ変更/* アットウィキが裏で数字やリストを小さくしている設定をすべて102%に強制統一 */
- 文字のフォント&サイズ&太さ変更(おすすめの大きさは100%)/* アットウィキが裏で数字やリストを小さくしている設定をすべて102%に強制統一 */
- コメントの「返信○件」の色変更(薄紫)
- コメントの書き込み欄変更
- テーブル線、投票の枠線色変更
- ×スマイル!×【公式】のCSSコードを全部使いたい場合(エラーになってるのでここだけ編集画面にして、コピーしてください)
- コメント欄
CSSコード(コード通りにならなかったところもあります)
コピー自由!下の文字は全てコードです!
見出し、記事メニューの黒いバー変更
8. 【ミント盛り版】めちゃかわネオ・パステル見出し
======================================================== */
/* 🌟 通常の見出し:マカロンみたいに丸くて立体的な3Dボックス */
h1, h2, h3, h4, h5, h6, #header h1, #sitename {
/* 🌟 通常の見出し:マカロンみたいに丸くて立体的な3Dボックス */
h1, h2, h3, h4, h5, h6, #header h1, #sitename {
border: none !important; display: block !important; /* 💡 立体的な影をミントのトーンに合わせて可愛くしたよ! */ box-shadow: 0 4px 0px #bae6fd, 4px 6px 10px rgba(167, 243, 208, 0.4) !important; padding: 10px 18px !important; border-radius: 10px !important; /* なめらかで可愛い丸み */ position: relative !important; width: 100% !important; box-sizing: border-box !important; background-color: #7dd3fc !important; /* 🩵のきらきらパステル水色 */ margin-bottom: 15px !important;
}
/* 🌟 記事メニューの見出し:白い角が出ない安全サイズ & 統一感のある紫3D */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {
/* 🌟 記事メニューの見出し:白い角が出ない安全サイズ & 統一感のある紫3D */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {
border: none !important; display: block !important; box-shadow: 0 4px 0px #dda0dd, 4px 6px 10px rgba(224, 176, 255, 0.3) !important; padding: 10px 15px !important; border-radius: 4px !important; /* 記事メニューは安全な4pxをキープ! */ position: relative !important; width: 100% !important; box-sizing: border-box !important; background-color: #e0b0ff !important; /* 優しいパステル薄紫 */ margin-bottom: 0px !important; overflow: hidden !important; font-size: 16px !important;
}
/* 💡 見出しレベルのサイズ */
h1, #header h1 { font-size: 24px !important; }
h2 { font-size: 20px !important; }
h3 { font-size: 18px !important; }
h4, h5, h6 { font-size: 16px !important; }
/* 💖 通常見出しの文字:白文字 ➔ ミント色のパキッとしたフチ取り ➔ 外側にミントの光! */
body h1, body h2, body h3, body h4, body h5, body h6, #header h1, #header h1 a, #sitename, #sitename a, .atwiki-content h3, #atwiki-body h3, #menubar h3, #side h3 {
/* 💡 見出しレベルのサイズ */
h1, #header h1 { font-size: 24px !important; }
h2 { font-size: 20px !important; }
h3 { font-size: 18px !important; }
h4, h5, h6 { font-size: 16px !important; }
/* 💖 通常見出しの文字:白文字 ➔ ミント色のパキッとしたフチ取り ➔ 外側にミントの光! */
body h1, body h2, body h3, body h4, body h5, body h6, #header h1, #header h1 a, #sitename, #sitename a, .atwiki-content h3, #atwiki-body h3, #menubar h3, #side h3 {
color: #ffffff !important; /* 💡 1px〜-1pxの指定で綺麗なミント色の「フチ取り」を作りつつ、最後の3pxぼかしで「フワッとした光」を表現! */ text-shadow: 1px 1px 0 #a7f3d0, -1px -1px 0 #a7f3d0, 1px -1px 0 #a7f3d0, -1px 1px 0 #a7f3d0, 0px 0px 4px #a7f3d0 !important;
}
body h1 a, body h2 a, body h3 a, body h4 a, body h5 a, body h6 a { text-decoration: none !important; }
/* 💙 記事メニューの文字:通常見出しとお揃いのミント色のフチ&光! */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {
body h1 a, body h2 a, body h3 a, body h4 a, body h5 a, body h6 a { text-decoration: none !important; }
/* 💙 記事メニューの文字:通常見出しとお揃いのミント色のフチ&光! */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {
color: #ffffff !important; text-shadow: 1px 1px 0 #a7f3d0, -1px -1px 0 #a7f3d0, 1px -1px 0 #a7f3d0, -1px 1px 0 #a7f3d0, 0px 0px 4px #a7f3d0 !important;
}
普通の文字の色(パステル系の方は灰色がおすすめ!)
/* 全体の普通の文字色を灰色にする */
#main
, #main_body, #wrapper, #container, .atwiki_body {
color: #777777 !important;
}
リンクの色変更(普通はピンク、タップしたら水色)
/* リンクの文字色(修正版:ずっと下線を残す) */
a {
a {
color: #ffb6c1 !important; /* リンク:少し薄めのピンク */ text-decoration: underline !important; /* 下線をずっとつける */
}
a:hover {
a:hover {
color: #87ceeb !important; /* マウスを乗せた時の色:水色に変更 */ text-decoration: underline !important; /* マウスを乗せた時も下線を残す */
水平線をミント色の点線、両脇にオレンジの星追加
/* 水平線(ミント色・両端にオレンジの★) */
hr {
hr {
border: none !important; border-top: 2px dashed #98fb98 !important; margin: 20px 0 !important; position: relative !important; overflow: visible !important;
}
hr::before {
hr::before {
content: "★" !important; color: #8a2be2 !important; position: absolute !important; top: -12px !important; left: 0 !important; background: #ffffff !important;
}
hr::after {
hr::after {
content: "★" !important; color: #ffa500 !important; position: absolute !important; top: -12px !important; right: 0 !important; background: #ffffff !important;
}
ハチワレ風コメントボタン
★ハチワレ風☆ 【書き込む(送信)ボタン】ピンクハチワレver!
================================================== */
input[type="submit"],
.comment_form input[type="submit"],
.comment_form input[type="submit"],
input[type="submit"],
.atwiki_comment_form input[type="submit"] {
.atwiki_comment_form input[type="submit"] {
-webkit-appearance: none;
appearance: none;
/* 左右から斜めにピンク(#ffb6c1)を敷いて、真ん中で白の「八の字」が割れるように設定! */
background:
linear-gradient(145deg, #ffb6c1 35%, transparent 35%),
linear-gradient(-145deg, #ffb6c1 35%, transparent 35%),
#ffffff !important;
color: #555555 !important; /* 文字:濃いめグレー */
font-weight: bold !important;
font-size: 16px !important;
border: 3px solid #ffb6c1 !important; /* フチも可愛いピンクに */
border-radius: 30px !important; /* ぷっくり丸いお顔の形 */
padding: 8px 24px !important;
display: inline-block !important;
cursor: pointer !important;
box-shadow: 0 4px 0px rgba(0, 0, 0, 0.1) !important; /* 優しい影 */
transition: all 0.2s ease !important;
}
/* ピンクハチワレボタンをポチッと押したとき(フチが水色に変身!) */
input[type="submit"]:hover,
.comment_form input[type="submit"]:hover,
input[type="submit"]:hover,
.comment_form input[type="submit"]:hover,
input[type="submit"]:hover,
.atwiki_comment_form input[type="submit"]:hover {
.atwiki_comment_form input[type="submit"]:hover {
transform: translateY(2px) !important; /* ポチッと沈む動き */ box-shadow: 0 2px 0px rgba(0, 0, 0, 0.1) !important; border-color: #87ceeb !important; /* ★フチを薄紫から水色に変更!★ */
}
コメントの返信ボタンのマーク顔つき★&タップされたらプニプニ
/* ========================================================
1. デフォルトの丸ポチを消して、お顔の土台を作る
======================================================== */
.comment_form input[type="radio"],
.comment_form input[type="radio"],
input[type="radio"],
[class*="comment"] input[type="radio"] {
[class*="comment"] input[type="radio"] {
-webkit-appearance: none !important; appearance: none !important; background: transparent !important; border: none !important; box-shadow: none !important; outline: none !important; position: relative !important; display: inline-block !important; width: 60px !important; height: 60px !important; cursor: pointer !important; vertical-align: middle !important; margin: 0 4px 2px 4px !important;
}
/* 💡 星マーク(☆ / ★)の設定 */
.comment_form input[type="radio"]::before,
.comment_form input[type="radio"]::before,
input[type="radio"]::before,
[class*="comment"] input[type="radio"]::before {
[class*="comment"] input[type="radio"]::before {
position: absolute !important; top: 50% !important; left: 50% !important; line-height: 1 !important; font-size: 55px !important; transform: translate(-50%, -50%) scale(1); transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease; z-index: 1 !important;
}
/* 💡 お顔のパーツ(最前面に重ねる)の設定 */
.comment_form input[type="radio"]::after,
.comment_form input[type="radio"]::after,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]::after,
[class*="comment"] input[type="radio"]::after {
[class*="comment"] input[type="radio"]::after {
position: absolute !important; top: 53% !important; /* 星の中心に合うように微調整 */ left: 50% !important; line-height: 1 !important; white-space: nowrap !important; font-size: 11px !important; font-weight: bold !important; transform: translate(-50%, -50%); z-index: 2 !important; pointer-events: none !important; transition: transform 0.06s ease-out, color 0.2s ease;
}
/* ========================================================
2. 🚀 選択前:黄色の☆の中で「ーωー」と優しく浮遊する
======================================================== */
.comment_form input[type="radio"]:not(:checked)::before,
.comment_form input[type="radio"]:not(:checked)::before,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:not(:checked)::before,
[class*="comment"] input[type="radio"]:not(:checked)::before {
[class*="comment"] input[type="radio"]:not(:checked)::before {
content: "☆" !important; color: #ffd700 !important;
}
.comment_form input[type="radio"]:not(:checked)::after,
.comment_form input[type="radio"]:not(:checked)::after,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:not(:checked)::after,
[class*="comment"] input[type="radio"]:not(:checked)::after {
[class*="comment"] input[type="radio"]:not(:checked)::after {
content: "ーωー" !important; color: #333333 !important; /* 黄色い星には黒文字 */
}
/* 全体をフワフワ浮遊させるアニメーション */
.comment_form input[type="radio"]:not(:checked),
.comment_form input[type="radio"]:not(:checked),
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:not(:checked),
[class*="comment"] input[type="radio"]:not(:checked) {
[class*="comment"] input[type="radio"]:not(:checked) {
animation: fuwafuwaUku 2.5s infinite ease-in-out !important;
}
@keyframes fuwafuwaUku {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
}
/* ========================================================
3. ⚡ タップした瞬間(アクティブ):プニッと潰れてウインク!
======================================================= */
.comment_form input[type="radio"]:active::before,
.comment_form input[type="radio"]:active::before,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:active::before,
[class*="comment"] input[type="radio"]:active::before {
[class*="comment"] input[type="radio"]:active::before {
content: "★" !important; color: #ff8c00 !important; /* オレンジ色 */ transform: translate(-50%, -30%) scale(1.6, 0.5) !important; /* 星がペチャッと潰れる */ transition: transform 0.06s ease-out;
}
.comment_form input[type="radio"]:active::after,
.comment_form input[type="radio"]:active::after,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:active::after,
[class*="comment"] input[type="radio"]:active::after {
[class*="comment"] input[type="radio"]:active::after {
content: "ーω・" !important; /* タップした瞬間ウインク! */ color: #ffffff !important; /* お顔を白に! */ transform: translate(-50%, -15%) scale(1.5, 0.6) !important; /* お顔もちょっと上寄りに潰れる */ transition: transform 0.06s ease-out;
}
/* ========================================================
4. 🎉 選択後:オレンジの★&白文字になり、1秒後に「ーωー」に戻る
======================================================== */
html body .comment_form input[type="radio"]:checked::before,
html body #pcomment input[type="radio"]:checked::before,
html body [class*="comment"] input[type="radio"]:checked::before {
html body .comment_form input[type="radio"]:checked::before,
html body #pcomment input[type="radio"]:checked::before,
html body [class*="comment"] input[type="radio"]:checked::before {
content: "★" !important; color: #ff8c00 !important;
}
html body .comment_form input[type="radio"]:checked::after,
html body #pcomment input[type="radio"]:checked::after,
html body [class*="comment"] input[type="radio"]:checked::after {
html body #pcomment input[type="radio"]:checked::after,
html body [class*="comment"] input[type="radio"]:checked::after {
color: #ffffff !important; /* 選択中はずっとお顔は白色 */ animation: winkBack 1s forwards !important;
}
@keyframes winkBack {
0% { content: "ーω・"; } /* 指を離した直後もまだびっくりウインク */
99% { content: "ーω・"; } /* 1秒直前までキープ */
100% { content: "ーωー"; } /* 1秒経ったら「ほっ」として元に戻る! */
}
願いを絶対に叶えてくれる!ゆっくり流れ星
/* ========================================================
5. 🚀【スローモーション版】右の角・左の角から交互に降る流れ星☆
======================================================== */
body {
body {
position: relative !important; overflow-x: hidden !important;
}
/* 💫 流れ星その①:【右上(北東)の角】から左下(南西)へ */
body::before {
/* 💫 流れ星その①:【右上(北東)の角】から左下(南西)へ */
body::before {
content: "★ ✦ ✦ ✦" !important; position: fixed !important; z-index: 9999 !important; font-size: 20px !important; white-space: nowrap !important; /* 先頭★は黄色、後ろの✦は水色 */ color: #ffd700 !important; text-shadow: 0 0 10px #ffd700, 30px 0 5px #87ceeb, 55px 0 5px #87ceeb, 80px 0 5px #87ceeb; /* 💡 【大成功の角度!】触らずそのままキープ */ transform: rotate(-45deg) !important; /* 💡 全体のループは4秒にして、流れる時間を2.2秒にスロー化! */ animation: nagareboshiRight 4s infinite linear !important;
}
/* 💫 流れ星その②:【左上(北西)の角】から右下(南東)へ */
body::after {
/* 💫 流れ星その②:【左上(北西)の角】から右下(南東)へ */
body::after {
content: "★ ✦ ✦ ✦" !important; position: fixed !important; z-index: 9999 !important; font-size: 20px !important; white-space: nowrap !important; /* 先頭★は黄色、後ろの✦は水色 */ color: #ffd700 !important; text-shadow: 0 0 10px #ffd700, 30px 0 5px #87ceeb, 55px 0 5px #87ceeb, 80px 0 5px #87ceeb; /* 💡 【大成功の角度!】触らずそのままキープ */ transform: rotate(225deg) !important; /* 💡 全体のループは4秒、右の星から2秒遅らせて優雅にスタート */ animation: nagareboshiLeft 4s infinite linear !important; animation-delay: 2s !important;
}
/* 🚀 右上の角から左下へゆっくり流れるルート */
@keyframes nagareboshiRight {
/* 🚀 右上の角から左下へゆっくり流れるルート */
@keyframes nagareboshiRight {
0% {
top: -50px;
right: -100px;
opacity: 0;
}
5% {
opacity: 1;
}
/* 💡 55%(2.2秒)かけて、画面の左下外へゆったり消え去るようにしたよ */
55%, 100% {
top: 95vh;
right: 115vw;
opacity: 0;
}
}
/* 🚀 左上の角から右下へゆっくり流れるルート */
@keyframes nagareboshiLeft {
/* 🚀 左上の角から右下へゆっくり流れるルート */
@keyframes nagareboshiLeft {
0% {
top: -50px;
left: -100px;
opacity: 0;
}
5% {
opacity: 1;
}
/* 💡 55%(2.2秒)かけて、画面の右下外へゆったり消え去るようにしたよ */
55%, 100% {
top: 95vh;
left: 115vw;
opacity: 0;
}
}
タブの裏側(世界の裏側)などの色変更コード(重くなりすぎて没になりました)
/* ==================================================
★世界の裏側★ 全体の背景をバッチリわかるパステルミントにする設定 ================================================== */
body, html, #wrapper, #container, .atwiki_body {
background-color: #c7f9cc !important; /* ひと目でわかる可愛いパステルミント */ background: #c7f9cc !important;
}
目次の枠線と目次内のリンク色変更コード
/* ==================================================
★目次カスタマイズ決定版★ #contents を可愛いメッセージカード風にしてリンクを水色にする設定 ================================================== */
/* 1. トップページなどの誤爆(余計な枠線)をきれいに消すお守り */
div[id*="wrapper"] div, div[id*="container"] div, main div, .atwiki_body div {
div[id*="wrapper"] div, div[id*="container"] div, main div, .atwiki_body div {
background-color: transparent; border: none; box-shadow: none;
}
/* 2. 本物の目次プラグインの枠だけを、ピンクの点線カード風にする */
div.atwiki_contents, ul.contents, div.contents, .plugin_contents {
/* 2. 本物の目次プラグインの枠だけを、ピンクの点線カード風にする */
div.atwiki_contents, ul.contents, div.contents, .plugin_contents {
background-color: #ffffff !important; border: 2px dashed #ffb6c1 !important; /* ピンクの点線フチ */ border-radius: 12px !important; /* 角丸 */ padding: 15px 20px !important; /* 内側の余白 */ display: inline-block !important; /* 横幅を中身に合わせる */ min-width: 250px !important; /* 最低限の横幅 */ box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.05) !important; /* ほんのり影 */
}
/* 3. 目次の中のタイトル(「目次」という文字) */
.contents_title, [class*="contents_title"] {
/* 3. 目次の中のタイトル(「目次」という文字) */
.contents_title, [class*="contents_title"] {
font-weight: bold !important; color: #e0b0ff !important; /* 文字色:薄紫 */ font-size: 1.1em !important; border-bottom: 2px solid #87ceeb !important; /* タイトルの下の線:水色 */ padding-bottom: 4px !important; margin-bottom: 10px !important;
}
/* 4. 本当の目次の枠の中のリンクだけ水色(下線あり)→タップでピンク */
div.atwiki_contents a, ul.contents a, div.contents a, .plugin_contents a {
/* 4. 本当の目次の枠の中のリンクだけ水色(下線あり)→タップでピンク */
div.atwiki_contents a, ul.contents a, div.contents a, .plugin_contents a {
color: #87ceeb !important; /* 最初は水色 */ text-decoration: underline !important;
}
div.atwiki_contents a:hover, ul.contents a:hover, div.contents a:hover, .plugin_contents a:hover {
div.atwiki_contents a:hover, ul.contents a:hover, div.contents a:hover, .plugin_contents a:hover {
color: #ffb6c1 !important; /* タップでピンク */ text-decoration: underline !important;
}
フォント&サイズ&太さ変更/* アットウィキが裏で数字やリストを小さくしている設定をすべて102%に強制統一 */
body, div, span, p, a, li, dt, dd, td, th, h1, h2, h3, h4, h5, h6,
.num, .number, .count, .digits, [class*="num"], [id*="num"],
ol li, ul li, .list, .plugin_list {
.num, .number, .count, .digits, [class*="num"], [id*="num"],
ol li, ul li, .list, .plugin_list {
font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "HG丸ゴシックM-PRO", "Kosugi Maru", sans-serif !important; font-size: 102% !important; font-weight: 500 !important;
}
文字のフォント&サイズ&太さ変更(おすすめの大きさは100%)/* アットウィキが裏で数字やリストを小さくしている設定をすべて102%に強制統一 */
/* アットウィキが裏で数字やリストを小さくしている設定をすべて102%に強制統一 */
body, div, span, p, a, li, dt, dd, td, th, h1, h2, h3, h4, h5, h6,
.num, .number, .count, .digits, [class*="num"], [id*="num"],
ol li, ul li, .list, .plugin_list {
body, div, span, p, a, li, dt, dd, td, th, h1, h2, h3, h4, h5, h6,
.num, .number, .count, .digits, [class*="num"], [id*="num"],
ol li, ul li, .list, .plugin_list {
font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "HG丸ゴシックM-PRO", "Kosugi Maru", sans-serif !important; font-size: 102% !important; font-weight: 500 !important;
}
コメントの「返信○件」の色変更(薄紫)
/* ==========================================
【決定版】「返信〇件」をボタンとお揃いの薄紫にする
========================================== */
.comment_form span, #pcomment span,
.comment_form dt, #pcomment dt,
.comment_tree, .comment_reply,
[class*="reply"], [id*="reply"] {
.comment_form span, #pcomment span,
.comment_form dt, #pcomment dt,
.comment_tree, .comment_reply,
[class*="reply"], [id*="reply"] {
color: #e0b0ff !important; /* ボタンや水平線とお揃いの薄紫 */ font-weight: bold !important; /* 文字を少し太く */
}
/* マウスを乗せたとき(少しだけ濃い薄紫になって押しやすく) */
.comment_tree:hover, .comment_reply:hover,
[class*="reply"]:hover, [id*="reply"]:hover {
/* マウスを乗せたとき(少しだけ濃い薄紫になって押しやすく) */
.comment_tree:hover, .comment_reply:hover,
[class*="reply"]:hover, [id*="reply"]:hover {
color: #c896e6 !important;
}
コメントの書き込み欄変更
/* ==========================================
コメントフォーム入力欄(中は白・外側と影をミント仕様に)
========================================== */
textarea,
input[type="text"] {
textarea,
input[type="text"] {
-webkit-appearance: none !important; appearance: none !important; background-color: #ffffff !important; /* 文字を書く中身は白! */ color: #333333 !important; /* 文字色 */ border: 2px solid #b2dfdb !important; /* 枠線を可愛いミント色に */ border-radius: 8px !important; /* 角丸 */ padding: 8px 12px !important; font-size: 16px !important; box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1) !important; /* ボタンとお揃いの立体影 */ transition: all 0.3s ease !important;
}
/* 入力欄をカチッと選択したとき */
textarea:focus,
input[type="text"]:focus {
textarea:focus,
input[type="text"]:focus {
outline: none !important; border-color: #80cbc4 !important; /* フォーカス時に枠線のミントを少し濃く */ background-color: #ffffff !important; /* 入力中も白をキープ */
}
テーブル線、投票の枠線色変更
/* ==========================================
投票プラグイン&テーブルの枠線をココアベージュに
========================================== */
/* 1. 投票の枠線と中の区切り線 */
.plugin_vote,
.plugin_vote table,
.plugin_vote td,
.plugin_vote th {
/* 1. 投票の枠線と中の区切り線 */
.plugin_vote,
.plugin_vote table,
.plugin_vote td,
.plugin_vote th {
border-color: #d7beb0 !important; /* ふんわり優しいココアベージュ */
}
/* 2. 通常のテーブル(表)の枠線 */
table, th, td,
.atwiki-table,
.atwiki-table th,
.atwiki-table td {
/* 2. 通常のテーブル(表)の枠線 */
table, th, td,
.atwiki-table,
.atwiki-table th,
.atwiki-table td {
border: 1px solid #d7beb0 !important; /* 全てのテーブルの線をこの色に */
}
/* (おまけ)テーブルの見出し部分の背景 */
th, .atwiki-table th {
/* (おまけ)テーブルの見出し部分の背景 */
th, .atwiki-table th {
background-color: #faf6f4 !important; /* ほんのり色づく薄いベージュ */ color: #9c7a6b !important; /* 文字は読みやすいように少しだけ濃いめの茶色 */
}
×スマイル!×【公式】のCSSコードを全部使いたい場合(エラーになってるのでここだけ編集画面にして、コピーしてください)
ここから下の文字は全てコードです!
/* ==========================================
【決定版】「返信〇件」をボタンとお揃いの薄紫にする
========================================== */
.comment_form span, #pcomment span,
.comment_form dt, #pcomment dt,
.comment_tree, .comment_reply,
[class*="reply"], [id*="reply"] {
.comment_form span, #pcomment span,
.comment_form dt, #pcomment dt,
.comment_tree, .comment_reply,
[class*="reply"], [id*="reply"] {
color: #e0b0ff !important; /* ボタンや水平線とお揃いの薄紫 */ font-weight: bold !important; /* 文字を少し太く */
}
/* マウスを乗せたとき(少しだけ濃い薄紫になって押しやすく) */
.comment_tree:hover, .comment_reply:hover,
[class*="reply"]:hover, [id*="reply"]:hover {
.comment_tree:hover, .comment_reply:hover,
[class*="reply"]:hover, [id*="reply"]:hover {
color: #c896e6 !important;
}
/* アットウィキが裏で数字やリストを小さくしている設定をすべて102%に強制統一 */
body, div, span, p, a, li, dt, dd, td, th, h1, h2, h3, h4, h5, h6,
.num, .number, .count, .digits, [class*="num"], [id*="num"],
ol li, ul li, .list, .plugin_list {
body, div, span, p, a, li, dt, dd, td, th, h1, h2, h3, h4, h5, h6,
.num, .number, .count, .digits, [class*="num"], [id*="num"],
ol li, ul li, .list, .plugin_list {
font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "HG丸ゴシックM-PRO", "Kosugi Maru", sans-serif !important;
font-size: 102% !important;
font-weight: 500 !important;
font-size: 102% !important;
font-weight: 500 !important;
}
/* ========================================================
1. デフォルトの丸ポチを消して、お顔の土台を作る
======================================================== */
.comment_form input[type="radio"],
.comment_form input[type="radio"],
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"],
[class*="comment"] input[type="radio"] {
[class*="comment"] input[type="radio"] {
- webkit-appearance: none !important;
appearance: none !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
outline: none !important;
position: relative !important;
display: inline-block !important;
width: 60px !important;
height: 60px !important;
cursor: pointer !important;
vertical-align: middle !important;
margin: 0 4px 2px 4px !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
outline: none !important;
position: relative !important;
display: inline-block !important;
width: 60px !important;
height: 60px !important;
cursor: pointer !important;
vertical-align: middle !important;
margin: 0 4px 2px 4px !important;
}
/* 💡 星マーク(☆ / ★)の設定 */
.comment_form input[type="radio"]::before,
.comment_form input[type="radio"]::before,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]::before,
[class*="comment"] input[type="radio"]::before {
[class*="comment"] input[type="radio"]::before {
position: absolute !important;
top: 50% !important;
left: 50% !important;
line-height: 1 !important;
font-size: 55px !important;
transform: translate(-50%, -50%) scale(1);
transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
z-index: 1 !important;
top: 50% !important;
left: 50% !important;
line-height: 1 !important;
font-size: 55px !important;
transform: translate(-50%, -50%) scale(1);
transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
z-index: 1 !important;
}
/* 💡 お顔のパーツ(最前面に重ねる)の設定 */
.comment_form input[type="radio"]::after,
.comment_form input[type="radio"]::after,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]::after,
[class*="comment"] input[type="radio"]::after {
[class*="comment"] input[type="radio"]::after {
position: absolute !important;
top: 53% !important; /* 星の中心に合うように微調整 */
left: 50% !important;
line-height: 1 !important;
white-space: nowrap !important;
font-size: 11px !important;
font-weight: bold !important;
transform: translate(-50%, -50%);
z-index: 2 !important;
pointer-events: none !important;
transition: transform 0.06s ease-out, color 0.2s ease;
top: 53% !important; /* 星の中心に合うように微調整 */
left: 50% !important;
line-height: 1 !important;
white-space: nowrap !important;
font-size: 11px !important;
font-weight: bold !important;
transform: translate(-50%, -50%);
z-index: 2 !important;
pointer-events: none !important;
transition: transform 0.06s ease-out, color 0.2s ease;
}
/* ========================================================
2. 🚀 選択前:黄色の☆の中で「ーωー」と優しく浮遊する
======================================================== */
.comment_form input[type="radio"]:not(:checked)::before,
.comment_form input[type="radio"]:not(:checked)::before,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:not(:checked)::before,
[class*="comment"] input[type="radio"]:not(:checked)::before {
[class*="comment"] input[type="radio"]:not(:checked)::before {
content: "☆" !important;
color: #ffd700 !important;
color: #ffd700 !important;
}
.comment_form input[type="radio"]:not(:checked)::after,
.comment_form input[type="radio"]:not(:checked)::after,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:not(:checked)::after,
[class*="comment"] input[type="radio"]:not(:checked)::after {
[class*="comment"] input[type="radio"]:not(:checked)::after {
content: "ーωー" !important;
color: #333333 !important; /* 黄色い星には黒文字 */
color: #333333 !important; /* 黄色い星には黒文字 */
}
/* 全体をフワフワ浮遊させるアニメーション */
.comment_form input[type="radio"]:not(:checked),
.comment_form input[type="radio"]:not(:checked),
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:not(:checked),
[class*="comment"] input[type="radio"]:not(:checked) {
[class*="comment"] input[type="radio"]:not(:checked) {
animation: fuwafuwaUku 2.5s infinite ease-in-out !important;
}
@keyframes fuwafuwaUku {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
50% { transform: translateY(-6px); }
}
/* ========================================================
3. ⚡ タップした瞬間(アクティブ):プニッと潰れてウインク!
======================================================= */
.comment_form input[type="radio"]:active::before,
.comment_form input[type="radio"]:active::before,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:active::before,
[class*="comment"] input[type="radio"]:active::before {
[class*="comment"] input[type="radio"]:active::before {
content: "★" !important;
color: #ff8c00 !important; /* オレンジ色 */
transform: translate(-50%, -30%) scale(1.6, 0.5) !important; /* 星がペチャッと潰れる */
transition: transform 0.06s ease-out;
color: #ff8c00 !important; /* オレンジ色 */
transform: translate(-50%, -30%) scale(1.6, 0.5) !important; /* 星がペチャッと潰れる */
transition: transform 0.06s ease-out;
}
.comment_form input[type="radio"]:active::after,
.comment_form input[type="radio"]:active::after,
pluginエラー: pcommentは1ページに3つしか使えません。
input[type="radio"]:active::after,
[class*="comment"] input[type="radio"]:active::after {
[class*="comment"] input[type="radio"]:active::after {
content: "ーω・" !important; /* タップした瞬間ウインク! */
color: #ffffff !important; /* お顔を白に! */
transform: translate(-50%, -15%) scale(1.5, 0.6) !important; /* お顔もちょっと上寄りに潰れる */
transition: transform 0.06s ease-out;
color: #ffffff !important; /* お顔を白に! */
transform: translate(-50%, -15%) scale(1.5, 0.6) !important; /* お顔もちょっと上寄りに潰れる */
transition: transform 0.06s ease-out;
}
/* ========================================================
4. 🎉 選択後:オレンジの★&白文字になり、1秒後に「ーωー」に戻る
======================================================== */
html body .comment_form input[type="radio"]:checked::before,
html body #pcomment input[type="radio"]:checked::before,
html body [class*="comment"] input[type="radio"]:checked::before {
html body .comment_form input[type="radio"]:checked::before,
html body #pcomment input[type="radio"]:checked::before,
html body [class*="comment"] input[type="radio"]:checked::before {
content: "★" !important;
color: #ff8c00 !important;
color: #ff8c00 !important;
}
html body .comment_form input[type="radio"]:checked::after,
html body #pcomment input[type="radio"]:checked::after,
html body [class*="comment"] input[type="radio"]:checked::after {
html body #pcomment input[type="radio"]:checked::after,
html body [class*="comment"] input[type="radio"]:checked::after {
color: #ffffff !important; /* 選択中はずっとお顔は白色 */
animation: winkBack 1s forwards !important;
animation: winkBack 1s forwards !important;
}
@keyframes winkBack {
0% { content: "ーω・"; } /* 指を離した直後もまだびっくりウインク */
99% { content: "ーω・"; } /* 1秒直前までキープ */
100% { content: "ーωー"; } /* 1秒経ったら「ほっ」として元に戻る! */
99% { content: "ーω・"; } /* 1秒直前までキープ */
100% { content: "ーωー"; } /* 1秒経ったら「ほっ」として元に戻る! */
}
/* ========================================================
5. 🚀【スローモーション版】右の角・左の角から交互に降る流れ星☆
======================================================== */
body {
5. 🚀【スローモーション版】右の角・左の角から交互に降る流れ星☆
======================================================== */
body {
position: relative !important;
overflow-x: hidden !important;
overflow-x: hidden !important;
}
/* 💫 流れ星その①:【右上(北東)の角】から左下(南西)へ */
body::before {
body::before {
content: "★ ✦ ✦ ✦" !important;
position: fixed !important;
z-index: 9999 !important;
font-size: 20px !important;
white-space: nowrap !important;
position: fixed !important;
z-index: 9999 !important;
font-size: 20px !important;
white-space: nowrap !important;
/* 先頭★は黄色、後ろの✦は水色 */
color: #ffd700 !important;
text-shadow:
color: #ffd700 !important;
text-shadow:
0 0 10px #ffd700, 30px 0 5px #87ceeb, 55px 0 5px #87ceeb, 80px 0 5px #87ceeb;
/* 💡 【大成功の角度!】触らずそのままキープ */
transform: rotate(-45deg) !important;
transform: rotate(-45deg) !important;
/* 💡 全体のループは4秒にして、流れる時間を2.2秒にスロー化! */
animation: nagareboshiRight 4s infinite linear !important;
animation: nagareboshiRight 4s infinite linear !important;
}
/* 💫 流れ星その②:【左上(北西)の角】から右下(南東)へ */
body::after {
body::after {
content: "★ ✦ ✦ ✦" !important;
position: fixed !important;
z-index: 9999 !important;
font-size: 20px !important;
white-space: nowrap !important;
position: fixed !important;
z-index: 9999 !important;
font-size: 20px !important;
white-space: nowrap !important;
/* 先頭★は黄色、後ろの✦は水色 */
color: #ffd700 !important;
text-shadow:
color: #ffd700 !important;
text-shadow:
0 0 10px #ffd700, 30px 0 5px #87ceeb, 55px 0 5px #87ceeb, 80px 0 5px #87ceeb;
/* 💡 【大成功の角度!】触らずそのままキープ */
transform: rotate(225deg) !important;
transform: rotate(225deg) !important;
/* 💡 全体のループは4秒、右の星から2秒遅らせて優雅にスタート */
animation: nagareboshiLeft 4s infinite linear !important;
animation-delay: 2s !important;
animation: nagareboshiLeft 4s infinite linear !important;
animation-delay: 2s !important;
}
/* 🚀 右上の角から左下へゆっくり流れるルート */
@keyframes nagareboshiRight {
@keyframes nagareboshiRight {
0% {
top: -50px; right: -100px; opacity: 0;
}
5% {
5% {
opacity: 1;
}
/* 💡 55%(2.2秒)かけて、画面の左下外へゆったり消え去るようにしたよ */
55%, 100% {
/* 💡 55%(2.2秒)かけて、画面の左下外へゆったり消え去るようにしたよ */
55%, 100% {
top: 95vh; right: 115vw; opacity: 0;
}
}
/* 🚀 左上の角から右下へゆっくり流れるルート */
@keyframes nagareboshiLeft {
@keyframes nagareboshiLeft {
0% {
top: -50px; left: -100px; opacity: 0;
}
5% {
5% {
opacity: 1;
}
/* 💡 55%(2.2秒)かけて、画面の右下外へゆったり消え去るようにしたよ */
55%, 100% {
/* 💡 55%(2.2秒)かけて、画面の右下外へゆったり消え去るようにしたよ */
55%, 100% {
top: 95vh; left: 115vw; opacity: 0;
}
}
/* ==========================================
コメントフォーム入力欄(中は白・外側と影をミント仕様に)
========================================== */
textarea,
input[type="text"] {
textarea,
input[type="text"] {
-webkit-appearance: none !important; appearance: none !important; background-color: #ffffff !important; /* 文字を書く中身は白! */ color: #333333 !important; /* 文字色 */ border: 2px solid #b2dfdb !important; /* 枠線を可愛いミント色に */ border-radius: 8px !important; /* 角丸 */ padding: 8px 12px !important; font-size: 16px !important; box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1) !important; /* ボタンとお揃いの立体影 */ transition: all 0.3s ease !important;
}
/* 入力欄をカチッと選択したとき */
textarea:focus,
input[type="text"]:focus {
textarea:focus,
input[type="text"]:focus {
outline: none !important; border-color: #80cbc4 !important; /* フォーカス時に枠線のミントを少し濃く */ background-color: #ffffff !important; /* 入力中も白をキープ */
}
/* ==========================================
コメントボタン(ゆっくり沈む立体仕様)
========================================== */
input[type="button"],
input[type="submit"] {
input[type="button"],
input[type="submit"] {
-webkit-appearance: none !important; appearance: none !important; background-color: #e0b0ff !important; color: #ffffff !important; border: 2px solid #ffb6c1 !important; border-bottom: 4px solid #87ceeb !important; border-radius: 24px !important; font-weight: bold !important; padding: 8px 24px 6px 24px !important; font-size: 16px !important; cursor: pointer !important; box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1) !important; transition: all 0.3s ease !important; position: relative !important; top: 0 !important;
}
/* マウスを乗せたとき(少し沈む) */
input[type="button"]:hover,
input[type="submit"]:hover {
input[type="button"]:hover,
input[type="submit"]:hover {
top: 2px !important; border-bottom: 2px solid #87ceeb !important; box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1) !important;
}
/* クリックした瞬間(完全に沈む) */
input[type="button"]:active,
input[type="submit"]:active {
input[type="button"]:active,
input[type="submit"]:active {
top: 4px !important; border-bottom: 0px solid #87ceeb !important; box-shadow: 0px 0px 0px rgba(0, 0, 0, 0) !important;
}
/* 4. 普通のリンクの設定 */
a { color: #ffb6c1 !important; text-decoration: underline !important; font-size: 1.1em !important; font-weight: bold !important; }
a:hover { color: #87ceeb !important; text-decoration: underline !important; }
a { color: #ffb6c1 !important; text-decoration: underline !important; font-size: 1.1em !important; font-weight: bold !important; }
a:hover { color: #87ceeb !important; text-decoration: underline !important; }
/* 5. 目次カスタマイズ(#contents) */
div[id*="wrapper"] div, div[id*="container"] div, main div, .atwiki_body div { background-color: transparent; border: none; box-shadow: none; }
div.atwiki_contents, ul.contents, div.contents, .plugin_contents {
div[id*="wrapper"] div, div[id*="container"] div, main div, .atwiki_body div { background-color: transparent; border: none; box-shadow: none; }
div.atwiki_contents, ul.contents, div.contents, .plugin_contents {
background-color: #ffffff !important; border: 2px dashed #e0b0ff !important; border-radius: 12px !important; padding: 15px 20px !important; display: inline-block !important; min-width: 250px !important; box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.05) !important;
}
.contents_title, [class*="contents_title"] { font-weight: bold !important; color: #ffb6c1 !important; font-size: 1.1em !important; border-bottom: 2px solid #87ceeb !important; padding-bottom: 4px !important; margin-bottom: 10px !important; }
div.atwiki_contents a, ul.contents a, div.contents a, .plugin_contents a { color: #87ceeb !important; text-decoration: underline !important; }
div.atwiki_contents a:hover, ul.contents a:hover, div.contents a:hover, .plugin_contents a:hover { color: #ffb6c1 !important; text-decoration: underline !important; }
.contents_title, [class*="contents_title"] { font-weight: bold !important; color: #ffb6c1 !important; font-size: 1.1em !important; border-bottom: 2px solid #87ceeb !important; padding-bottom: 4px !important; margin-bottom: 10px !important; }
div.atwiki_contents a, ul.contents a, div.contents a, .plugin_contents a { color: #87ceeb !important; text-decoration: underline !important; }
div.atwiki_contents a:hover, ul.contents a:hover, div.contents a:hover, .plugin_contents a:hover { color: #ffb6c1 !important; text-decoration: underline !important; }
/* 水平線(すっきり薄紫ステッチ風) */
hr {
hr {
border: none !important; border-top: 2px dashed #e0b0ff !important; /* 薄紫の可愛い縫い目 */ margin: 20px 0;
}
/* 7. オンライン人数のカラー設定 */
p:has(span.atwiki_online_user), div:has(span.atwiki_online_user), li:has(span.atwiki_online_user) { color: #ff69b4 !important; }
span.atwiki_online_user { color: #e0b0ff !important; }
span.atwiki_online_user ~ span, span.atwiki_online_user ~ font, span.atwiki_online_user ~ strong { color: #87ceeb !important; }
p:has(span.atwiki_online_user) { font-weight: bold; }
p:has(span.atwiki_online_user), div:has(span.atwiki_online_user), li:has(span.atwiki_online_user) { color: #ff69b4 !important; }
span.atwiki_online_user { color: #e0b0ff !important; }
span.atwiki_online_user ~ span, span.atwiki_online_user ~ font, span.atwiki_online_user ~ strong { color: #87ceeb !important; }
p:has(span.atwiki_online_user) { font-weight: bold; }
/* ========================================================
8. 【ミント盛り版】めちゃかわネオ・パステル見出し
======================================================== */
/* 🌟 通常の見出し:マカロンみたいに丸くて立体的な3Dボックス */
h1, h2, h3, h4, h5, h6, #header h1, #sitename {
h1, h2, h3, h4, h5, h6, #header h1, #sitename {
border: none !important; display: block !important; /* 💡 立体的な影をミントのトーンに合わせて可愛くしたよ! */ box-shadow: 0 4px 0px #bae6fd, 4px 6px 10px rgba(167, 243, 208, 0.4) !important; padding: 10px 18px !important; border-radius: 10px !important; /* なめらかで可愛い丸み */ position: relative !important; width: 100% !important; box-sizing: border-box !important; background-color: #7dd3fc !important; /* 🩵のきらきらパステル水色 */ margin-bottom: 15px !important;
}
/* 🌟 記事メニューの見出し:白い角が出ない安全サイズ & 統一感のある紫3D */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {
border: none !important; display: block !important; box-shadow: 0 4px 0px #dda0dd, 4px 6px 10px rgba(224, 176, 255, 0.3) !important; padding: 10px 15px !important; border-radius: 4px !important; /* 記事メニューは安全な4pxをキープ! */ position: relative !important; width: 100% !important; box-sizing: border-box !important; background-color: #e0b0ff !important; /* 優しいパステル薄紫 */ margin-bottom: 0px !important; overflow: hidden !important; font-size: 16px !important;
}
/* 💡 見出しレベルのサイズ */
h1, #header h1 { font-size: 24px !important; }
h2 { font-size: 20px !important; }
h3 { font-size: 18px !important; }
h4, h5, h6 { font-size: 16px !important; }
h1, #header h1 { font-size: 24px !important; }
h2 { font-size: 20px !important; }
h3 { font-size: 18px !important; }
h4, h5, h6 { font-size: 16px !important; }
/* 💖 通常見出しの文字:白文字 ➔ ミント色のパキッとしたフチ取り ➔ 外側にミントの光! */
body h1, body h2, body h3, body h4, body h5, body h6, #header h1, #header h1 a, #sitename, #sitename a, .atwiki-content h3, #atwiki-body h3, #menubar h3, #side h3 {
body h1, body h2, body h3, body h4, body h5, body h6, #header h1, #header h1 a, #sitename, #sitename a, .atwiki-content h3, #atwiki-body h3, #menubar h3, #side h3 {
color: #ffffff !important; /* 💡 1px〜-1pxの指定で綺麗なミント色の「フチ取り」を作りつつ、最後の3pxぼかしで「フワッとした光」を表現! */ text-shadow: 1px 1px 0 #a7f3d0, -1px -1px 0 #a7f3d0, 1px -1px 0 #a7f3d0, -1px 1px 0 #a7f3d0, 0px 0px 4px #a7f3d0 !important;
}
body h1 a, body h2 a, body h3 a, body h4 a, body h5 a, body h6 a { text-decoration: none !important; }
body h1 a, body h2 a, body h3 a, body h4 a, body h5 a, body h6 a { text-decoration: none !important; }
/* 💙 記事メニューの文字:通常見出しとお揃いのミント色のフチ&光! */
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {
.atwiki-list-title, .atwiki-list2-title, .atwiki_list2_title {
color: #ffffff !important; text-shadow: 1px 1px 0 #a7f3d0, -1px -1px 0 #a7f3d0, 1px -1px 0 #a7f3d0, -1px 1px 0 #a7f3d0, 0px 0px 4px #a7f3d0 !important;
}
/* 9. 広々版(修正リベンジ版!) */
.atwiki-list-body, .atwiki_list_body, .atwiki-list-title + ul, div:has(> .atwiki-list-title) ul,
.atwiki-list-body2, .atwiki_list_body2, .atwiki-list-title2 + ul, div:has(> .atwiki-list-title2) ul {
.atwiki-list-body, .atwiki_list_body, .atwiki-list-title + ul, div:has(> .atwiki-list-title) ul,
.atwiki-list-body2, .atwiki_list_body2, .atwiki-list-title2 + ul, div:has(> .atwiki-list-title2) ul {
background-color: #f0faff !important; border: 1px solid #e0b0ff !important; border-top: none !important; padding: 15px 20px !important; border-radius: 0 0 6px 6px !important; box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.05) !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
}
コメント欄
- 他にもこういうコードがあったら載せといてほしいという希望をコメントしてね! -- ×スマイル!×【公式】 (2026-07-31 09:20:27)
- 参考にしました!とか書いた方がいいですか? -- ゆめカフェ (2026-08-08 08:54:17)
- 旅行で返信遅れました!スミマセン で、参考のことは書かなかったり、書いたりでご自由にどーぞ! -- ×スマイル!×【公式】 (2026-08-11 14:53:13)