MediaWiki:Common.css

出自均優學習論壇共筆
於 2023年8月15日 (二) 05:00 由 林芸伍討論 | 貢獻 所做的修訂
跳至導覽 跳至搜尋

注意:在您儲存之後您必須清除瀏覽器快取才可看到最新的變更。

  • Firefox / Safari:按住 Shift 時點選 重新整理,或按 Ctrl-F5Ctrl-R (Mac 則為 ⌘-R)
  • Google Chrome:Ctrl-Shift-R (Mac 則為 ⌘-Shift-R)
  • Internet Explorer:按住 Ctrl 時點選 重新整理,或按 Ctrl-F5
  • Opera:前往 選單 → 設定 (在 Mac 為 Opera → 偏好設定) 然後再到 隱私 & 安全性 → 清除瀏覽資料 → 已快取的圖片與檔案
table.nicetable {border:1px solid black;border-collapse:collapse;}
table.nicetable td {border:1px solid black;border-collapse:collapse;padding: 0.3em 0.5em;}
table.nicetable th {border:1px solid black;border-collapse:collapse;font-weight:normal;}

/* 條文 */
.law-content .row {padding:8px 0; overflow:hidden;}
.law-content .row:last-child{border-bottom:none;}
.law-content .row:hover{color:#000;}
.law-content .row > .col-no{float:left;width:8em;white-space:nowrap;padding-right:8px;line-height: 170%;text-align:right;margin-right: 1em;}
.law-content .row > .col-fun{float:left;width:12em;white-space:nowrap;padding-right:8px;line-height: 170%;}
.law-content .row > .col-fun2 {float: left;width: 19em;white-space: nowrap;padding-right: 8px;line-height: 170%;}
.law-content .row > .col-data{float:none;width:auto;/*overflow:hidden;*/overflow:auto;}/*自動縮放寬度*/
.law-content .row > .col-data > .text-danger{padding-left: 2em;}
@media print {
.law-content .row {display:table;}
.law-content .row > .col-no , .law-content .row > .col-data{display:table-cell; vertical-align:top;}
}
.law-content .h3{font-size:1em; margin:0; padding:8px 0; font-weight:800; text-align:left; line-height:130%; text-indent:-4.5em; margin-left:4.5em;}
.law-content .char-2{padding-left:3em;}
.law-content .char-3{padding-left:6em;}
.law-content .char-4{padding-left:9em;}
.law-content .char-5{padding-left:12em;}
.law-content .char-6{padding-left:15em;}
/* 沿革 */
.law-history .row {border-bottom:1px dotted #367979;}
.btnNowOrHistory {float:left; margin-right:40px;}

/* 條文內容 */
.text-pre {white-space: pre;font-family: "細明體",tablefont;line-height: 180%;}

/* 司法解釋 */
.jud-content .row {margin-bottom:0.3em;}
.jud-content .row .col-th {float:left; width:5em; margin:0px;padding:0;text-align: right; white-space:nowrap;}
.jud-content .row .col-td {float:none;width:auto; margin-left: 5em;}/*自動縮放寬度*/
/*.jud-content .row .col-td .fa {display:inline;}*/
.jud-content .text-pre {margin-left: 5.3em;}
.jud-extent {width:60%;	margin:0 auto;}
.jud-extent .row {margin-bottom:0.3em;}
.jud-extent .row .col-th {float:left; width:5em; margin:0px;padding:0;text-align: right; white-space:nowrap;}
.jud-extent .row .col-td {float:none;width:auto; margin-left: 5em;}/*自動縮放寬度*/
/*.jud-extent .row .col-td .fa {display:inline;}*/
.jud-extent .text-pre {margin-left: 5.3em;}
.jud-extent .text-ex {width:100%; margin:0 0 0 -.6em;}

/* 去32個整段的條文樣式 */
.law-article {counter-reset: num;padding-left: 2em;width:90%;}
.law-article + .ValidContent {margin-left: 2em;}
.law-article div {position: relative;margin-bottom: 0.5em;}
.law-article div.show-number::before {counter-increment: num;content: counter(num);display: inline-block;position: absolute;left: -3em;margin-left: -1em;text-align: right;width: 3em;font-family: Consolas;font-size:1.05em;font-style:italic;color:#666;}
.law-article div.show-number.long-width::before {left: -5em;}
.law-article .lawno-style {background-color: #f5f5f5;border-radius: 4px;padding: 2px;font-family: "微軟正黑體";font-weight: 800;font-size: 12px;color: #0560d0;}
.law-article .style-error{color:#990000;background-color:#fcb6b6;}

/*均優文書灰階*/
.gray328 { 
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    
    filter: grayscale(100%);
	
    filter: gray;
    width:328px;
    height:184.5px;
}