Skip to content

Commit 6db7d42

Browse files
committed
tweaks to more style
1 parent 984a7c4 commit 6db7d42

File tree

5 files changed

+35
-8
lines changed

5 files changed

+35
-8
lines changed

_includes/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010

1111
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
12+
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
1213
<!--<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">-->
1314
<link rel="stylesheet" href="{{ "assets/css/modern-business.css" }}">
1415
<link rel="stylesheet" href="{{ "assets/css/lavish-bootstrap.css" }}">

_layouts/page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ <h1 class="post-title-main">{{ page.title }}</h1>
3636

3737
<!-- Previous and next buttons-->
3838
<div class="row" style="padding-top:30px; margin-bottom:10px"><div class="col-md-12">
39-
<a href="#"><button style="width:20%; height: 70px; float:left" class="hidden previous-button btn btn-lg btn-default">Previous</button></a>
40-
<a href="#"><button style="width:20%; height: 70px; float:right" class="hidden next-button btn btn-lg btn-default">Next</button></a>
39+
<a href="#"><button style="float:left" class="hidden previous-button btn btn-circle btn-default"><i class="fa-2x fa fa-angle-double-left"></i></button></a>
40+
<a href="#"><button style="float:right" class="hidden next-button btn btn-circle btn-default"><i class="fa fa-angle-double-right fa-2x"></i></button></a>
4141
</div></div>
4242

4343
<script>

assets/css/customstyles.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ body h1 {margin-top:40px;}
9393
max-height: 100%;
9494
}
9595

96+
.post-entry {
97+
padding-bottom:50px;
98+
}
99+
96100
.post-content ol li, .post-content ul li {
97101
margin: 10px 0px;
98102
}
@@ -1042,6 +1046,10 @@ div.results {
10421046
font-size: 22px;
10431047
}
10441048

1049+
.post-list {
1050+
margin-top:80px;
1051+
}
1052+
10451053
.post-list p {
10461054
margin: 10px 0px;
10471055
}
@@ -1221,3 +1229,14 @@ h4.panel-title {
12211229
padding-top: 0px;
12221230
margin-top: 0px;
12231231
}
1232+
1233+
1234+
.btn-circle {
1235+
height:50px;
1236+
width:50px;
1237+
text-align: center;
1238+
padding: 6px 0;
1239+
font-size: 12px;
1240+
line-height: 1.428571429;
1241+
border-radius: 55px;
1242+
}

assets/css/lavish-bootstrap.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ audio:not([controls]) {
2727
display: none;
2828
}
2929
html {
30-
font-family: sans-serif;
30+
font-family: 'Open Sans', sans-serif;
31+
font-weight: 300;
32+
padding: 5px 0 0 0;
33+
margin: 5px 0;
34+
font-size: 30px;
3135
-webkit-text-size-adjust: 100%;
3236
-ms-text-size-adjust: 100%;
3337
}
@@ -326,8 +330,9 @@ hr {
326330
border: 0;
327331
}
328332
p {
329-
margin: 20px 0px 20px;
330-
line-height: 1.9;
333+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
334+
margin: 20px 0px 20px;
335+
line-height: 1.9;
331336
-moz-osx-font-smoothing: grayscale;
332337
-webkit-font-smoothing: antialiased !important;
333338
-moz-font-smoothing: antialiased !important;
@@ -390,7 +395,7 @@ h6,
390395
.h4,
391396
.h5,
392397
.h6 {
393-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
398+
font-family: "Helvetica Neue", Helvetica, Arial;
394399
font-weight: 500;
395400
line-height: 1.1;
396401
}
@@ -424,14 +429,16 @@ h6 {
424429
}
425430
h1,
426431
.h1 {
432+
font-family: 'Open Sans', sans-serif;
427433
font-size: 36px;
428-
font-weight: bold;
434+
font-weight: 300;
429435
margin-bottom: 5px;
430436
letter-spacing: .05em;
431437
}
432438
h2,
433439
.h2 {
434440
font-size: 30px;
441+
font-weight:600;
435442
}
436443
h3,
437444
.h3 {

pages/presentations/presentations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2><a class="post-link" href="{{ post.url | remove: "/" }}">{{ post.title }}</a
2020
<a href="{{ "tag_" | append: tag | append: ".html"}}">{{tag}}{{tag}}</a>{% unless forloop.last %}, {% endunless%}
2121

2222
{% endfor %}</span>
23-
<p>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</p>
23+
<p class="post-entry">{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</p>
2424

2525
{% endfor %}
2626

0 commit comments

Comments
 (0)