added translucient-fluidity

From the beginnings of Friendica, a derived theme from duepuntozero (so this has to be available in the Friendica themes directory).
Inspired by a Wordpress theme.
This commit is contained in:
Tobias Diekershoff 2022-06-21 08:55:31 +02:00
commit 91771ae8ce
Signed by: tobias
GPG key ID: 25FE376FF17694A1
24 changed files with 719 additions and 0 deletions

View file

@ -0,0 +1,21 @@
<?php get_header(); ?>
<ul id="nav">
<li <?php if(is_home()){echo 'class="first current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('title_li=&depth=1');?>
</ul>
<div id="container">
<div id="content">
<h2 class="center">Error 404 - Not Found</h2>
<p>The document or page does not exist! Please search using the form below <br />
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" name="s" id="s" size="15" />
<input type="submit" value="<?php _e('Go'); ?>" />
</form></p>
<a href="<?php bloginfo ('home') ?>" class="alignleft">Blog Home</a>
</div>
<div id="menu">
<?php get_sidebar();?>
</div>
<?php get_footer(); ?>

View file

@ -0,0 +1,8 @@
Translucent Fluidity 2
======================
WordPress theme, originally made by [arwen54][1] that can be found in the
[WP-Themes Directory][2].
[1]:http://profiles.wordpress.org/arwen54/
[2]:https://wordpress.org/extend/themes/translucent-fluidity-2

View file

@ -0,0 +1,105 @@
<?php // Do not delete these lines
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
<?php
return;
}
}
/* This variable is for alternating comment background */
$oddcomment = 'class="alt" ';
?>
<!-- You can start editing here. -->
<?php if ($comments) : ?>
<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
<ol class="commentlist">
<?php foreach ($comments as $comment) : ?>
<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
<?php echo get_avatar( $comment, 35 ); ?>
<cite><?php comment_author_link() ?></cite>
<?php if ($comment->comment_approved == '0') : ?>
<em>Your comment is awaiting moderation.</em>
<?php endif; ?>
<br />
<small class="commentmetadata"><?php comment_date('F jS, Y') ?> at <?php comment_time() ?> <?php edit_comment_link('edit','&nbsp;&nbsp;',''); ?></small>
<?php comment_text() ?>
</li>
<?php
/* Changes every other comment to a different class */
$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
?>
<?php endforeach; /* end for each comment */ ?>
</ol>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments">Comments are closed.</p>
<?php endif; ?>
<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
<h3 id="respond">Leave a Reply</h3>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Log out &raquo;</a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small>Website</small></label></p>
<?php endif; ?>
<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
<p><textarea name="comment" id="comment" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>

View file

@ -0,0 +1,13 @@
<div id="footer">
<p>
Original Template and WordPress Theme by<br /> <a href="http://www.karenblundell.com" target="blank">Karen Blundell (aka arwen54)</a>
</p>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>

View file

@ -0,0 +1,6 @@
<?php
if ( function_exists('register_sidebars') )
register_sidebar();
?>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?>
<?php if(wp_title(' ', false)) { echo '--'; } ?>
<?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
</head>
<body>
<div id="header">
<h1><a href="<?php bloginfo('home'); ?>"><?php bloginfo('name'); ?></a></h1>
<div id="desc"><?php bloginfo('description'); ?></div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

View file

@ -0,0 +1,41 @@
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<ul id="nav">
<li <?php if(is_home()){echo 'class="first current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('title_li=&depth=1');?>
</ul>
<div id="container">
<div id="content">
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content('Read the rest of this entry &raquo;'); ?>
</div>
<p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
<p><?php the_tags(); ?></p>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p align="center"><?php next_posts_link('&laquo; Previous Entries') ?> &nbsp; <?php previous_posts_link('Next Entries &raquo;') ?></p>
<?php else : ?>
<h2 align="center">Not Found</h2>
<p align="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div>
<div id="menu">
<?php get_sidebar();?>
</div>
<?php get_footer(); ?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View file

@ -0,0 +1,55 @@
<!-- begin sidebar -->
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
<li><h2>Recent Posts</h2>
<ul><?php wp_get_archives('type=postbypost&limit=10'); ?></ul></li>
<?php get_links_list(); ?>
<li><h2>Categories</h2>
<ul><?php wp_list_cats(); ?></ul></li>
<li><h2>Archives</h2>
<ul><?php wp_get_archives('type=monthly'); ?></ul></li>
<li><h2>Meta</h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="feed:<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="feed:<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
<li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
<li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">WP</abbr></a></li>
<?php wp_meta(); ?>
</ul></li>
<li><h2>Search</h2>
<ul><li>
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" name="s" id="s" size="15" />
<input type="submit" value="<?php _e('Go'); ?>" />
</form></li></ul></li>
<?php endif; ?>
</ul>
<!-- end sidebar -->

View file

@ -0,0 +1,42 @@
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<ul id="nav">
<li <?php if(is_home()){echo 'class="first current_page_item"';}?>><a href="<?php bloginfo('siteurl'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('title_li=&depth=1');?>
</ul>
<div id="container">
<div id="content">
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content('Read the rest of this entry &raquo;'); ?>
</div>
<p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
<p><?php the_tags(); ?></p>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p align="center"><?php next_posts_link('&laquo; Previous Entries') ?> &nbsp; <?php previous_posts_link('Next Entries &raquo;') ?></p>
<?php else : ?>
<h2 align="center">Not Found</h2>
<p align="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div>
<div id="menu">
<?php get_sidebar();?>
</div>
<?php get_footer(); ?>

View file

@ -0,0 +1,92 @@
/*
Theme Name: Translucent Fluidity 2
Version: 3.1
Description: A fluid two-column style that's widget ready and ported to WordPress from my original open source template
Author: Karen Blundell
Author URI: http://karenblundell.com
Tags: flowers, white, two columns, fluid width, widget ready, right sidebar
*/
body { background: #FFF url('images/back8.jpg') no-repeat top left fixed; margin: 0 0 20px 0; padding: 0; font-family: Verdana, sans-serif; font-size: 0.95em; color: #000; line-height: 1.5em; }
#header { width: 80%; background:transparent; margin: 0 auto; padding: 0; height: 101px; }
#header h1 { padding: 30px 0 0 0; color: #999; font-size: 1.4em; letter-spacing: 3px; margin: 0; text-align: right; }
#header a, #header a:visited { color: #999; text-decoration: none; }
#header a:hover { color: #666 }
#desc { padding: 0px 10px; margin: 0 ; text-align: right; }
#nav { position: absolute; top: 85px; left: 10%; width: auto; padding: 0; margin: 0 auto; font: bold 11px Verdana, sans-serif; height: 25px; }
#nav li { list-style: none; margin: 0; padding: 0; display: inline; }
#nav li a { padding: 3px; margin: 0; border: 1px solid #B78E96; border-bottom: none;
background: transparent url(images/trans6.gif) repeat; text-decoration: none; }
#nav li a:link { color: #000; }
#nav li a:visited { color: #fff; }
#nav li a:hover { color: #fff; background: transparent url(images/trans7.gif) repeat; }
#nav li a.active { background: transparent url(images/trans7.gif) repeat; border-bottom: 1px solid #999; }
#container { background: transparent url('images/trans5.gif') repeat; width: 80%; margin: 0 auto; padding: 0; }
#content { margin: 0; padding: 10px; width: 59%; float: left; }
#content h1 { color: #999; border-bottom: 1px solid #999; margin: 0; padding: 10px 0 1px 0; font-size: 1.2em; }
#content .post p { padding: 0 0 15px 0 }
#content .post blockquote { padding-top: 0px; padding-bottom: 0px; }
#content .post blockquote p { margin: 5px 0 0 0; padding: 10px 5px 10px 5px; border-left: 2px solid #fff; }
#content .post li { list-style-type: disc; color: #000; margin: 0px 5px 0px 5px; padding: 0px 5px 5px 0px; }
#content .post ol { margin: 0px; padding: 0 5px 0 40px; }
#content .post ol li { list-style-type: decimal; color: #000; margin: 0px 5px 0px 5px; padding: 0px 5px 5px 0px; }
#content .post img { display: inline; border:0; margin:0 7px; padding:0; vertical-align: middle; }
#menu { float: left; width: 30.5%; margin: 17px 0 0 20px; padding: 5px; }
#menu ul { padding: 0; list-style: none; margin: 0; }
#menu ul li { list-style-type: none; margin: 0px; padding: 0px 0px 15px 0px; }
#menu ul ul li { list-style-type: none; color: #999; margin: 0px 0px 0px 5px; padding: 0px 5px 5px 5px; font-size: 0.75em; line-height: 1.2em; }
#menu ul.children { margin: 0px; padding: 5px 5px 0px 0px; }
#menu ul.children li { margin: 0px; padding: 0px 7px 5px 5px; }
#footer { background: transparent; padding: 5px 10px 2px 0; text-align: right; font-size: 0.75em; clear: both; line-height: 1.15em; }
a, a:visited { background: transparent; color: #999; text-decoration: none; font-weight: bold; }
a:hover, a:active { background: transparent; color: #666; }
h2 { color: #666; margin: 0 0 10px 0; padding: 0; font-size: 0.95em; border-bottom: 1px solid #666; }
#commentlist { margin: 0px; padding: 0px; }
#commentlist li { list-style-type: none; margin: 10px 0px 10px 0px; padding: 5px 5px 0px 5px; border-bottom: 1px solid #666; }
#commentlist p { margin: 0px; padding: 10px 5px; }
#commentlist .commentmeta { font-weight: bold; margin-bottom: 5px; font-size: 0.75em; }
#commentlist .alt { border-bottom: 1px solid #666; }
#commentlist blockquote { border: 1px solid #fff; }
#commentlist .alt blockquote { border-color: #fff; }
#commentform p { margin: 10px 0px 0px 0px; padding: 0px; }
#commentform textarea { width: 350px; }
.meta { margin: -2px 0px 0px 0px; padding: 0; font-size: 0.75em; font-weight: bold; }
.postmetadata { font-size: 0.75em; font-weight: bold; text-align: center; }
form { margin: 0px; padding: 0px; }
form input, form textarea, form submit { border: 1px solid #B78E96; background-color: transparent; }
acronym { cursor: help; border-bottom: 1px dotted #B78E96 }
img.centered {display:block; margin: 0 auto 5px auto; border:0; padding:0; }
img.alignright { display: inline; border:0; margin:5px 7px 0 7px; padding:0; vertical-align: middle; }
img.alignleft { display: inline; border:0; margin:5px 7px 0 7px; padding:0; vertical-align: middle; }
img a { border: 0; }
.alignleft { float:left; text-align:left; }
.alignright { float:right; text-align:right; }
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}