Skip to content

Commit d709038

Browse files
authored
Merge pull request #5 from utPLSQL/feature/new_design
Little facelift for the website
2 parents 78a99d8 + 05a5d95 commit d709038

5 files changed

Lines changed: 44 additions & 11 deletions

File tree

_config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ title: utPLSQL
1010
google_analytics: UA-80445365-1
1111
email:
1212
description: > # this means to ignore newlines until "baseurl:"
13-
utPLSQL <br/>
14-
Unit Testing Framework for Oracle PL/SQL.
13+
Ultimate Testing Framework for Oracle PL/SQL.
1514
baseurl: "" # the subpath of your site, e.g. /blog
1615
url: "https://utPLSQL.github.com" # the base hostname & protocol for your site
1716
twitter_username: utplsql

_includes/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="wrapper">
44

55
<div class="footer-col-wrapper">
6-
6+
77
<div class="footer-col footer-col-1">
88
<ul class="social-media-list">
99
{% if site.github_username %}
@@ -25,5 +25,5 @@
2525
</div>
2626
</div>
2727
Copyright &copy; 2016 - {{ 'now' | date: "%Y" }} utPLSQL Project
28-
28+
</div>
2929
</footer>

_includes/header.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<div class="wrapper">
44

55
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
6+
<span class="site-title-description">{{ site.description }}</span>
67

78
<nav class="site-nav">
89
<a href="#" class="menu-icon">

_sass/_layout.scss

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@
99

1010
// Positioning context for the mobile navigation icon
1111
position: relative;
12+
13+
-webkit-box-shadow: 0 10px 6px -6px #000;
14+
-moz-box-shadow: 0 10px 6px -6px #000;
15+
box-shadow: 0 10px 6px -6px #000;
1216
}
1317

1418
.site-title {
15-
font-size: 26px;
19+
font-size: 50px;
1620
font-weight: 300;
17-
line-height: 56px;
21+
line-height: 80px;
1822
letter-spacing: -1px;
1923
margin-bottom: 0;
2024
float: left;
@@ -25,9 +29,27 @@
2529
}
2630
}
2731

32+
.site-title-description {
33+
font-size: 16px;
34+
font-weight: 300;
35+
margin-bottom: 10px;
36+
margin-top: 16px;
37+
margin-left: 10px;
38+
float: left;
39+
color: $header-text;
40+
&,
41+
&:visited {
42+
color: $header-text;
43+
}
44+
}
45+
2846
.site-nav {
2947
float: right;
30-
line-height: 56px;
48+
line-height: 35px;
49+
border: 1px solid black;
50+
padding-left: 10px;
51+
padding-right: 10px;
52+
background-color: black;
3153

3254
.menu-icon {
3355
display: none;
@@ -181,17 +203,28 @@
181203
list-style: none;
182204

183205
> li {
184-
margin-bottom: $spacing-unit;
185-
.post-excerpt {
206+
margin-bottom: $spacing-unit;
207+
border: 1px solid #ddd;
208+
padding: 8px;
209+
210+
.post-excerpt {
186211
font-size: 16px;
187212
font-style: italic;
188213
}
189214
}
215+
> li:hover {
216+
background-color: #f5f5f5;
217+
-webkit-box-shadow: 0 10px 6px -6px #ddd;
218+
-moz-box-shadow: 0 10px 6px -6px #ddd;
219+
box-shadow: 0 10px 6px -6px #ddd;
220+
}
190221
}
191222

192223
.post-meta {
193224
font-size: $small-font-size;
194225
color: $grey-color;
226+
//display: block;
227+
//background: #eee;
195228
}
196229

197230
.post-link {

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ <h1 class="page-heading">Announcements</h1>
1313

1414
<h2>
1515
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}
16-
<div class="post-excerpt">{{post.excerpt | remove: '<p>' | remove: '</p>'}}</div>
16+
<div class="post-excerpt">{{post.excerpt | strip_html | truncatewords: 50 }}</div>
1717
</a>
1818
</h2>
1919
</li>
2020
{% endfor %}
2121
</ul>
2222

23-
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
23+
<p class="rss-subscribe">subscribe <a href="{{ '/feed.xml' | prepend: site.baseurl }}">via RSS</a></p>
2424

2525
</div>

0 commit comments

Comments
 (0)