]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/html/captive/assets/captive.css
captive-portal: Serve Ubuntu font files locally
[ipfire-2.x.git] / html / html / captive / assets / captive.css
index f575f01ee47c4c27ac6da36155ba60c9b14229cc..6f231bc4736e2e1fe86ee8864c9f2749e123e350 100644 (file)
@@ -1,3 +1,21 @@
+@font-face {
+       font-family: "Ubuntu";
+       font-weight: 300;
+       src: local("Ubuntu Light"), local("Ubuntu-Light"), url("Ubuntu-L.ttf") format("truetype");
+}
+
+@font-face {
+       font-family: "Ubuntu";
+       font-weight: 400;
+       src: local("Ubuntu Regular"), local("Ubuntu-Regular"), url("Ubuntu-R.ttf") format("truetype");
+}
+
+@font-face {
+       font-family: "Ubuntu";
+       font-weight: 500;
+       src: local("Ubuntu Medium"), local("Ubuntu-Medium"), url("Ubuntu-M.ttf") format("truetype");
+}
+
 body {
        background-image: url("../cgi-bin/logo.cgi");
        background-size: 100%;