From cc0149a85582e6f1bbf8ec29e04bdec4f8771378 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 10 Feb 2023 20:52:28 +0900 Subject: [PATCH] Try embedding css in template --- static/css/fonts.css | 24 ------------------------ templates/template.html | 28 +++++++++++++++++++++++++++- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/static/css/fonts.css b/static/css/fonts.css index 5e8d2cb..e69de29 100644 --- a/static/css/fonts.css +++ b/static/css/fonts.css @@ -1,24 +0,0 @@ -/* fallback */ -@font-face { - font-family: 'Material Icons'; - font-style: normal; - font-weight: 400; - /* src: url(https://fonts.gstatic.com/s/materialicons/v139/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); */ - src: url(/static/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); - } - - .material-icons { - font-family: 'Material Icons'; - font-weight: normal; - font-style: normal; - font-size: 24px; - line-height: 1; - letter-spacing: normal; - text-transform: none; - display: inline-block; - white-space: nowrap; - word-wrap: normal; - direction: ltr; - -moz-font-feature-settings: 'liga'; - -moz-osx-font-smoothing: grayscale; - } \ No newline at end of file diff --git a/templates/template.html b/templates/template.html index 397ccba..35d4c8e 100644 --- a/templates/template.html +++ b/templates/template.html @@ -28,7 +28,33 @@ - + +