Yuki Takei 8 лет назад
Родитель
Сommit
d319f5d1d5
2 измененных файлов с 11 добавлено и 1 удалено
  1. 7 0
      lib/views/page_presentation.html
  2. 4 1
      resource/css/crowi-reveal.scss

+ 7 - 0
lib/views/page_presentation.html

@@ -31,6 +31,13 @@
     <script src="{{ webpack_asset('legacy-presentation').js }}" defer></script>
 
     <title>{{ path|path2name }} | {{ path }}</title>
+
+    <!-- Google Fonts -->
+    <link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
+
+    <style>
+      {{ customCss() }}
+    </style>
   </head>
   <body>
     <div class="reveal">

+ 4 - 1
resource/css/crowi-reveal.scss

@@ -1,7 +1,10 @@
+// import crowi variable
+@import 'utilities';
+
 .reveal {
   font-size: 32px;
   section * {
-    font-family: "Lucida Grande", "Hiragino Kaku Gothic Pro W3", Meiryo, san-serif;
+    font-family: $font-family-sans-serif !important;
   }
 
   .slides > section {