讓眼睛舒服的方法無他:一、降低亮度。二、放大文字。
黑色最暗。畫面越多黑色,看起來越舒服。文字越大,看起來越舒服。我自己的情況是這樣。
我本身是資工系背景(專門學程式的科系)。這篇文章的預設讀者是具備同樣背景的人。如果你不是資工系背景,那麼我建議你找到相關背景的人,請他按照本文內容幫你調整電腦,順便增進一下感情。
調整成黑底白字。放大畫面。降低螢幕光源亮度。
windows icon > right click > 設定(N)
個人化
輕鬆存取
系統
每個人的顯卡驅動程式都不一樣。我的是Intel。
網頁調整大小。
Ctrl+Mouse_wheel
(即時調整網頁大小)
滑鼠點一下網址列的縮放比率
(即時恢復網頁大小)
about:preferences
Firefox是最注重閱讀舒適度的網頁瀏覽器。Firefox可以設定網頁底色和文字顏色。IE和Chrome則沒有調整網頁顏色的選項。
所有網頁,黑底灰字。
about:preferences
about:config
網頁捲軸,改成黑底,甚至更換風格。
介面黑體白字。
此法適用於Mozilla Firefox,也同樣適用於Google Chrome。本篇文章將以Mozilla Firefox為主,畢竟我用習慣了。
我們可以自訂瀏覽器的外觀。外觀也包含了配色。把配色改成黑色,減少亮度,讓眼睛舒適。
We need
About userChrome.css or userContent.css
Create userChrome.css or userContent.css
Activate userChrome.css or userContent.css
Firefox內建了PDF閱讀套件。利用userContent.css更改文件顏色,成為黑底灰字。
Automatic (userContent.css)
Text color and background color
#viewerContainer > #viewer > .page > .canvasWrapper > canvas {filter: grayscale(1) invert(1) brightness(0.75);}
20220701更新:Firefox 102版本更新,PDF.js變成自動抓取色彩設定,自動得到黑底白字。這項設定變得無用。然而圖片仍是白底黑字。我不知道怎麼解決。
Highlight color of Find (Ctrl+F)
.pdfViewer .textLayer .highlight {background-color: rgb(255, 255, 0);}
Reference
Dark mode for Firefox's built-in PDF viewer
https://pncnmnp.github.io/blogs/firefox-dark-mode.htmlChanging the ctrl+f highlight color in pdf viewer
https://www.reddit.com/r/FirefoxCSS/comments/phesqw/
Manual (bookmark)
PDF Dark Mode
javascript:(function(){viewer.style = 'filter: grayscale(1) invert(1) brightness(0.75)';})()
Word background color (about:config)
Firefox automatically fill the background of each word with black when we set background of webpage to be black. (In PDF.js, color becomes lightgray due to built-in transparent layer setting.) We can cancel that by about:config.
browser.display.permit_backplate = false
bad news: pictures will be disappered in wikipedia and twitter.
Default PDF reader
地球上唯一一個黑底灰字、黑色介面的PDF軟體!不過我現在都用PDF.js。
右邊(或者左邊)那個白色背景的視窗,可以永久關閉。
https://helpx.adobe.com/cn/acrobat/kb/disable-right-hand-pane-in-acrobat-reader.html
設定 > 偏好設定
一般
工具列:隱藏
頁籤列:隱藏
顯示狀態列:無
(外觀變成記事本)
黑暗模式 > 黑色調
(工具列變黑底灰字)
邊距/邊界/行界線
摺疊符號:無
邊框寬度:無邊框
行號:不顯示(我都按ctrl+G)
填充:左15右0(根據你用哪種字體、哪種大小)
顯示標記:無
(外觀變成記事本)
設定 > 語法樣式配置器
vim、emacs什麼的,那都是喜歡爭高下的屁孩在用的。像我這種真男人,都是用記事本寫程式。
一開始我用SciTE,後來改用Notepad++。
這兩個文字編輯器都是採用同一個核心SCIntilla。這個核心有一個重要特色——以文字設定檔設定外觀,例如視窗框架,例如介面顏色,例如程式碼關鍵字顏色。換句話說,只要你熟悉設定檔格式,就可以自訂顏色,甚至是Notepad++沒有列出的項目。
比方來說,HTML運算子的顏色。
# Other inside tag
style.xml.8=fore:#800080,back:#FFF3E1
^^
styleId is 8
小畫家圖片反白。
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing