mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
use helvetica on mac
This commit is contained in:
parent
adda80fc33
commit
f465dbd8ad
1 changed files with 4 additions and 4 deletions
|
@ -147,12 +147,12 @@ class AnkiWebView(QWebEngineView):
|
||||||
buttonspec = "button { font-size: 12px; font-family:'Segoe UI'; }"
|
buttonspec = "button { font-size: 12px; font-family:'Segoe UI'; }"
|
||||||
fontspec = 'font-size:12px;font-family:"Segoe UI";'
|
fontspec = 'font-size:12px;font-family:"Segoe UI";'
|
||||||
elif isMac:
|
elif isMac:
|
||||||
family=".AppleSystemUIFont"
|
family="Helvetica"
|
||||||
fontspec = 'font-size:16px;font-family:"%s";'% \
|
fontspec = 'font-size:15px;font-family:"%s";'% \
|
||||||
family
|
family
|
||||||
buttonspec = """
|
buttonspec = """
|
||||||
button { font-size: 14px; -webkit-appearance: none; background: #fff; border: 1px solid #ccc;
|
button { font-size: 13px; -webkit-appearance: none; background: #fff; border: 1px solid #ccc;
|
||||||
border-radius:5px;}"""
|
border-radius:5px; font-family: Helvetica }"""
|
||||||
else:
|
else:
|
||||||
buttonspec = ""
|
buttonspec = ""
|
||||||
family = self.font().family()
|
family = self.font().family()
|
||||||
|
|
Loading…
Reference in a new issue