mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-18 12:14:50 -04:00
fonts: improve default fonts & font picker
- change default font for colibris and for no-skin - add roboto and quicksand font files - simplify font picker: directly use the name of the font, and reduce their number
This commit is contained in:
parent
fb5a65c5fc
commit
a5164dad43
13 changed files with 56 additions and 135 deletions
|
@ -13,9 +13,9 @@
|
|||
@import url("pad/loadingbox.css");
|
||||
|
||||
html {
|
||||
font-size: 13px;
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 16px;
|
||||
font-size: 14px;
|
||||
font-family: Cantarell, Roboto, "Open Sans", "Helvetica Neue", Arial, sans-serif;
|
||||
line-height: 20px;
|
||||
color: #3e3e3e;
|
||||
}
|
||||
.clear {
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
font-family: opendyslexic;
|
||||
src: url("../../../static/font/opendyslexic.otf") format("opentype");
|
||||
}
|
||||
|
||||
/* Roboto Mono */
|
||||
@font-face {
|
||||
font-family: "RobotoMono";
|
||||
src: url("../../../static/font/RobotoMono-Regular.ttf") format("truetype");
|
||||
|
@ -31,4 +29,33 @@
|
|||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
/* End of Roboto Mono */
|
||||
@font-face {
|
||||
font-family: "Quicksand";
|
||||
src: url("../../../static/font/Quicksand-Regular.ttf") format("truetype");
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Quicksand";
|
||||
src: url("../../../static/font/Quicksand-Medium.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Quicksand";
|
||||
src: url("../../../static/font/Quicksand-Bold.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Roboto";
|
||||
src: url("../../../static/font/Roboto-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Roboto";
|
||||
src: url("../../../static/font/Roboto-Bold.ttf") format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue