CSS changes to the classic theme.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045487
This commit is contained in:
jowall
2010-01-15 20:58:16 +00:00
parent de1d072eeb
commit 88924471b7
4 changed files with 24 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
<%@ Import Namespace="Orchard.Blogs.Models"%>
<h1><%=Html.TitleForPage(Model.Item.Title)%></h1>
<div class="manage"><a href="<%=Url.BlogPostEdit(Model.Item.Blog.Slug, Model.Item.Slug) %>" class="ibutton edit"><%=_Encoded("edit") %></a></div>
<div class="manage"><a href="<%=Url.BlogPostEdit(Model.Item.Blog.Slug, Model.Item.Slug) %>" class="ibutton edit"><%=_Encoded("Edit") %></a></div>
<div class="metadata">
<% if (Model.Item.Creator != null) {
%><div class="posted"><%=_Encoded("Posted by {0} {1}", Model.Item.Creator.UserName, Html.PublishedWhen(Model.Item)) %></div><%

View File

@@ -1,9 +1,9 @@
/*Blog specific styles
----------------------------------------------------------*/
.meta, .manage, .posted, div.comment {
.meta, .manage, .posted {
margin: 8px 0;
font:80% Verdana, Geneva, Tahoma, sans-serif;
font-size:105%;
}
.meta, .manage {
@@ -13,3 +13,16 @@
.blogdescription, .postsummary {
clear:both;
}
div.comment {
margin: 16px 0 8px 0;
}
span.who {
font-weight:600;
font-size:105%;
}
.text {
border-bottom:1px dotted #e5e5e5;
}

View File

@@ -28,7 +28,7 @@ body {
/* ---------- Headings and defaults ---------- */
h1,h2,h3,h4,h5,h6, legend {font-weight:normal; font-style: normal; color:#670404; border-bottom:1px solid #f1f1f1;}
h1,h2,h3,h4,h5,h6, legend {font-weight:normal; font-style: normal; color:#670404; border-bottom:1px dotted #e5e5e5;}
h1 {font-size: 190%;}
h2 {font-size: 160%;}
@@ -68,7 +68,6 @@ legend {
}
label {
font:80% Verdana, Geneva, Tahoma, sans-serif;
display: block;
margin:0 0 2px 0;
}
@@ -111,14 +110,14 @@ input[type="submit"], input[type="button"], .button {
float:left;
font-size:220%;
color:#000;
padding:16px 0 0 0;
/*padding:16px 0 0 0;*/
padding:42px 0 0 0;
border-bottom:none;
}
#logindisplay {
font:80% Verdana, Geneva, Tahoma, sans-serif;
float:right;
margin:32px 8px 0 0;
margin:58px 8px 0 0;
}
#wrapper {
@@ -163,17 +162,16 @@ input[type="submit"], input[type="button"], .button {
}
#footer {
font:80% Verdana, Geneva, Tahoma, sans-serif;
color:#918e8e;
clear:both;
border-top:1px solid #d6d6d6;
margin:0 12px 0 12px;
margin:0 12px;
padding:18px 0 18px 8px;
}
#footer a{
text-transform:uppercase;
color:#918e8e;
margin:0 8px;
}
/* ---------- Navigation ---------- */
@@ -202,10 +200,9 @@ input[type="submit"], input[type="button"], .button {
#menucontainer ul li a {
margin:0 18px 0 18px;
font:80% Verdana, Geneva, Tahoma, sans-serif;
font-size:110%;
display:block;
text-decoration:none;
text-transform:uppercase;
float:left;
color:#fff;
}

View File

@@ -2,7 +2,7 @@
<%@ Import Namespace="Orchard.Mvc.Html"%>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<h1><%=Html.TitleForPage(Model.Item.Title)%></h1>
<div class="manage"><a href="<%=Url.Action(T("Edit").ToString(), "Admin", new {pageSlug = Model.Item.Slug}) %>" class="ibutton edit"><%=_Encoded("edit")%></a></div>
<div class="manage"><a href="<%=Url.Action(T("Edit").ToString(), "Admin", new {pageSlug = Model.Item.Slug}) %>" class="ibutton edit"><%=_Encoded("Edit")%></a></div>
<div class="metadata">
<div class="posted">Published by <%=Model.Item.Creator != null ? Html.Encode(Model.Item.Creator.UserName) : _Encoded("nobody(?)").ToString()%></div>
</div>