From: Jean-Philippe Orsini Date: Wed, 23 Jul 2014 11:06:01 +0000 (+0200) Subject: initial X-Git-Url: http://git.wpitchoune.net/gitweb/?p=esmvvd.git;a=commitdiff_plain;h=ada57d91da6c8b5f78414862e7d1e728e5918248 initial --- ada57d91da6c8b5f78414862e7d1e728e5918248 diff --git a/blog/wp-content/themes/vvd/404.php b/blog/wp-content/themes/vvd/404.php new file mode 100755 index 0000000..f9fee47 --- /dev/null +++ b/blog/wp-content/themes/vvd/404.php @@ -0,0 +1,18 @@ + + +
+ +

Error 404 - Not Found

+ +
+ + + + \ No newline at end of file diff --git a/blog/wp-content/themes/vvd/archive.php b/blog/wp-content/themes/vvd/archive.php new file mode 100755 index 0000000..97cb4c4 --- /dev/null +++ b/blog/wp-content/themes/vvd/archive.php @@ -0,0 +1,78 @@ + + +
+
+ + + + +

Archive for the ‘’ Category

+ +

Posts Tagged ‘

+ +

Archive for

+ +

Archive for

+ +

Archive for

+ +

Author Archive

+ +

Blog Archives

+ + + + + + +
> +

+ + +
+ +
+ + + +
+ + + + + Sorry, but there aren't any posts in the %s category yet.", single_cat_title('',false)); + } else if ( is_date() ) { // If this is a date archive + echo("

Sorry, but there aren't any posts with this date.

"); + } else if ( is_author() ) { // If this is a category archive + $userdata = get_userdatabylogin(get_query_var('author_name')); + printf("

Sorry, but there aren't any posts by %s yet.

", $userdata->display_name); + } else { + echo("

No posts found.

"); + } + get_search_form(); + + endif; +?>
+
+ +
+ + + + diff --git a/blog/wp-content/themes/vvd/archives.php b/blog/wp-content/themes/vvd/archives.php new file mode 100755 index 0000000..2042805 --- /dev/null +++ b/blog/wp-content/themes/vvd/archives.php @@ -0,0 +1,29 @@ + + + + +
+ + + +

Archives by Month:

+ + +

Archives by Subject:

+ + +
+ + diff --git a/blog/wp-content/themes/vvd/comments-popup.php b/blog/wp-content/themes/vvd/comments-popup.php new file mode 100755 index 0000000..49fe744 --- /dev/null +++ b/blog/wp-content/themes/vvd/comments-popup.php @@ -0,0 +1,124 @@ + + + + <?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?> + + + + + + + +

+ + +

Comments

+ +

RSS feed for comments on this post.

+ + +

The URL to TrackBack this entry is:

+ + + + + +
    + +
  1. + +

    by @

    +
  2. + + +
+ +

No comments yet.

+ + + +

Leave a comment

+

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:

+ +
+ +

Logged in as . Log out »

+ +

+ + +

+ +

+ + +

+ +

+ + +

+ + +

+ +
+ +

+ +

+ + " /> + +

+ ID); ?> +
+ +

Sorry, the comment form is closed at this time.

+ + +
Close this window.
+ + +

Sorry, no posts matched your criteria.

+ + + +

Powered by WordPress

+ + + + diff --git a/blog/wp-content/themes/vvd/comments.php b/blog/wp-content/themes/vvd/comments.php new file mode 100755 index 0000000..186a73c --- /dev/null +++ b/blog/wp-content/themes/vvd/comments.php @@ -0,0 +1,96 @@ + +

This post is password protected. Enter the password to view comments.

+ + + + + +

to “

+ + + +
    + +
+ + + + + + + + + +

Comments are closed.

+ + + + + + + +
+ +

+ +
+ +
+ + +

You must be logged in to post a comment.

+ + +
+ + + +

Logged in as . Log out »

+ + + +

/> +

+ +

/> +

+ +

+

+ + + + + +

+ +

+ +

+ID); ?> + +
+ + +
+ + diff --git a/blog/wp-content/themes/vvd/footer.php b/blog/wp-content/themes/vvd/footer.php new file mode 100755 index 0000000..aa2d7b4 --- /dev/null +++ b/blog/wp-content/themes/vvd/footer.php @@ -0,0 +1,20 @@ + + + + + + + + + + diff --git a/blog/wp-content/themes/vvd/functions.php b/blog/wp-content/themes/vvd/functions.php new file mode 100755 index 0000000..072ab66 --- /dev/null +++ b/blog/wp-content/themes/vvd/functions.php @@ -0,0 +1,433 @@ + '
  • ', + 'after_widget' => '
  • ', + 'before_title' => '

    ', + 'after_title' => '

    ', + )); +} + +/** @ignore */ +function kubrick_head() { + $head = "\n"; + if ( '' != $output ) + echo $head . $output . $foot; +} + +add_action('wp_head', 'kubrick_head'); + +function kubrick_header_image() { + return apply_filters('kubrick_header_image', get_option('kubrick_header_image')); +} + +function kubrick_upper_color() { + if (strpos($url = kubrick_header_image_url(), 'header-img.php?') !== false) { + parse_str(substr($url, strpos($url, '?') + 1), $q); + return $q['upper']; + } else + return '69aee7'; +} + +function kubrick_lower_color() { + if (strpos($url = kubrick_header_image_url(), 'header-img.php?') !== false) { + parse_str(substr($url, strpos($url, '?') + 1), $q); + return $q['lower']; + } else + return '4180b6'; +} + +function kubrick_header_image_url() { + if ( $image = kubrick_header_image() ) + $url = get_template_directory_uri() . '/images/' . $image; + else + $url = get_template_directory_uri() . '/images/kubrickheader.jpg'; + + return $url; +} + +function kubrick_header_color() { + return apply_filters('kubrick_header_color', get_option('kubrick_header_color')); +} + +function kubrick_header_color_string() { + $color = kubrick_header_color(); + if ( false === $color ) + return 'white'; + + return $color; +} + +function kubrick_header_display() { + return apply_filters('kubrick_header_display', get_option('kubrick_header_display')); +} + +function kubrick_header_display_string() { + $display = kubrick_header_display(); + return $display ? $display : 'inline'; +} + +add_action('admin_menu', 'kubrick_add_theme_page'); + +function kubrick_add_theme_page() { + if ( isset( $_GET['page'] ) && $_GET['page'] == basename(__FILE__) ) { + if ( isset( $_REQUEST['action'] ) && 'save' == $_REQUEST['action'] ) { + check_admin_referer('kubrick-header'); + if ( isset($_REQUEST['njform']) ) { + if ( isset($_REQUEST['defaults']) ) { + delete_option('kubrick_header_image'); + delete_option('kubrick_header_color'); + delete_option('kubrick_header_display'); + } else { + if ( '' == $_REQUEST['njfontcolor'] ) + delete_option('kubrick_header_color'); + else { + $fontcolor = preg_replace('/^.*(#[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['njfontcolor']); + update_option('kubrick_header_color', $fontcolor); + } + if ( preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njuppercolor'], $uc) && preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njlowercolor'], $lc) ) { + $uc = ( strlen($uc[0]) == 3 ) ? $uc[0]{0}.$uc[0]{0}.$uc[0]{1}.$uc[0]{1}.$uc[0]{2}.$uc[0]{2} : $uc[0]; + $lc = ( strlen($lc[0]) == 3 ) ? $lc[0]{0}.$lc[0]{0}.$lc[0]{1}.$lc[0]{1}.$lc[0]{2}.$lc[0]{2} : $lc[0]; + update_option('kubrick_header_image', "header-img.php?upper=$uc&lower=$lc"); + } + + if ( isset($_REQUEST['toggledisplay']) ) { + if ( false === get_option('kubrick_header_display') ) + update_option('kubrick_header_display', 'none'); + else + delete_option('kubrick_header_display'); + } + } + } else { + + if ( isset($_REQUEST['headerimage']) ) { + check_admin_referer('kubrick-header'); + if ( '' == $_REQUEST['headerimage'] ) + delete_option('kubrick_header_image'); + else { + $headerimage = preg_replace('/^.*?(header-img.php\?upper=[0-9a-fA-F]{6}&lower=[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['headerimage']); + update_option('kubrick_header_image', $headerimage); + } + } + + if ( isset($_REQUEST['fontcolor']) ) { + check_admin_referer('kubrick-header'); + if ( '' == $_REQUEST['fontcolor'] ) + delete_option('kubrick_header_color'); + else { + $fontcolor = preg_replace('/^.*?(#[0-9a-fA-F]{6})?.*$/', '$1', $_REQUEST['fontcolor']); + update_option('kubrick_header_color', $fontcolor); + } + } + + if ( isset($_REQUEST['fontdisplay']) ) { + check_admin_referer('kubrick-header'); + if ( '' == $_REQUEST['fontdisplay'] || 'inline' == $_REQUEST['fontdisplay'] ) + delete_option('kubrick_header_display'); + else + update_option('kubrick_header_display', 'none'); + } + } + //print_r($_REQUEST); + wp_redirect("themes.php?page=functions.php&saved=true"); + die; + } + add_action('admin_head', 'kubrick_theme_page_head'); + } + add_theme_page(__('Custom Header'), __('Custom Header'), 'edit_themes', basename(__FILE__), 'kubrick_theme_page'); +} + +function kubrick_theme_page_head() { +?> + + + +

    '.__('Options saved.').'

    '; +?> +
    +

    +
    +
    + +
    +
    +
    +
    + +
    + red', '#FF0000', 'rgb(255, 0, 0)'); ?>
    + #FF0000', '#F00'); ?>
    + #FF0000', '#F00'); ?>
    + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + +

    +
    + +
    + +
    +
    +
    +
    + diff --git a/blog/wp-content/themes/vvd/header.php b/blog/wp-content/themes/vvd/header.php new file mode 100755 index 0000000..cc2bc0c --- /dev/null +++ b/blog/wp-content/themes/vvd/header.php @@ -0,0 +1,34 @@ + + +> + + + + +<?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?> + + + + + + + + + +> +
    + + + +
    diff --git a/blog/wp-content/themes/vvd/image.php b/blog/wp-content/themes/vvd/image.php new file mode 100755 index 0000000..4312630 --- /dev/null +++ b/blog/wp-content/themes/vvd/image.php @@ -0,0 +1,70 @@ + + +
    + + + +
    +

    post_parent); ?> »

    +
    +

    ID, 'medium' ); ?>

    +
    post_excerpt) ) the_excerpt(); // this is the "caption" ?>
    + + Read the rest of this entry »

    '); ?> + + +
    + + + +
    + +
    + + + + + +

    Sorry, no attachments matched your criteria.

    + + + +
    + + diff --git a/blog/wp-content/themes/vvd/images/audio.jpg b/blog/wp-content/themes/vvd/images/audio.jpg new file mode 100755 index 0000000..b02e1c8 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/audio.jpg differ diff --git a/blog/wp-content/themes/vvd/images/bg-left.gif b/blog/wp-content/themes/vvd/images/bg-left.gif new file mode 100644 index 0000000..bf9a498 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/bg-left.gif differ diff --git a/blog/wp-content/themes/vvd/images/col2.gif b/blog/wp-content/themes/vvd/images/col2.gif new file mode 100644 index 0000000..92e33d5 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/col2.gif differ diff --git a/blog/wp-content/themes/vvd/images/fond.jpg b/blog/wp-content/themes/vvd/images/fond.jpg new file mode 100644 index 0000000..58d0be5 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/fond.jpg differ diff --git a/blog/wp-content/themes/vvd/images/footer.jpg b/blog/wp-content/themes/vvd/images/footer.jpg new file mode 100644 index 0000000..aa6f66b Binary files /dev/null and b/blog/wp-content/themes/vvd/images/footer.jpg differ diff --git a/blog/wp-content/themes/vvd/images/header-img.php b/blog/wp-content/themes/vvd/images/header-img.php new file mode 100755 index 0000000..50bd3c3 --- /dev/null +++ b/blog/wp-content/themes/vvd/images/header-img.php @@ -0,0 +1,82 @@ +array('r1', 'g1', 'b1'), 'lower'=>array('r2', 'g2', 'b2')); +foreach ( $vars as $var => $subvars ) { + if ( isset($_GET[$var]) ) { + foreach ( $subvars as $index => $subvar ) { + $length = strlen($_GET[$var]) / 3; + $v = substr($_GET[$var], $index * $length, $length); + if ( $length == 1 ) $v = '' . $v . $v; + $$subvar = hexdec( $v ); + if ( $$subvar < 0 || $$subvar > 255 ) + $default = true; + } + } else { + $default = true; + } +} + +if ( $default ) + list ( $r1, $g1, $b1, $r2, $g2, $b2 ) = array ( 105, 174, 231, 65, 128, 182 ); + +// Create the image +$im = imagecreatefromjpeg($img); + +// Get the background color, define the rectangle height +$white = imagecolorat( $im, 15, 15 ); +$h = 182; + +// Define the boundaries of the rounded edges ( y => array ( x1, x2 ) ) +$corners = array( + 0 => array ( 25, 734 ), + 1 => array ( 23, 736 ), + 2 => array ( 22, 737 ), + 3 => array ( 21, 738 ), + 4 => array ( 21, 738 ), + 177 => array ( 21, 738 ), + 178 => array ( 21, 738 ), + 179 => array ( 22, 737 ), + 180 => array ( 23, 736 ), + 181 => array ( 25, 734 ), + ); + +// Blank out the blue thing +for ( $i = 0; $i < $h; $i++ ) { + $x1 = 19; + $x2 = 740; + imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $white ); +} + +// Draw a new color thing +for ( $i = 0; $i < $h; $i++ ) { + $x1 = 20; + $x2 = 739; + $r = ( $r2 - $r1 != 0 ) ? $r1 + ( $r2 - $r1 ) * ( $i / $h ) : $r1; + $g = ( $g2 - $g1 != 0 ) ? $g1 + ( $g2 - $g1 ) * ( $i / $h ) : $g1; + $b = ( $b2 - $b1 != 0 ) ? $b1 + ( $b2 - $b1 ) * ( $i / $h ) : $b1; + $color = imagecolorallocate( $im, $r, $g, $b ); + if ( array_key_exists($i, $corners) ) { + imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $white ); + list ( $x1, $x2 ) = $corners[$i]; + } + imageline( $im, $x1, 18 + $i, $x2, 18 + $i, $color ); +} + +//die; +header("Content-Type: image/jpeg"); +imagejpeg($im, '', 92); +imagedestroy($im); +?> diff --git a/blog/wp-content/themes/vvd/images/header-top.jpg b/blog/wp-content/themes/vvd/images/header-top.jpg new file mode 100644 index 0000000..b45b970 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/header-top.jpg differ diff --git a/blog/wp-content/themes/vvd/images/kubrickbg-ltr.jpg b/blog/wp-content/themes/vvd/images/kubrickbg-ltr.jpg new file mode 100755 index 0000000..dc74fb8 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/kubrickbg-ltr.jpg differ diff --git a/blog/wp-content/themes/vvd/images/kubrickbg-rtl.jpg b/blog/wp-content/themes/vvd/images/kubrickbg-rtl.jpg new file mode 100755 index 0000000..2e9e237 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/kubrickbg-rtl.jpg differ diff --git a/blog/wp-content/themes/vvd/images/kubrickbgcolor.jpg b/blog/wp-content/themes/vvd/images/kubrickbgcolor.jpg new file mode 100755 index 0000000..4653b68 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/kubrickbgcolor.jpg differ diff --git a/blog/wp-content/themes/vvd/images/kubrickbgwide.jpg b/blog/wp-content/themes/vvd/images/kubrickbgwide.jpg new file mode 100755 index 0000000..77096f2 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/kubrickbgwide.jpg differ diff --git a/blog/wp-content/themes/vvd/images/kubrickfooter.jpg b/blog/wp-content/themes/vvd/images/kubrickfooter.jpg new file mode 100755 index 0000000..d7a4c65 Binary files /dev/null and b/blog/wp-content/themes/vvd/images/kubrickfooter.jpg differ diff --git a/blog/wp-content/themes/vvd/images/kubrickheader.jpg b/blog/wp-content/themes/vvd/images/kubrickheader.jpg new file mode 100755 index 0000000..69441ee Binary files /dev/null and b/blog/wp-content/themes/vvd/images/kubrickheader.jpg differ diff --git a/blog/wp-content/themes/vvd/images/main.gif b/blog/wp-content/themes/vvd/images/main.gif new file mode 100644 index 0000000..ac9672e Binary files /dev/null and b/blog/wp-content/themes/vvd/images/main.gif differ diff --git a/blog/wp-content/themes/vvd/index.php b/blog/wp-content/themes/vvd/index.php new file mode 100755 index 0000000..d215860 --- /dev/null +++ b/blog/wp-content/themes/vvd/index.php @@ -0,0 +1,46 @@ + + +
    +
    + + + + +
    id="post-"> +

    + + +
    + +
    + + +
    + + + + + + + +

    Not Found

    +

    Sorry, but you are looking for something that isn't here.

    + + + +
    +
    +
    + + + + diff --git a/blog/wp-content/themes/vvd/links.php b/blog/wp-content/themes/vvd/links.php new file mode 100755 index 0000000..81fdc00 --- /dev/null +++ b/blog/wp-content/themes/vvd/links.php @@ -0,0 +1,23 @@ + + + + +
    + +

    Links:

    +
      + +
    + +
    + + diff --git a/blog/wp-content/themes/vvd/page.php b/blog/wp-content/themes/vvd/page.php new file mode 100755 index 0000000..abc886a --- /dev/null +++ b/blog/wp-content/themes/vvd/page.php @@ -0,0 +1,32 @@ + + +
    +
    + +
    +

    +
    + Read the rest of this page »

    '); ?> + + '

    Pages: ', 'after' => '

    ', 'next_or_number' => 'number')); ?> + +
    +
    + + + ', '

    '); ?> + + + +
    + +
    +
    + + diff --git a/blog/wp-content/themes/vvd/rtl.css b/blog/wp-content/themes/vvd/rtl.css new file mode 100755 index 0000000..0583b52 --- /dev/null +++ b/blog/wp-content/themes/vvd/rtl.css @@ -0,0 +1,127 @@ +/* +Theme name: WordPress Default - kubrick - +Editors: Navid Kashani +Persian WordPress Project : wp-persian.com +*/ +body, .commentlist li, #commentform input, #commentform textarea, #commentform p, #sidebar, #wp-calendar caption { + font-family:tahoma, arial; +} +#page { + text-align:right; + direction:rtl; +} +h1, h2, h3, #sidebar h2 { + font-family:arial, tahoma; +} +.commentlist li .avatar { + float:left; +} + +.commentlist li { + padding: 5px 10px 10px 5px; + } +.commentlist li ul li { + margin-left: -5px; + margin-right: 10px; +} + +.commentlist p { + margin: 10px 0 10px 5px; +} +#header { + margin:0 1px 0 0; +} +.narrowcolumn { + float:right; + padding: 0 45px 20px 0; +} +.widecolumn { + margin: 5px 150px 0 0; +} +.widecolumn .smallattachment { + margin: 5px 0 5px 5px; +} +.postmetadata { + clear:right; +} +#sidebar { + margin-left: 0; + margin-right: 545px; +} +img.alignright { + margin: 0 7px 2px 0; +} + +img.alignleft { + margin: 0 0 2px 7px; +} + +.alignright { + float: left; +} + +.alignleft { + float: right; +} +code { + display:block; + direction:ltr; + text-align:left; +} +acronym, abbr, span.caps { + letter-spacing:0; /* fix opera bug */ +} +html>body .entry ul { + padding:0 10px 0 0; + text-indent:10px; +} +html>body .entry li { + margin: 7px 10px 8px 0; +} +.entry ol { + padding: 0 35px 0 0; +} +#sidebar ul ul, #sidebar ul ol { + margin: 5px 10px 0 0; +} +#sidebar ul ul ul, #sidebar ul ol { + margin: 0 10px 0 0; +} +#commentform { + margin: 5px 0 0 10px; + } +#commentform input { + margin: 5px 0 1px 5px; +} +#commentform #submit { + float:left; +} +.commentlist p { + margin: 10px 0 10px 5px; +} + +.children .even, .alt { + border-left: 0; + border-right: 1px solid #ddd; +} + +#wp-calendar #next a { + padding-right:0; + padding-left:10px; + text-align:left; +} +#wp-calendar #prev a { + padding-left:0; + padding-right:10px; + text-align:right; +} +blockquote { + margin: 15px 10px 0 30px; + padding-left: 0; + padding-right: 20px; + border-left: 0 none; + border-right: 5px solid #ddd; +} +#email, #url { + direction:ltr; +} \ No newline at end of file diff --git a/blog/wp-content/themes/vvd/screenshot.png b/blog/wp-content/themes/vvd/screenshot.png new file mode 100755 index 0000000..e0b1d48 Binary files /dev/null and b/blog/wp-content/themes/vvd/screenshot.png differ diff --git a/blog/wp-content/themes/vvd/search.php b/blog/wp-content/themes/vvd/search.php new file mode 100755 index 0000000..4e7ad6d --- /dev/null +++ b/blog/wp-content/themes/vvd/search.php @@ -0,0 +1,48 @@ + + +
    + + + +

    Search Results

    + + + + + + +
    > +

    + + + +
    + + + + + + + +

    No posts found. Try a different search?

    + + + + +
    + + + + diff --git a/blog/wp-content/themes/vvd/sidebar.php b/blog/wp-content/themes/vvd/sidebar.php new file mode 100755 index 0000000..49b2147 --- /dev/null +++ b/blog/wp-content/themes/vvd/sidebar.php @@ -0,0 +1,74 @@ + + + diff --git a/blog/wp-content/themes/vvd/single.php b/blog/wp-content/themes/vvd/single.php new file mode 100755 index 0000000..e4b3dac --- /dev/null +++ b/blog/wp-content/themes/vvd/single.php @@ -0,0 +1,44 @@ + + + + +
    +
    + + + + +
    id="post-"> +

    + +
    + Read the rest of this entry »

    '); ?> + + '

    Pages: ', 'after' => '

    ', 'next_or_number' => 'number')); ?> + Tags: ', ', ', '

    '); ?> + +
    +
    +
    + + + + + +

    Sorry, no posts matched your criteria.

    + + + +
    + + diff --git a/blog/wp-content/themes/vvd/single.php~ b/blog/wp-content/themes/vvd/single.php~ new file mode 100755 index 0000000..c45e3cd --- /dev/null +++ b/blog/wp-content/themes/vvd/single.php~ @@ -0,0 +1,41 @@ + + +
    +
    + + + + +
    id="post-"> +

    + +
    + Read the rest of this entry »

    '); ?> + + '

    Pages: ', 'after' => '

    ', 'next_or_number' => 'number')); ?> + Tags: ', ', ', '

    '); ?> +
    +
    +
    + + + + + +

    Sorry, no posts matched your criteria.

    + + + +
    + + diff --git a/blog/wp-content/themes/vvd/style.css b/blog/wp-content/themes/vvd/style.css new file mode 100755 index 0000000..35db5cf --- /dev/null +++ b/blog/wp-content/themes/vvd/style.css @@ -0,0 +1,680 @@ +/* +Theme Name: vvd +Theme URI: http://wordpress.org/ +Description: The VDD Theme. +Version: 1.0 +Author: Jean-Philippe Orsini. +Author URI: http://binarybonsai.com/ +Tags: blue, custom header, fixed width, two columns, widgets +*/ + +body { + font-family: Ubuntu, 'Lucida Grande', Verdana, Arial, Sans-Serif; + background: #1c331e; + color: #333; + text-align: center; + margin-left: 10%; + } + +#page { + background: #b9c0b9 url('images/fond.jpg') repeat-y; + border: 0px 0px 0px 0px; + text-align: left; + width:801px; + } +#sidebar { + height: 100px; + background: red; + margin: 0px 0px 0px 0px; +} + +#sidebar { + height: 100%; +} + +#sidebar ul { + padding-left: 0px; + margin-left: 8px; +} +#content p { + margin-left: 20px; + margin-right: 20px; +} + +#content h1, #content h2, #content h3, #content h4 { + margin-left: 12px; +} + +#content ul { + margin-left: 28px; + margin-right: 20px; +} + +#content table { + margin-left: 20px; + margin-right: 20px; +} + +#content-left { + font-size: 0.8em; + float:left; + min-height: 373px; + width:564px; + margin-left: -1px; + padding: 8px 8px 8px 8px; + background: #b9c0b9 url('images/main.gif') no-repeat; +} + +#content-right { + background: #1c331e url(images/col2.gif) no-repeat; + min-height:373px; + width:38px; + float:right; +} + +#header { + background: #1c331e url('images/header-top.jpg'); + width:801px; + } + +#content { + float: right; + width: 618px; + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + text-align: left; + } + +.narrowcolumn .postmetadata { + text-align: center; + } + +.thread-alt { + background-color: #f8f8f8; +} + +.thread-even { + background-color: white; +} + +.depth-1 { +border: 1px solid #ddd; +} + +.even, .alt { + + border-left: 1px solid #ddd; +} + +#footer { + background: #e7e7e7 url('images/footer.jpg') no-repeat top; + border: none; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; + min-height: 90px; + } + +small { + font-family: Ubuntu, Arial, Helvetica, Sans-Serif; + line-height: 1.5em; + } + +h1, h2, h3 { + font-family: Ubuntu, 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; + font-weight: bold; + } + +h1 { + font-size: 4em; + text-align: center; + } + +#headerimg .description { + text-align: center; + } + +h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description { + text-decoration: none; + color: white; + } + +h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { + color: #333; + } + +h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { + text-decoration: none; + } + +#sidebar h2, #sidebar a:visited, #sidebar a:hover, #sidebar a { + color: red; + font-family: Ubuntu, 'Lucida Grande', Verdana, Sans-Serif; + font-weight: bold; +} + +.entry p a:visited { + color: #b85b5a; + } + +.sticky { + background: #f7f7f7; + padding: 0 10px 10px; + } + +.sticky h2 { + padding-top: 10px; + } + +.commentlist li, #commentform input, #commentform textarea { + font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif; + } + +.commentlist li ul li { +} + +.commentlist li { + font-weight: bold; +} + +.commentlist li .avatar { + float: right; + border: 1px solid #eee; + padding: 2px; + background: #fff; + } + +.commentlist cite, .commentlist cite a { + font-weight: bold; + font-style: normal; + font-size: 1.1em; + } + +.commentlist p { + font-weight: normal; + line-height: 1.5em; + text-transform: none; + } + +#commentform p { + font-family: Ubuntu, 'Lucida Grande', Verdana, Arial, Sans-Serif; + } + +.commentmetadata { + font-weight: normal; + } + +#sidebar { + font: 0.7em Ubuntu, 'Lucida Grande', Verdana, Arial, Sans-Serif; + float:left; + } + +small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike { + color: #777; + } + +code { + font: 1.1em 'Courier New', Courier, Fixed; + } + +acronym, abbr, span.caps +{ + font-size: 0.9em; + letter-spacing: .07em; + } + +a, h2 a:hover, h3 a:hover { + color: #06c; + text-decoration: none; + } + +a:hover { + color: #147; + text-decoration: underline; + } + +#wp-calendar #prev a, #wp-calendar #next a { + } + +#wp-calendar a { + text-decoration: none; + } + +#wp-calendar caption { + text-align: center; + } + +#wp-calendar th { + font-style: normal; + text-transform: capitalize; + } + +#page { + background-color: #1c331e; + padding: 0; + width: 801px; + border: 0px 0px 0px 0px; + } + +#header { + margin: 0 0 0 0px; + padding: 0; + height: 227px; + width: 801px; + } + +#headerimg { + margin: 0; + height: 200px; + width: 100%; + } + +.post { + margin: 0 0 0px; + text-align: justify; + } + +.post hr { + display: block; + } + +.widecolumn .post { + margin: 0; + } + +.narrowcolumn .postmetadata { + padding-top: 5px; + } + +.widecolumn .postmetadata { + margin: 0px 0; + } + +.widecolumn .smallattachment { + margin: 0 0 0 0;/*5px 5px 5px 0px;*/ +} + +.widecolumn .attachment { + text-align: center; + margin: 0px 0px; +} + +.postmetadata { + clear: both; +} + +.clear { + clear: both; +} + +#footer { + margin: 0px 0px 0px 0px; + padding: 0; + width: 801px; + clear: both; + } + +#footer p { + margin: 0 0 0 0; + padding: 0 0 0 0; + text-align: center; + } + +h1 { + margin: 0; + } + +h2.pagetitle { + margin-top: 30px; + text-align: center; +} + +#sidebar h2 { + margin: 0px 0 0; + padding: 0; + } + +h3 { + padding: 0; + } + +h3.comments { + padding: 0; + margin: 40px auto 20px ; + } +/* End Headers */ + + + +/* Begin Images */ +p img { + padding: 0; + max-width: 100%; + } + +/* Using 'class="alignright"' on an image will (who would've + thought?!) align the image to the right. And using 'class="centered', + will of course center the image. This is much better than using + align="center", being much more futureproof (and valid) */ + +img.centered { + display: block; + margin-left: auto; + margin-right: auto; + } + +img.alignright { + padding: 4px; + margin: 0 0 2px 7px; + display: inline; + } + +img.alignleft { + padding: 4px; + margin: 0 7px 2px 0; + display: inline; + } + +.alignright { + float: right; + } + +.alignleft { + float: left; + } +/* End Images */ + + + +/* Begin Lists + + Special stylized non-IE bullets + Do not work in Internet Explorer, which merely default to normal bullets. */ + +html>body .entry ul { + margin-left: 0px; + padding: 0 0 0 0px; + list-style: none; + padding-left: 0px; + text-indent: -10px; + } + +html>body .entry li { + margin: 7px 0 8px 10px; + } + +.entry ul li:before, #sidebar ul ul li:before { + content: "\00BB \0020"; + } + +.entry ol { + padding: 0 0 0 35px; + margin: 0; + } + +.entry ol li { + margin: 0; + padding: 0; + } + +.postmetadata ul, .postmetadata li { + display: inline; + list-style-type: none; + list-style-image: none; + } + +#sidebar ul li { + list-style-type: none; + list-style-image: none; + margin-bottom: 15px; + } + +#sidebar ul { + color: red; + } + +ol li, #sidebar ul ol li { + list-style: decimal outside; + } + +/* End Entry Lists */ + + + +/* Begin Form Elements */ +#searchform { + margin: 10px auto; + padding: 5px 3px; + text-align: center; + } + +#searchform { + width: 100px; + padding: 2px; + } + +#sidebar #searchsubmit { + padding: 0px; + } + +.entry form { /* This is mainly for password protected posts, makes them look better. */ + text-align:center; + } + +select { + width: 130px; + } + +#commentform input { + width: 170px; + padding: 2px; + margin: 5px 5px 1px 0; + } + +#commentform { + margin: 5px 10px 0 0; + } +#commentform textarea { + width: 100%; + padding: 2px; + } +#respond:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + } +#commentform #submit { + margin: 0 0 5px auto; + float: right; + } +/* End Form Elements */ + + + +/* Begin Comments*/ +.alt { + margin: 0; + padding: 10px; + } + +.commentlist { + padding: 0; + text-align: justify; + } + +.commentlist li { + margin: 15px 0 10px; + padding: 5px 5px 10px 10px; + list-style: none; + + } +.commentlist li ul li { + margin-right: -5px; + margin-left: 10px; +} + +.commentlist p { + margin: 10px 5px 10px 0; +} +.children { padding: 0; } + +#commentform p { + margin: 5px 0; + } + +.nocomments { + text-align: center; + margin: 0; + padding: 0; + + } + +.commentmetadata { + margin: 0; + display: block; + } +/* End Comments */ + + + +/* Begin Sidebar */ +#sidebar +{ + padding: 0px 0 0px 0; + background: #1c331e url('images/bg-left.gif') no-repeat; + width: 182px; + } + +#sidebar form { + margin: 0; + } +/* End Sidebar */ + + + +/* Begin Calendar */ +#wp-calendar { + empty-cells: show; + margin: 10px auto 0; + width: 155px; + } + +#wp-calendar #next a { + padding-right: 10px; + text-align: right; + } + +#wp-calendar #prev a { + padding-left: 10px; + text-align: left; + } + +#wp-calendar a { + display: block; + } + +#wp-calendar caption { + text-align: center; + width: 100%; + } + +#wp-calendar td { + padding: 3px 0; + text-align: center; + } + +#wp-calendar td.pad:hover { /* Doesn't work in IE */ + background-color: #fff; } +/* End Calendar */ + + + +/* Begin Various Tags & Classes */ +acronym, abbr, span.caps { + cursor: help; + } + +acronym, abbr { + border-bottom: 1px dashed #999; + } + +blockquote { + margin: 15px 30px 0 10px; + padding-left: 20px; + border-left: 5px solid #ddd; + } + +blockquote cite { + margin: 5px 0 0; + display: block; + } + +.center { + text-align: center; + } + +.hidden { + display: none; + } + +.screen-reader-text { + position: absolute; + left: -1000em; +} + +hr { + display: none; + } + +a img { + border: none; + } + +.navigation { + display: block; + text-align: center; + margin-top: 10px; + margin-bottom: 60px; + } +/* End Various Tags & Classes*/ + + +/* Captions */ +.aligncenter, +div.aligncenter { + display: block; + margin-left: auto; + margin-right: auto; +} + +.wp-caption { + border: 1px solid #ddd; + text-align: center; + background-color: #f3f3f3; + padding-top: 4px; + margin: 10px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +.wp-caption img { + margin: 0; + padding: 0; + border: 0 none; +} + +.wp-caption p.wp-caption-text { + line-height: 17px; + padding: 0 4px 5px; + margin: 0; +} +/* End captions */ + + +/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you. + It won't be a stylish marriage, I can't afford a carriage. + But you'll look sweet upon the seat of a bicycle built for two." */ + diff --git a/blog/wp-content/themes/vvd/style.css~ b/blog/wp-content/themes/vvd/style.css~ new file mode 100755 index 0000000..9c5aa70 --- /dev/null +++ b/blog/wp-content/themes/vvd/style.css~ @@ -0,0 +1,679 @@ +/* +Theme Name: vvd +Theme URI: http://wordpress.org/ +Description: The VDD Theme. +Version: 1.0 +Author: Jean-Philippe Orsini. +Author URI: http://binarybonsai.com/ +Tags: blue, custom header, fixed width, two columns, widgets +*/ + +body { + font-family: Ubuntu, 'Lucida Grande', Verdana, Arial, Sans-Serif; + background: #1c331e; + color: #333; + text-align: center; + margin-left: 10%; + } + +#page { + background: #b9c0b9 url('images/fond.jpg') repeat-y; + border: 0px 0px 0px 0px; + text-align: left; + width:801px; + } +#sidebar { + height: 100px; + background: red; + margin: 0px 0px 0px 0px; +} + +#sidebar { + height: 100%; +} + +#sidebar ul { + padding-left: 0px; + margin-left: 8px; +} +#content p { + margin-left: 20px; + margin-right: 20px; +} + +#content h1, #content h2, #content h3, #content h4 { + margin-left: 12px; +} + +#content ul { + margin-left: 28px; + margin-right: 20px; +} + +#content table { + margin-left: 20px; + margin-right: 20px; +} + +#content-left { + font-size: 0.8em; + float:left; + min-height: 373px; + width:564px; + margin-left: -1px; + padding: 8px 8px 8px 8px; + background: #b9c0b9 url('images/main.gif') no-repeat; +} + +#content-right { + background: #1c331e url(images/col2.gif) no-repeat; + min-height:373px; + width:38px; + float:right; +} + +#header { + background: #1c331e url('images/header-top.jpg'); + width:801px; + } + +#content { + float: right; + width: 618px; + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + text-align: left; + } + +.narrowcolumn .postmetadata { + text-align: center; + } + +.thread-alt { + background-color: #f8f8f8; +} + +.thread-even { + background-color: white; +} + +.depth-1 { +border: 1px solid #ddd; +} + +.even, .alt { + + border-left: 1px solid #ddd; +} + +#footer { + background: #e7e7e7 url('images/footer.jpg') no-repeat top; + border: none; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; + min-height: 90px; + } + +small { + font-family: Ubuntu, Arial, Helvetica, Sans-Serif; + line-height: 1.5em; + } + +h1, h2, h3 { + font-family: Ubuntu, 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; + font-weight: bold; + } + +h1 { + font-size: 4em; + text-align: center; + } + +#headerimg .description { + text-align: center; + } + +h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description { + text-decoration: none; + color: white; + } + +h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { + color: #333; + } + +h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { + text-decoration: none; + } + +#sidebar h2, #sidebar a:visited, #sidebar a:hover, #sidebar a { + color: red; + font-family: Ubuntu, 'Lucida Grande', Verdana, Sans-Serif; + font-weight: bold; +} + +.entry p a:visited { + color: #b85b5a; + } + +.sticky { + background: #f7f7f7; + padding: 0 10px 10px; + } + +.sticky h2 { + padding-top: 10px; + } + +.commentlist li, #commentform input, #commentform textarea { + font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif; + } + +.commentlist li ul li { +} + +.commentlist li { + font-weight: bold; +} + +.commentlist li .avatar { + float: right; + border: 1px solid #eee; + padding: 2px; + background: #fff; + } + +.commentlist cite, .commentlist cite a { + font-weight: bold; + font-style: normal; + font-size: 1.1em; + } + +.commentlist p { + font-weight: normal; + line-height: 1.5em; + text-transform: none; + } + +#commentform p { + font-family: Ubuntu, 'Lucida Grande', Verdana, Arial, Sans-Serif; + } + +.commentmetadata { + font-weight: normal; + } + +#sidebar { + font: 0.7em Ubuntu, 'Lucida Grande', Verdana, Arial, Sans-Serif; + float:left; + } + +small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike { + color: #777; + } + +code { + font: 1.1em 'Courier New', Courier, Fixed; + } + +acronym, abbr, span.caps +{ + font-size: 0.9em; + letter-spacing: .07em; + } + +a, h2 a:hover, h3 a:hover { + color: #06c; + text-decoration: none; + } + +a:hover { + color: #147; + text-decoration: underline; + } + +#wp-calendar #prev a, #wp-calendar #next a { + } + +#wp-calendar a { + text-decoration: none; + } + +#wp-calendar caption { + text-align: center; + } + +#wp-calendar th { + font-style: normal; + text-transform: capitalize; + } + +#page { + background-color: #1c331e; + padding: 0; + width: 801px; + border: 0px 0px 0px 0px; + } + +#header { + margin: 0 0 0 0px; + padding: 0; + height: 227px; + width: 801px; + } + +#headerimg { + margin: 0; + height: 200px; + width: 100%; + } + +.post { + margin: 0 0 0px; + text-align: justify; + } + +.post hr { + display: block; + } + +.widecolumn .post { + margin: 0; + } + +.narrowcolumn .postmetadata { + padding-top: 5px; + } + +.widecolumn .postmetadata { + margin: 0px 0; + } + +.widecolumn .smallattachment { + margin: 0 0 0 0;/*5px 5px 5px 0px;*/ +} + +.widecolumn .attachment { + text-align: center; + margin: 0px 0px; +} + +.postmetadata { + clear: both; +} + +.clear { + clear: both; +} + +#footer { + margin: 0px 0px 0px 0px; + padding: 0; + width: 801px; + clear: both; + } + +#footer p { + margin: 0 0 0 0; + padding: 0 0 0 0; + text-align: center; + } + +h1 { + margin: 0; + } + +h2.pagetitle { + margin-top: 30px; + text-align: center; +} + +#sidebar h2 { + margin: 0px 0 0; + padding: 0; + } + +h3 { + padding: 0; + } + +h3.comments { + padding: 0; + margin: 40px auto 20px ; + } +/* End Headers */ + + + +/* Begin Images */ +p img { + padding: 0; + max-width: 100%; + } + +/* Using 'class="alignright"' on an image will (who would've + thought?!) align the image to the right. And using 'class="centered', + will of course center the image. This is much better than using + align="center", being much more futureproof (and valid) */ + +img.centered { + display: block; + margin-left: auto; + margin-right: auto; + } + +img.alignright { + padding: 4px; + margin: 0 0 2px 7px; + display: inline; + } + +img.alignleft { + padding: 4px; + margin: 0 7px 2px 0; + display: inline; + } + +.alignright { + float: right; + } + +.alignleft { + float: left; + } +/* End Images */ + + + +/* Begin Lists + + Special stylized non-IE bullets + Do not work in Internet Explorer, which merely default to normal bullets. */ + +html>body .entry ul { + margin-left: 0px; + padding: 0 0 0 0px; + list-style: none; + padding-left: 0px; + text-indent: -10px; + } + +html>body .entry li { + margin: 7px 0 8px 10px; + } + +.entry ul li:before, #sidebar ul ul li:before { + content: "\00BB \0020"; + } + +.entry ol { + padding: 0 0 0 35px; + margin: 0; + } + +.entry ol li { + margin: 0; + padding: 0; + } + +.postmetadata ul, .postmetadata li { + display: inline; + list-style-type: none; + list-style-image: none; + } + +#sidebar ul li { + list-style-type: none; + list-style-image: none; + margin-bottom: 15px; + } + +#sidebar ul { + color: red; + } + +ol li, #sidebar ul ol li { + list-style: decimal outside; + } + +/* End Entry Lists */ + + + +/* Begin Form Elements */ +#searchform { + margin: 10px auto; + padding: 5px 3px; + text-align: center; + } + +#searchform { + width: 100px; + padding: 2px; + } + +#sidebar #searchsubmit { + padding: 0px; + } + +.entry form { /* This is mainly for password protected posts, makes them look better. */ + text-align:center; + } + +select { + width: 130px; + } + +#commentform input { + width: 170px; + padding: 2px; + margin: 5px 5px 1px 0; + } + +#commentform { + margin: 5px 10px 0 0; + } +#commentform textarea { + width: 100%; + padding: 2px; + } +#respond:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; + } +#commentform #submit { + margin: 0 0 5px auto; + float: right; + } +/* End Form Elements */ + + + +/* Begin Comments*/ +.alt { + margin: 0; + padding: 10px; + } + +.commentlist { + padding: 0; + text-align: justify; + } + +.commentlist li { + margin: 15px 0 10px; + padding: 5px 5px 10px 10px; + list-style: none; + + } +.commentlist li ul li { + margin-right: -5px; + margin-left: 10px; +} + +.commentlist p { + margin: 10px 5px 10px 0; +} +.children { padding: 0; } + +#commentform p { + margin: 5px 0; + } + +.nocomments { + text-align: center; + margin: 0; + padding: 0; + } + +.commentmetadata { + margin: 0; + display: block; + } +/* End Comments */ + + + +/* Begin Sidebar */ +#sidebar +{ + padding: 0px 0 0px 0; + background: #1c331e url('images/bg-left.gif') no-repeat; + width: 182px; + } + +#sidebar form { + margin: 0; + } +/* End Sidebar */ + + + +/* Begin Calendar */ +#wp-calendar { + empty-cells: show; + margin: 10px auto 0; + width: 155px; + } + +#wp-calendar #next a { + padding-right: 10px; + text-align: right; + } + +#wp-calendar #prev a { + padding-left: 10px; + text-align: left; + } + +#wp-calendar a { + display: block; + } + +#wp-calendar caption { + text-align: center; + width: 100%; + } + +#wp-calendar td { + padding: 3px 0; + text-align: center; + } + +#wp-calendar td.pad:hover { /* Doesn't work in IE */ + background-color: #fff; } +/* End Calendar */ + + + +/* Begin Various Tags & Classes */ +acronym, abbr, span.caps { + cursor: help; + } + +acronym, abbr { + border-bottom: 1px dashed #999; + } + +blockquote { + margin: 15px 30px 0 10px; + padding-left: 20px; + border-left: 5px solid #ddd; + } + +blockquote cite { + margin: 5px 0 0; + display: block; + } + +.center { + text-align: center; + } + +.hidden { + display: none; + } + +.screen-reader-text { + position: absolute; + left: -1000em; +} + +hr { + display: none; + } + +a img { + border: none; + } + +.navigation { + display: block; + text-align: center; + margin-top: 10px; + margin-bottom: 60px; + } +/* End Various Tags & Classes*/ + + +/* Captions */ +.aligncenter, +div.aligncenter { + display: block; + margin-left: auto; + margin-right: auto; +} + +.wp-caption { + border: 1px solid #ddd; + text-align: center; + background-color: #f3f3f3; + padding-top: 4px; + margin: 10px; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +.wp-caption img { + margin: 0; + padding: 0; + border: 0 none; +} + +.wp-caption p.wp-caption-text { + line-height: 17px; + padding: 0 4px 5px; + margin: 0; +} +/* End captions */ + + +/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you. + It won't be a stylish marriage, I can't afford a carriage. + But you'll look sweet upon the seat of a bicycle built for two." */ +