Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added Droid Serif as additional Webfont choice.

  • Loading branch information...
commit a35a1278c9b69a6188c61967aa07ab49b2f2d707 1 parent a17d005
Matthias Mees authored October 03, 2012
3  config.inc.php
@@ -67,7 +67,8 @@ function serendipity_smarty_html5time($timestamp) { return date("c", $timestamp)
67 67
                                 'ptsans' => 'PT Sans',
68 68
                                 'osans' => 'Open Sans',
69 69
                                 'cabin' => 'Cabin',
70  
-                                'ubuntu' => 'Ubuntu')
  70
+                                'ubuntu' => 'Ubuntu',
  71
+                                'dserif' => 'Droid Serif')
71 72
    ),
72 73
    array(
73 74
        'var' => 'userstyles',
2  index.tpl
@@ -19,6 +19,8 @@
19 19
     <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Cabin:400,400italic,700,700italic">
20 20
 {elseif $template_option.webfonts == 'ubuntu'}
21 21
     <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic,700,700italic">
  22
+{elseif $template_option.webfonts == 'dserif'}
  23
+    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic">
22 24
 {/if}
23 25
     <link rel="stylesheet" href="{$head_link_stylesheet}">
24 26
 {if $template_option.userstyles == true}
5  style.css
@@ -197,6 +197,11 @@ a:link { -webkit-tap-highlight-color: #d52; }
197 197
 .ubuntu input, .ubuntu select,
198 198
 .ubuntu textarea { font-family: 'Ubuntu', sans-serif; }
199 199
 
  200
+.dserif, .dserif button,
  201
+.dserif input, .dserif select,
  202
+.dserif textarea { font-family: 'Droid Serif', serif; }
  203
+
  204
+
200 205
 p {
201 206
     -webkit-hyphens: auto;
202 207
     -moz-hyphens: auto;

0 notes on commit a35a127

Please sign in to comment.
Something went wrong with that request. Please try again.