Skip to content

Commit 75d7ff6

Browse files
committedFeb 4, 2015
keep styling minimal
1 parent 82ca7a0 commit 75d7ff6

File tree

4 files changed

+20
-25
lines changed

4 files changed

+20
-25
lines changed
 

‎_includes/head.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css" >
77
</head>
88
<body>
9+
<div class="container">
910
<header class="post-header">
10-
<h3>{{ site.title }}</h3>
11+
<h1>{{ site.title }}</h1>
1112
</header>
1213

13-
<div class="container">

‎_layouts/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: default
33
---
44
<div class="post">
5-
<h1 class="post-title">{{ page.title }}</h1>
5+
<h2 class="post-title">{{ page.title }}</h2>
66

77
<article class="post-content">
88
{{ content }}

‎css/main.css

+17-21
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,26 @@ body {
77

88
header {
99
font-family: "Gabriela",serif;
10-
text-align: center;
11-
background: #774F9F;
12-
color: #ffffff;
13-
padding: 40px;
10+
color: #000;
11+
padding: 20px 0 0;
12+
width: 960px;
13+
border-bottom: 1px solid #333;
14+
margin-bottom: 50px;
1415
}
1516

1617
h1 {
17-
font-size: 3em;
18+
font-size: 2.5rem;
1819
}
1920

2021
.content {
21-
margin-left: auto;
22-
margin-right: auto;
23-
width: 80%;
22+
margin: 0 auto;
23+
width: 960px;
2424
font-size: 1.5em;
2525
}
2626

2727
.container {
2828
max-width: 55.55556rem;
29-
margin: 40px auto;
29+
margin: 0px auto;
3030
}
3131

3232
nav ul {
@@ -40,26 +40,22 @@ nav ul li {
4040

4141
ul.post-list {
4242
list-style: none;
43+
margin: 0;
44+
padding: 0;
4345
}
4446

4547
ul.post-list li a {
4648
text-decoration:none;
4749
font-weight: normal;
48-
color: #774F9F;
50+
padding-bottom: 4px;
51+
color: #333;
4952
}
5053

51-
ul.post-list li {
52-
padding: 10px 5px 10px 5px;
53-
54+
ul.post-list li:hover {
55+
color: highlight;
5456
}
5557

56-
hr {
57-
border: 0px;
58-
height: 1px;
59-
background-color: #BBA7CF;
58+
ul.post-list li {
59+
padding: 10px 5px 10px 5px;
6060
}
6161

62-
ul.post-list li a:hover {
63-
color: purple;
64-
65-
}

‎index.html

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<li>
1010
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
1111
</li>
12-
<hr/>
1312
{% endfor %}
1413
</ul>
1514
</div>

0 commit comments

Comments
 (0)