4

ここに画像の説明を入力してください

私はDokuwikiを使用しており、Syntaxhighlighter3を使用するときに、組み込みのコードボックス(灰色のアウトラインのボックス)を削除したいと考えています。

誰かがこれを行う方法を知っているかどうかを感謝します。

4

1 に答える 1

3

これらの行をcssファイルに追加します(あなたの場合はshCore.css

box-shadow: 0 0 0 0 !important;

ファイルsxh3\styles\shCore.css (上記の行を 28 行目に挿入した場合) は次のようになります。

.syntaxhighlighter table tbody,
.syntaxhighlighter table thead,
.syntaxhighlighter table caption,
.syntaxhighlighter textarea {
  -moz-border-radius: 0 0 0 0 !important;
  -webkit-border-radius: 0 0 0 0 !important;
  box-shadow: 0 0 0 0 !important; /* <-- this line */
  background: none !important;
  border: 0 !important;
  bottom: auto !important;
  float: none !important;
  height: auto !important;
于 2013-02-27T04:29:58.303 に答える