Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb9e1c10

Browse files
committed
adjusted some margins and padding
1 parentf8b27e0 commitb9e1c10

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

‎_layouts/post.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ <h2><span class="entry-date date published"><time datetime="{{ page.date | date_
4141
</header>
4242
<divclass="entry-content">
4343
{% if page.author-img %}
44-
<imgsrc="../images/authors/{{page.author-img | default: 'csesoc.jpg'}}"alt="{{page.author}}"class="author-pic">
44+
<imgsrc="../images/authors/{{ page.author-img }}"alt="{{ page.author }}"class="author-pic">
45+
{% else %}
46+
<imgsrc="/images/authors/csesoc.jpg"alt="CSESoc UNSW"class="author-pic">
4547
{% endif %}
4648
<h1class="entry-title"><ahref="{{ site.url }}{{ page.url }}"rel="bookmark"title="{{ page.title }}">{{ page.title }}</a></h1>
4749
<spanclass="entry-date date published updated"><timedatetime="{{ page.date | date_to_xmlschema }}"><ahref="{{ site.url }}{{ page.url }}">{{ page.date | date: "%B %d, %Y" }} by {{ page.author | default: "CSESoc UNSW" }}</a></time></span></span>

‎_sass/_page.scss‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ body {
2525
.entry-content {
2626
@includefont-size(16);
2727

28+
margin-top:1em;
29+
2830
// Dotted line underlines for links
2931
p >a,
3032
li >a {
@@ -56,6 +58,7 @@ body {
5658
position:relative;
5759
}
5860
.author-pic {
61+
border-radius:50%;
5962
width:5em;
6063
float:right;
6164
margin-left:1em
@@ -479,15 +482,15 @@ header .entry-meta {
479482
// box-shadow: 0 0 0 0, 0 6px 12px rgba($base-color,0.1);
480483
border-radius:3px;
481484
margin-bottom:20px;
482-
padding:25px15px;
485+
padding:0px15px;
483486

484487
@media#{$medium} {
485-
padding:30px;
488+
padding:0px30px;
486489
}
487490

488491
@media#{$large} {
489492
margin-bottom:30px;
490-
padding:50px80px;
493+
padding:0px80px;
491494
}
492495
}
493496
}

‎favicon.ico‎

-31.1 KB
Binary file not shown.

‎favicon.png‎

580 Bytes
Loading

‎index.html‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@
1111
{% for post in paginator.posts %}
1212
<articleclass="hentry">
1313
<header>
14-
<!-- {% if post.author-img %} -->
15-
<imgsrc="/images/authors/{{post.author-img | default: 'csesoc.jpg'}}"alt="{{post.author}}"class="author-pic">
16-
<!-- {% endif %} -->
14+
{% if post.author-img %}
15+
<imgsrc="/images/authors/{{ post.author-img }}"alt="{{ post.author }}"class="author-pic">
16+
{% else %}
17+
<imgsrc="/images/authors/csesoc.jpg"alt="CSESoc UNSW"class="author-pic">
18+
{% endif %}
1719
<h1class="entry-title"><ahref="{{ site.url }}{{ post.url }}"rel="bookmark"title="{{ post.title }}"itemprop="url">{{ post.title }}</a></h1>
1820
<divclass="entry-meta">
19-
<spanclass="entry-date date published updated"><timedatetime="{{ post.date | date_to_xmlschema }}"><ahref="{{ site.url }}{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time></span><spanclass="author vcard"><spanclass="fn">{{ post.author | default: "CSESoc UNSW"}}</span></span>
21+
{% if site.reading_time %}
22+
<spanclass="entry-date date published updated"><timedatetime="{{ post.date | date_to_xmlschema }}"><ahref="{{ site.url }}{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time></span><spanclass="author vcard"><spanclass="fn">{{ post.author | default: "CSESoc UNSW"}} |</span>
23+
<iclass="fa fa-clock-o"></i>{% include read-time-index.html %}
24+
{% endif %}
25+
</span>
2026
{% if site.reading_time %}
2127
<spanclass="entry-reading-time">
22-
<iclass="fa fa-clock-o"></i>
23-
{% include read-time-index.html %}
28+
<!-- <i></i>
29+
{% include read-time-index.html %} -->
2430
</span><!-- /.entry-reading-time -->
2531
{% endif %}
2632
</div><!-- /.entry-meta -->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp