サイトの見た目をいじる †
完成品 さくっと導入したい人向け †Chrome版のStylishではnamespaceの指定は不要なのでCSSコードをそのまま記述してセーブしましょう。 実用的なもの †
@namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("notarejini.orz.hm") { /* 文字組みのマージンを2文字分とる 行間を広めに取る*/ pre, dl, ol, p, blockquote, memo{ margin-left: 2em!important; line-height:160%!important; } ul { line-height:160%!important; margin-bottom:0.5em; margin-top:0.5em; text-align:left; } /* IE対策 */ div.ie5 { text-align:left!important; } /* テーブルを左寄せにして背景色を無効に */ .style_table { margin-left:2%!important; background-color:inherit!important; } .style_td { background-color:inherit!important; } } 三点リーダーが...となるのを防ぐ †div{ font-family:"メイリオ","Meiryo","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","MS Pゴシック", "MS P Gothic","Osaka", Verdana,Arial, Helvetica, sans-serif;!important } 全体的に真っ白になって目が疲れる人は †
破線で囲う †.list2, list1, list3 { -moz-border-radius: 10px; border-top:3px dashed #c8ebf9; border-left:3px dashed #c8ebf9; border-right:3px dashed #c8ebf9; border-bottom:3px dashed #c8ebf9; } 罫線をいれる †
罫線 Div要素をコンテンツ内容に応じて適用させる †
div { width: -moz-fit-content; } コメントを見やすく †.list1 ul { -moz-border-radius: 10px; margin: 1em; padding: 1px; background:white; border-bottom-width:3px; } .list2 li{ -moz-border-radius: 10px; padding: 1px; margin: 1em; background:white; border-bottom-width:0px; } .list3 li{ -moz-border-radius: 10px; margin: 1em; list-style-type: decimal; background:#F6F6F6; border-bottom-width:0px; } 奇数行に色付け †.list3 li:nth-child(odd) { background-color: #f2ffff; } コメントを横並びにする †
最新60件をナンバリング †div#menubar ul li{ list-style-type: decimal; margin-left: 16px; } menu幅をひろげる †#menubar { width:200px!important; } ロダ2を見やすく †ページメニューを下に持ってゆきます。 .bline{ display:table-footer-group; } table{ display:table-header-group; } 日付を消します †span.comment_date { display: none; } 検索フォームをメニューから右上に移動 †div#menubar ul li form{ position: absolute; z-index: 1; top: 1em; right: 0; width: 25%; opacity: 0.8; font-size: 10px; display: table-cell; } 合わせるとこうなる †背景画像 †
body{ background-image: url(file:c:/bg/headbg.jpg)!important; /* 繰り返し表示をしない */ background-repeat: no-repeat; /* 画像に合わせて背景色を */ background-color:#F9F9F9!important; } } 要素を半透明にするときは opacity: 0.5; をくわえましょう トマトづくし †div#body{ background-image: url(http://notarejini.orz.hm/up3/img/exp000916.png)!important; } |