Firefox 書籤列高度、字體調整

在 Ubuntu 下用 Firefox 一直覺得畫面很小,觀察一下發現書籤列怎麼佔了那麼多空間,上網查知道原來不只我有這樣的感覺 XD,就參考 Ubuntu Forums 裡的文章把 Firefox 的畫面調整一下。


上面的就是修改完的結果,字體跟書籤列高度都比較小。

方法是修改 userChrome.css,這個檔案在 [Firefox profile]/chrome 目錄裡,沒有的話就新建一個。以下是我 userChrome.css 的內容:
/* Menu Bar - Shrink and Fade Text */
#navigator-toolbox .menubar-text {
    font-size: 12px !important;
    }

/* URL Bar and Search Bar - Shrink and Fade Text*/
#urlbar, #searchbar{
    font-size: 12px !important;
    }

/* Tabs - Shrink Font and Height*/
.tabbrowser-tabs {
    font-size: 12px !important;
    height: 24px !important;
    }
.tabbrowser-strip {
    height: 26px !important;
    }

/* Bookmarks Toolbar - Shrink Font and Size*/
#PersonalToolbar {
    font-size: 12px !important;
    padding: 0px !important;
    margin: 0px !important;
    max-height: 24px !important;
}
/* Seperators - Remove */
#PersonalToolbar toolbarseparator {
    display: none !important;
}
/* Toolbar Buttons - Reduce Margins */
#PersonalToolbar toolbarbutton {
    margin: 0 -5px 0 -1px !important;
}
/* Toolbar Icons - Shrink and Reduce Margins */
#PersonalToolbar .toolbarbutton-icon {
    max-width: 12px !important;
    max-height: 12px !important;
    margin: 0px 2px 0px 0px !important;
}

3 comments:

藍色天枰 提到...

那直接把書簽列關掉不就好了.
字體變那麼小看的很吃力耶!

Yu-Jui Chiang (Rocet) 提到...

呵呵,使用習慣吧,懶得從工具列上多點一下書籤 XD

藍色天枰 提到...

那用speed dial也很方便
把常用的網站放在同一畫面中
等於用一分頁當書簽
畫面更大又有網站縮影

張貼意見