Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Droid Serif as additional Webfont choice.

  • Loading branch information...
commit a35a1278c9b69a6188c61967aa07ab49b2f2d707 1 parent a17d005
@yellowled authored
Showing with 9 additions and 1 deletion.
  1. +2 −1  config.inc.php
  2. +2 −0  index.tpl
  3. +5 −0 style.css
View
3  config.inc.php
@@ -67,7 +67,8 @@ function serendipity_smarty_html5time($timestamp) { return date("c", $timestamp)
'ptsans' => 'PT Sans',
'osans' => 'Open Sans',
'cabin' => 'Cabin',
- 'ubuntu' => 'Ubuntu')
+ 'ubuntu' => 'Ubuntu',
+ 'dserif' => 'Droid Serif')
),
array(
'var' => 'userstyles',
View
2  index.tpl
@@ -19,6 +19,8 @@
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Cabin:400,400italic,700,700italic">
{elseif $template_option.webfonts == 'ubuntu'}
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu:400,400italic,700,700italic">
+{elseif $template_option.webfonts == 'dserif'}
+ <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic">
{/if}
<link rel="stylesheet" href="{$head_link_stylesheet}">
{if $template_option.userstyles == true}
View
5 style.css
@@ -197,6 +197,11 @@ a:link { -webkit-tap-highlight-color: #d52; }
.ubuntu input, .ubuntu select,
.ubuntu textarea { font-family: 'Ubuntu', sans-serif; }
+.dserif, .dserif button,
+.dserif input, .dserif select,
+.dserif textarea { font-family: 'Droid Serif', serif; }
+
+
p {
-webkit-hyphens: auto;
-moz-hyphens: auto;
Please sign in to comment.
Something went wrong with that request. Please try again.