Yet a better style

Intergates a nice image from Kali,
get padding smaller on small screens,
print blog post titles!

	* Web.csproj: new images

	* App.master: a nicer javascript and better structure

	* style.css: less padding on small screens

	* p8-av4.xxs.png: from Kali, Da code

	* p8-av4.xxs.jpg: from Kali, Da code, da light one

	* Index.aspx: print titles, removes actionlink class to these last one

	* UserPosts.aspx: print titles, removes actionlink class to these last one

	* star-939235_1280.xxs.jpg: a lighter weight

	* helix-nebula-1400x1400.xxs.jpg: a lighter weight
This commit is contained in:
Paul Schneider 2015-10-02 14:20:35 +02:00
commit 0fba423d06
10 changed files with 92 additions and 46 deletions

View file

@ -9,7 +9,7 @@
<% foreach (var p in g) { %>
<div class="postpreview">
<%= Html.ActionLink(p.Title, "UserPost",
new { user = g.Key, title = p.Title }, new { @class = "usertitleref actionlink" } ) %>
new { user = g.Key, title = p.Title }, new { @class = "usertitleref" } ) %>
<aside>
(Posté le <%=p.Posted.ToString("D") %>)

View file

@ -19,11 +19,11 @@
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<% foreach (BlogEntry e in this.Model) { %>
<div class="postpreview<% if (!e.Visible) { %> hiddenpost<% } %>" >
<h2><%= Html.ActionLink(e.Title,"UserPost", new { user=e.Author, title=e.Title, id = e.Id }, new { @class = "usertitleref actionlink" }) %></h2>
<h2><%= Html.ActionLink(e.Title,"UserPost", new { user=e.Author, title=e.Title, id = e.Id }, new { @class = "usertitleref" }) %></h2>
<% bool truncated = false; %>
<%= Html.MarkdownToHtmlIntro(out truncated, e.Content,"/bfiles/"+e.Id+"/") %>
<% if (truncated) { %>
<i><%= Html.ActionLink( "lire la suite" ,"UserPost", new { user=e.Author, title=e.Title, id = e.Id }, new { @class = "usertitleref actionlink" }) %></i>
<i><%= Html.ActionLink( "lire la suite" ,"UserPost", new { user=e.Author, title=e.Title, id = e.Id }, new { @class = "usertitleref" }) %></i>
<% } %>
<aside>(<%= e.Posted.ToString("yyyy/MM/dd") %>
- <%= e.Modified.ToString("yyyy/MM/dd") %> <%= e.Visible? "":", Invisible!" %>)
@ -44,8 +44,9 @@
user.Value = (string) ViewData["BlogUser"];
%>
<aside>
<yavsc:ResultPages id="rp1" Action = "?pageIndex={0}" runat="server"></yavsc:ResultPages>
</aside>
<asp:HiddenField id="user" runat="server"></asp:HiddenField>
</form>