テンプレート を編集
戻る
menu-all
▲
▼
リンクを挿入
保存する
テンプレートとなんか基本的なstyleである。誰でも勝手に使っていいby ms0101 <!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> body { font-family: 'メイリオ', Meiryo, sans-serif; line-height: 1.7; color: #f0f0f0; background-color:black; max-width: 960px; margin: 40px auto; padding: 0 25px; } h1 { font-size: 3em; background: linear-gradient(to right, #ffe500, #ffe500); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-align: center; margin-bottom: 10px; } h3 { font-size: 1.6em; color: #ccc; text-align: center; margin-bottom: 30px; font-weight: normal; } p { font-size: 1.1em; margin-bottom: 1.2em; text-align: justify; background-color: rgba(255, 255, 255, 0.05); padding: 15px 20px; border-radius: 8px; border-left: 4px solid #ffe500; } strong { color: #ffe500; } h2 { font-size: 1.8em; color: #ffe500; margin-top: 40px; border-bottom: 2px solid #ffe500; padding-bottom: 5px; } ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; margin-top: 30px; } ul li { background: #1e1e1e; border-left: 5px solid #ffe500; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.4); transition: transform 0.2s ease, box-shadow 0.2s ease; } ul li:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.6); } ul li a { text-decoration: none; color: #ffe500; font-weight: bold; font-size: 1.1em; display: block; } ul li a:hover { text-decoration: underline; color: #ffe500; } @media (max-width: 600px) { body { padding: 10px; margin: 20px auto; } h1 { font-size: 2.2em; } h3 { font-size: 1.3em; } ul { grid-template-columns: 1fr; } } </style> </head> <body> <h1>大見出し1</h1> <h3>小見出し1</h3> <p>本文1</p> <p>本文2</p> <h2>小見出し2</h2> <ul> <li><a href="/dictionary/単語1">単語1</a></li> <li><a href="/dictionary/単語2">単語2</a></li> <li><a href="/dictionary/単語3">単語3</a></li> <li><a href="/dictionary/単語4">単語4</a></li> <li><a href="/dictionary/単語5">単語5</a></li> <li><a href="/dictionary/単語6">単語6</a></li> <li><a href="/dictionary/単語7">単語7</a></li> <li><a href="/dictionary/単語8">単語8</a></li> <li><a href="/dictionary/単語9">単語9</a></li> <li><a href="/dictionary/単語A">単語A</a></li> <li><a href="/dictionary/単語B">単語B</a></li> </ul> <h3>関連項目</h3> <p> <a href="/dictionary/項目1">項目1</a> <br> <a href="/dictionary/項目2">項目2</a> <br> <a href="/dictionary/項目3">項目3</a><br> <a href="/dictionary/項目4">項目4</a><br> <a href="/dictionary/項目5">項目5</a><br> <a href="/dictionary/項目6">項目6</a></p> </body> </html>
リンクを挿入
例えば「まきこ」を引用する場合は
「まきこ」と入力してください。
挿入する
キャンセル