view release on metacpan or search on metacpan
t/test-archive-links.t view on Meta::CPAN
    use_ok('Chronicle::URI');
}
#
#  Create some data
#
my %data;
my $link = "/some_blog_post.html";
$data{ 'body' } = "This is **bold**";
$data{ 'link' } = Chronicle::URI->new($link);
$data{ 'date' } = scalar( localtime() );
#
#  Run through the plugin and verify the link has a date-prefix now
#
my $out = Chronicle::Plugin::Archived::on_insert( undef, data => \%data );
t/test-markdown-formatter.t view on Meta::CPAN
#  Load the module.
#
BEGIN {use_ok('Chronicle::Plugin::Markdown');}
require_ok('Chronicle::Plugin::Markdown');
#
#  Create some data
#
my %data;
$data{ 'body' } = "This is **bold**";
#
#  Run through the plugin and verify that the input hasn't changed.
#
#  (Because no "format" key exists in the hash.)
#
my $f = Chronicle::Plugin::Markdown::on_insert( undef, data => \%data );
is( $f->{ 'body' }, $data{ 'body' },
    "Body is unchanged with no formatter set" );
t/test-markdown-formatter.t view on Meta::CPAN
#  Now we'll set a format type, and ensure that this has caused
# the expected expansion to happen.
#
foreach my $type (qw! markdown MARKDOWN MarkDoWN !)
{
    $data{ 'format' } = $type;
    my $out = Chronicle::Plugin::Markdown::on_insert( undef, data => \%data );
    is( $out->{ 'body' },
        "<p>This is <strong>bold</strong></p>\n",
        "Body has been processed with formatter:" . $type );
}
t/test-publish-future.t view on Meta::CPAN
#
BEGIN {use_ok('Chronicle::Plugin::PostSpooler');}
require_ok('Chronicle::Plugin::PostSpooler');
#
#  Create a fake blog-post
#
my %data;
$data{ 'body' }    = "This is **bold**";
$data{ 'publish' } = scalar( localtime() );
$data{ 'publish' } =~ s/(20[0-9]+)/2099/g;
#
#  Run through the plugin and verify the the post won't be added.
#
my $out = Chronicle::Plugin::PostSpooler::on_insert( undef, data => \%data );
is( $out, undef, "The future post won't be made live" );
t/test-textile-formatter.t view on Meta::CPAN
#  Load the module.
#
BEGIN {use_ok('Chronicle::Plugin::Textile');}
require_ok('Chronicle::Plugin::Textile');
#
#  Create some data
#
my %data;
$data{ 'body' } = "This is *bold*";
#
#  Run through the plugin and verify that the input hasn't changed.
#
#  (Because no "format" key exists in the hash.)
#
my $f = Chronicle::Plugin::Textile::on_insert( undef, data => \%data );
is( $f->{ 'body' }, $data{ 'body' },
    "Body is unchanged with no formatter set" );
t/test-textile-formatter.t view on Meta::CPAN
#  Now we'll set a format type, and ensure that this has caused
# the expected expansion to happen.
#
foreach my $type (qw! Textile TEXTILE textile !)
{
    $data{ 'format' } = $type;
    my $out = Chronicle::Plugin::Textile::on_insert( undef, data => \%data );
    is( $out->{ 'body' },
        "<p>This is <strong>bold</strong></p>",
        "Body has been processed with formatter:" . $type );
}
themes/blog.steve.org.uk/inc/style.inc view on Meta::CPAN
<style type="text/css">
pre { overflow: auto; background: silver; border:solid; border-width:thin; padding: 5px  10px; }
dt { font-weight: bold; }
#blog-title a { text-decoration: none; color: black;}
#blog-title span { font-size: 15px; }
td.collapsable { display: none; }
@media only screen and (min-width: 800px) { td.collapsable { display: block; } }
</style>
themes/bs2/static/css/bootstrap-responsive.css view on Meta::CPAN
  .nav-collapse .nav > .divider-vertical {
    display: none;
  }
  .nav-collapse .nav .nav-header {
    color: #777777;
    text-shadow: none;
  }
  .nav-collapse .nav > li > a,
  .nav-collapse .dropdown-menu a {
    padding: 9px 15px;
    font-weight: bold;
    color: #777777;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
  }
  .nav-collapse .btn {
    padding: 4px 10px 4px;
    font-weight: normal;
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
themes/bs2/static/css/bootstrap.css view on Meta::CPAN
  font-size: 21px;
  font-weight: 200;
  line-height: 30px;
}
small {
  font-size: 85%;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
cite {
  font-style: normal;
}
themes/bs2/static/css/bootstrap.css view on Meta::CPAN
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0;
  font-family: inherit;
  font-weight: bold;
  line-height: 20px;
  color: inherit;
  text-rendering: optimizelegibility;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
themes/bs2/static/css/bootstrap.css view on Meta::CPAN
dl {
  margin-bottom: 20px;
}
dt,
dd {
  line-height: 20px;
}
dt {
  font-weight: bold;
}
dd {
  margin-left: 10px;
}
.dl-horizontal {
  *zoom: 1;
}
themes/bs2/static/css/bootstrap.css view on Meta::CPAN
.table th,
.table td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}
.table th {
  font-weight: bold;
}
.table thead th {
  vertical-align: bottom;
}
.table caption + thead tr:first-child th,
.table caption + thead tr:first-child td,
.table colgroup + thead tr:first-child th,
.table colgroup + thead tr:first-child td,
themes/bs2/static/css/bootstrap.css view on Meta::CPAN
}
.icon-camera {
  background-position: -120px -48px;
}
.icon-font {
  background-position: -144px -48px;
}
.icon-bold {
  background-position: -167px -48px;
}
.icon-italic {
  background-position: -192px -48px;
}
.icon-text-height {
  background-position: -216px -48px;
}
themes/bs2/static/css/bootstrap.css view on Meta::CPAN
          transition: height 0.35s ease;
}
.collapse.in {
  height: auto;
}
.close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
  color: #000000;
themes/bs2/static/css/bootstrap.css view on Meta::CPAN
}
.nav > .pull-right {
  float: right;
}
.nav-header {
  display: block;
  padding: 3px 15px;
  font-size: 11px;
  font-weight: bold;
  line-height: 20px;
  color: #999999;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.nav li + .nav-header {
  margin-top: 9px;
}
themes/bs2/static/css/bootstrap.css view on Meta::CPAN
.media-list {
  margin-left: 0;
  list-style: none;
}
.label,
.badge {
  display: inline-block;
  padding: 2px 4px;
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  vertical-align: baseline;
  background-color: #999999;
}
.label {
  -webkit-border-radius: 3px;
themes/bs2/static/css/mezzanine.css view on Meta::CPAN
footer li li {float:none; clear:both; width:120px; padding:10px 0; margin-right:30px;}
footer p {margin-top:40px; text-align:center; font-size:12px;}
footer .separator {opacity:0.3; margin:0 10px;}
@media (max-width: 979px) {footer .separator {display:block; visibility:hidden; width:1px; height:1px;}}
.pagination {margin:40px 0;}
.pagination p {float:left;}
.alert {margin-top:15px;}
/* Forms */
.control-group label {font-weight:bold; margin-bottom:3px;}
.control-group ul, .control-group li {list-style-type:none; display:inline; margin:0;}
/* radio/checkbox groups */
.control-group li label {width:auto !important; float:none !important; display:inline;
                         font-weight:normal; vertical-align:middle;
                         padding:0 !important; line-height:27px; margin-right:10px;}
.control-group li input {width:auto !important; margin-top:-2px;}
.input ul {margin:0;}
.input li {list-style-type:none;}
.input li input {width:auto;}
.input label {font-weight:normal;}
themes/bs2/static/css/mezzanine.css view on Meta::CPAN
.recent-posts li {margin:5px 0;}
.blog-list-detail {margin-bottom:20px; padding-bottom:30px; line-height:25px;
                   border-bottom:1px dashed #ccc;}
.middle .tags {margin:40px 0 20px 0;}
.tag, .tags li {display:inline-block; white-space:nowrap; margin-right:5px;}
.tag-weight-1 {font-size:90%;}
.tag-weight-2 {font-size:120%;}
.tag-weight-3 {font-size:150%;}
.tag-weight-4 {font-size:180%;}
.share-twitter, .share-facebook, .share-twitter:hover, .share-facebook:hover {
    color:#fff; margin:5px 5px 30px 0; font-weight:bold; text-shadow:none;}
.share-twitter {background:#00a3d4 !important;}
.share-facebook {background:#4667a6 !important;}
.featured-thumb {float:right; width:90px; height:90px; margin:0 0 10px 10px;}
/* Tweets */
.tweets img {float:left; margin-right:8px; width:32px; height:32px;}
.tweets li {margin-bottom:15px;}
.timespan {color:#bbb; margin-left:0 !important; float:none !important;}
themes/default/static/style.css view on Meta::CPAN
        padding-top: 15px;
        padding-bottom: 15px;
}
div.entry div.body {
	padding: 10px 10px;
}
div.entry .title {
	background-color: #eee;
	border-bottom: 1px solid rgb(128, 128, 128);
	font-weight: bold;
	font-size: 120%;
	padding: 0.26ex 10px;
	
}
div.entry div.date {
        text-align: right;
}
div.entry div.title a {
	color: black !important;
	text-decoration: none !important;
themes/leftbar/inc/style.inc view on Meta::CPAN
<style type="text/css">
pre { overflow: auto; background: silver; border:solid; border-width:thin; padding: 5px  10px; }
dt { font-weight: bold; }
#blog-title a { text-decoration: none; color: black;}
#blog-title span { font-size: 15px; }
td.collapsable { display: none; }
@media only screen and (min-width: 800px) { td.collapsable { display: block; } }
</style>