Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
110 lines (87 sloc) 3.47 KB
type title author date tags
The Kremalicious MarsEdit Style
Matthias Kretschmann
2008-08-22 17:04:19 +0000

The Kremalicious MarsEdit StylePersonally I blog everything with RedSweater's awesome application MarsEdit. MarsEdit has a cool preview window included where you can see your writing live while you type. The formatting of this preview is based on simple HTML and CSS so the style is pretty customizable.

A while ago I've made a custom style for the blog on and would like to share this style with you. The style is based on the colors used on with a black background and light grey text on top of it. The links have the same blueish hover style as on my website:

The Kremalicious MarsEdit Style

Here's how to apply the style for your blog preview in MarsEdit:

In MarsEdit main window right-click (or ctrl + click) in the sidebar on the blog where you want to have my style applied to and choose Edit Preview Template. The Preview Template editor should open where you can customize the style of the preview with the css instructions in the header.

Just copy and paste the following HTML and CSS into your Preview Template editor. If something goes wrong with the source formatting, I've also provided a txt file with the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
    <title>#weblogName#: #title#</title>
      body {
        margin: 0;
        background-color: #000;

      a {
        color: #778caa;
        text-decoration: none;

      a:hover {
        background-color: #778caa;
        color: #000;
        text-shadow: 0px 1px 1px #ddd;

      #title {
        color: #778caa;
        background-color: #333;
        margin: 0;
        font: normal 2.1em 'HelveticaNeue-UltraLight', Helvetica, sans-serif;

      #title a {
        display: block;
        position: relative;
        padding: 10px 20px;

      #title a:hover {
        text-shadow: 0px 1px 1px #b3b3b3;

      #content {
        font: 1em 'Lucida Grande', Lucida, Verdana, sans-serif;
        color: #ddd;
        padding: 10px 20px;

      #meta {
        margin-top: 20px;
        padding: 5px;
        background-color: #333;
        -webkit-border-radius: 5px;

      #credit {
        font: italic 0.8em/12px 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;
        text-align: center;
        margin-top: 20px;
    <div id="title">
      <a href="#url#">#title#</a>

    <div id="content">
      #body# #extended#

      <div id="meta">
        <b>url</b> : <a href="#url#">#url#</a><br />
        <b>tags</b> : #tags#
      <div id="credit">
        The Kremalicious MarsEdit Style<br />
        <a href=""></a>
    <-- end content -->

Now click on Save Changes in the lower right corner of the window and there you have it.

Of course you are free to alter the style provided by me to fit your needs. If you have any additions to my provided code feel free to post them in the comments.

You can’t perform that action at this time.