Bookstack 自訂字形與樣式 Customising Visuals

google_noto_sans_tc

Bookstack Customising Visuals

Bookstack 可以針對外觀做客製化,也就是修改 css
目前使用的是 Google 與 Adobe 合作釋出的開源字體 “Noto Sans”
若要使用其它 Google Fonts 提供的字體可以訪問: Google Fonts

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+TC" rel="stylesheet">
<style>

body, button, input, select, label, textarea {
  font-family: 'Noto Sans TC', Light;
  font-size: 17px;
}

.CodeMirror, blockquote, pre, #markdown-editor-input, .editor-toolbar, .code-base {
  font-family: 'Noto Sans TC', Light;
  font-size: 13px
  margin-right: 150px
}

blockquote:before {                                     
  content: open-quote;
  vertical-align: top;
}

</style>

css 小弟沒學過,東拼西湊而已。歡迎來信建議 XD

MariaDB Galera Cluster 建置

Galera-Cluster-logo.jpg

Galera Cluster 是 MariaDB 多主架構 (Multi-Master) 的解決方案。
公司目前常用的主從架構 (Master-Slave) 沒辦法做到各個結點 (node) 均可讀寫,並且確保資料一致性,因此不適合做為 HA (高可用) 的解決方案

比較 Master-Slave Replication V.S Galera Cluster (Multi-Master)

Master-Slave Replication

replicationnew.jpg