もっとしつこく
前々回のエントリで書いたmammo.tvのインタビュー用のCSSですが、URLの適用範囲をコラムにも広げて使いまわせないか考えてみました。
@-moz-document url-prefix("http://www.mammo.tv/interview/archives/no"), regexp("http://www.mammo.tv/column/(.*)profile.html"), regexp("http://www.mammo.tv/column/(.*)backnumber.html"), regexp("http://www.mammo.tv/column/(.*)20(.*).html") { .column_left {display:none;} #pageleft {display:none;} .column_right {width:750px !important;} #bg1 {background: #f0f0e6 !important;} #pgup{display:none;} }
こちらを参考にやってみました。本来はhttp://www.mammo.tv/column/(.*).htmlとシンプルに条件をまとめたかったのですが、これだとhttp://www.mammo.tv/column/index.htmlでデザインが崩れるので泣く泣くこうしました。よい案をお持ちの方は、是非教えてください。