changes I made a while ago master
authorLucian Mogoșanu <lucian.mogosanu@gmail.com>
Sat, 25 May 2013 10:42:10 +0000 (13:42 +0300)
committerLucian Mogoșanu <lucian.mogosanu@gmail.com>
Sat, 25 May 2013 10:42:10 +0000 (13:42 +0300)
functions.php
header.php
style.css

index 8e9be6d..2e55f8b 100644 (file)
@@ -9,4 +9,12 @@
     'after_widget' => '</div><!-- widget -->',
     'before_title' => '<h4>',
     'after_title' => '</h4>') );
-?>
\ No newline at end of file
+
+/* from http://maketecheasier.com/5-ways-to-reduce-comment-spam-on-wordpress-blogs/2010/03/17 */
+function verify_comment_referer() {
+    if (!wp_get_referer()) {
+        wp_die( __('You cannot post comment at this time, may be you need to enable referrers in your browser.') );
+    }
+}
+//add_action('check_comment_flood', 'verify_comment_referer');
+?>
index f31de13..a03b958 100644 (file)
@@ -3,7 +3,7 @@
   <head>
     <meta charset="<?php bloginfo( 'charset' ); ?>" />
     <link rel="profile" href="http://gmpg.org/xfn/11" />
-       <link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
+       <link href='http://fonts.googleapis.com/css?family=Sorts+Mill+Goudy:400,400italic&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
     <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
     <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
        <link rel="trackback" href="<?php trackback_url(); ?>" />
index 2ddc9c1..9ba680f 100644 (file)
--- a/style.css
+++ b/style.css
@@ -11,7 +11,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
 */
 
 /* http://meyerweb.com/eric/tools/css/reset */
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; font-family: sans-serif;}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
+html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; font-family: 'Sorts Mill Goudy', serif;}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
 
 /* simplest */
 p,dl,hr,h1,h4,h5,h6,ol,ul,pre,table,address,fieldset {margin-bottom:1em;}
@@ -21,8 +21,9 @@ li {list-style:square; margin:0.5em 0 0 2em;}
 dt {margin:1em 0; font-weight:bold;}
 dd {margin:0 1em; padding-left:1em; border-left:1px solid #ddd;}
 th, td {padding:0.5em; border:1px solid #ddd;}
-blockquote {margin:0 1em; padding-left:1em; border-left:1px solid #ddd;}
+blockquote {margin:0 1em; padding-left:1em; border-left:1px solid #ddd; color: #555;}
 pre {font-family:monospace; background:#f8f8ff; padding:0.5em; overflow:auto;}
+.wp_syntax * {font-family:monospace; background:#f8f8ff; overflow:auto; !important}
 sup, sub {height:0; line-height:1; vertical-align:baseline; position:relative; font-size:10px;}
 sup {bottom:1ex;}
 sub {top:0.5ex;}