Include punjabi font with the page in case user doesn't have them
Also, don't load JS resources from Google, to avoid tracking cookies.
This commit is contained in:
parent
9379ffec30
commit
b80ba04e0e
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,11 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: Bulara;
|
||||||
|
src: url(fonts/bulara_5.ttf);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
|
||||||
padding: 0 5%;
|
padding: 0 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,6 +81,10 @@ th {
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.punjabi {
|
||||||
|
font-family: Bulara;
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes progressbar-countdown {
|
@keyframes progressbar-countdown {
|
||||||
0% {
|
0% {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
c ((columns col) (if long? :upper-latin :lower-latin))
|
c ((columns col) (if long? :upper-latin :lower-latin))
|
||||||
audio (format "audio/%02d%s.mp3" r c)
|
audio (format "audio/%02d%s.mp3" r c)
|
||||||
char ((entries row) col)]
|
char ((entries row) col)]
|
||||||
(vector :td {:class "entry"}
|
(vector :td {:class "entry, punjabi"}
|
||||||
[:span {:class "entry-text"
|
[:span {:class "entry-text"
|
||||||
:id (format "%s%02d%s" (if long? "l" "s") r c)} char]
|
:id (format "%s%02d%s" (if long? "l" "s") r c)} char]
|
||||||
[:button
|
[:button
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
[:link {:rel "stylesheet" :type "text/css" :href "style.css"}]
|
[:link {:rel "stylesheet" :type "text/css" :href "style.css"}]
|
||||||
;; pull jquery from Google rather than host locally.
|
;; pull jquery from Google rather than host locally.
|
||||||
[:script {:type "text/javascript"
|
[:script {:type "text/javascript"
|
||||||
:src "https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"}]
|
:src "scripts/jquery.min.js"}]
|
||||||
[:script {:type "text/javascript"
|
[:script {:type "text/javascript"
|
||||||
:src "scripts/muharni.js"}]
|
:src "scripts/muharni.js"}]
|
||||||
[:title (str title)]]
|
[:title (str title)]]
|
||||||
|
|
Loading…
Reference in a new issue