Browse Source

Adds style for publication date

Muhammad Talha Mansoor 12 years ago
parent
commit
709797df72
2 changed files with 16 additions and 0 deletions
  1. 15 0
      css/custom.css
  2. 1 0
      index.html

+ 15 - 0
css/custom.css

@@ -80,6 +80,21 @@ line-height: 1.5;
 margin-left:0.5em;
 }
 
+.publicationDate {
+margin-top: -2.4em;
+margin-bottom: 0em;
+margin-left: 9.0em;
+display: block;
+background-color: whiteSmoke;
+background-image: url(images/foregroundTexture.png);
+margin-right: 0em;
+width: 12.2em;
+padding: 0em 0.5em 0em 0.5em;
+font-family: georgia;
+font-size: 1.0em;
+color: darkRed;
+}
+
 .post {
 font-family: Georgia, "DejaVu Serif", Times, "Times New Roman", serif;
 font-size: 1.0em;

+ 1 - 0
index.html

@@ -105,6 +105,7 @@
       <div class="">
         <div class="col_10 suf_2">
           <h1 class="articleTitle">Name of the article</h1>
+<span class="publicationDate">Published on May 30, 2012</span>
         </div>
 
         <div class="col_3">