Added some post photo preview on index page...

This commit is contained in:
Sagi Dayan 2014-09-28 19:16:00 +03:00
parent 9d21cd9b70
commit 215cbfbcae
6 changed files with 40 additions and 17 deletions

View file

@ -5,6 +5,7 @@ date: 2014-09-17 14:34:25
categories: Releases categories: Releases
tags: featured tags: featured
image: /JceManager/assets/article_images/first-release/desktop.JPG image: /JceManager/assets/article_images/first-release/desktop.JPG
img: v1.png
--- ---
#Proud To Announce Our First Release! #Proud To Announce Our First Release!
####*JCE Manager v1.0 is now public* ####*JCE Manager v1.0 is now public*
@ -20,7 +21,7 @@ happy with the resault. And the project is now avalible to the public.
####V1.0 Release Notes: ####V1.0 Release Notes:
- Hack into the [JCE Student web site][jce] ("Yedion") - Hack into the [JCE Student web site][jce] ("Yedion")
- Fetch your grade sheet - Fetch your grade sheet
- Change your grades to see how it affects your GPA - Change your grades to see how it affects your GPA
- Save your *username* and *password* for easy access (Password is encrypted) - Save your *username* and *password* for easy access (Password is encrypted)
- Fetch your Semester Schedule - Fetch your Semester Schedule
- Export your Semester Schedule to CSV file to import to GoogleCalendar/iCal/Outlook - Export your Semester Schedule to CSV file to import to GoogleCalendar/iCal/Outlook
@ -34,7 +35,7 @@ happy with the resault. And the project is now avalible to the public.
>It is only to see if you realy want or should take a second attempt... >It is only to see if you realy want or should take a second attempt...
--- ---
>Head over to the [**Download Page**][download] to get a fresh copy. >Head over to the [**Download Page**][download] to get a fresh copy.
--- ---

BIN
assets/images/posts/v1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View file

@ -7,6 +7,10 @@
.cf .cf
@include clearfix @include clearfix
.img-responsive
display: block
max-width: 100%
height: auto
$rs: 16px $rs: 16px
@ -167,6 +171,11 @@ body
text-decoration: underline text-decoration: underline
.container.featured .container.featured
padding-bottom: 40px padding-bottom: 40px
.img-responsive
display: block
max-width: 100%
height: auto
.post-template .content .post-template .content
max-width: 700px max-width: 700px

2
css/normalize.css vendored
View file

@ -403,4 +403,4 @@ textarea {
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }

View file

@ -42,10 +42,10 @@
} }
/* Apply these base styles to all icons */ /* Apply these base styles to all icons */
.icon-ghost:before, .icon-ghost:before,
.icon-feed:before, .icon-feed:before,
.icon-twitter:before, .icon-twitter:before,
.icon-google-plus:before, .icon-google-plus:before,
.icon-facebook:before { .icon-facebook:before {
font-family: 'icons'; font-family: 'icons';
speak: none; speak: none;
@ -58,7 +58,7 @@
text-decoration: none; text-decoration: none;
} }
/* Each icon is created by inserting the corret character into the /* Each icon is created by inserting the corret character into the
content of the :before pseudo element. Like a boss. */ content of the :before pseudo element. Like a boss. */
.icon-ghost:before { .icon-ghost:before {
content: "\e000"; content: "\e000";
@ -274,8 +274,8 @@ kbd {
font-weight: bold; font-weight: bold;
background: #f4f4f4; background: #f4f4f4;
border-radius: 4px; border-radius: 4px;
box-shadow: box-shadow:
0 1px 0 rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.2),
0 1px 0 0 #fff inset; 0 1px 0 0 #fff inset;
} }
@ -794,9 +794,9 @@ margin on the iframe, cause it breaks stuff. */
} }
.site-head { .site-head {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
height: auto; height: auto;
min-height: 240px; min-height: 240px;
padding: 15% 0; padding: 15% 0;
@ -855,7 +855,7 @@ margin on the iframe, cause it breaks stuff. */
max-height: 80px; max-height: 80px;
} }
.inner, .inner,
.pagination { .pagination {
width: auto; width: auto;
margin-left: 16px; margin-left: 16px;

View file

@ -32,7 +32,7 @@ if (window.clipboardData)
  ·     ·  
<a href="{{ site.baseurl }}/help/">Help</a> <a href="{{ site.baseurl }}/help/">Help</a>
</div> </div>
<br> <br>
<center> <center>
<!--[if IE]><b><p> Get a better browser! - This website dose not support Internet Explorer </p></b><![endif]--> <!--[if IE]><b><p> Get a better browser! - This website dose not support Internet Explorer </p></b><![endif]-->
@ -73,6 +73,13 @@ if (window.clipboardData)
<header class="post-header"> <header class="post-header">
<h2 class="post-title" itemprop="name"><a href="{{ site.baseurl }}{{ post.url }}" itemprop="url">{{ post.title }}</a></h2> <h2 class="post-title" itemprop="name"><a href="{{ site.baseurl }}{{ post.url }}" itemprop="url">{{ post.title }}</a></h2>
</header> </header>
{% if post.img %}
<a href="{{ site.baseurl }}{{ post.url }}" itemprop="url">
<p><img class="img-responsive" src="{{ "/assets/images/posts/" | prepend: site.baseurl }}{{ post.img }}"></p>
</a>
{% endif %}
<section class="post-excerpt" itemprop="description"> <section class="post-excerpt" itemprop="description">
<p>{{ post.content | strip_html | truncatewords: 50 }}</p> <p>{{ post.content | strip_html | truncatewords: 50 }}</p>
</section> </section>
@ -94,15 +101,21 @@ if (window.clipboardData)
<header class="post-header"> <header class="post-header">
<h2 class="post-title" itemprop="name"><a href="{{ site.baseurl }}{{ post.url }}" itemprop="url">{{ post.title }}</a></h2> <h2 class="post-title" itemprop="name"><a href="{{ site.baseurl }}{{ post.url }}" itemprop="url">{{ post.title }}</a></h2>
</header> </header>
{% if post.img %}
<a href="{{ site.baseurl }}{{ post.url }}" itemprop="url">
<p><img class="img-responsive" src="{{ "/assets/images/posts/" | prepend: site.baseurl }}{{ post.img }}"></p>
</a>
{% endif %}
<section class="post-excerpt" itemprop="description"> <section class="post-excerpt" itemprop="description">
<p>{{ post.content | strip_html | truncatewords: 50 }}</p> <p>{{ post.content | strip_html | truncatewords: 50 }}</p>
</section> </section>
<div class="post-meta"> <div class="post-meta">
<time datetime="{{ post.date | date_to_long_string }}">{{ post.date | date_to_long_string }}</time> <time datetime="{{ post.date | date_to_long_string }}">{{ post.date | date_to_long_string }}</time>
<!-- <span class="post-tags-set">on {{#foreach tags}}<span class="post-tag-{{slug}}">{{#if @first}}{{else}}, {{/if}}<a href="/tag/{{slug}}">{{name}}</a></span>{{/foreach}}</span>-->
</div> </div>
<div>
</article>
{% endfor %} {% endfor %}
</div> </div>