Skip to content

Commit 9ab7fbb

Browse files
committed
shader hackery
1 parent 19ddc03 commit 9ab7fbb

File tree

6 files changed

+494
-7
lines changed

6 files changed

+494
-7
lines changed

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ disqus_shortname: myshortname
2424

2525
# Color settings (hex-codes without the leading hash-tag)
2626
color:
27-
primary: 18bc9c #80B3FF
28-
primary-rgb: "24,288,156" #"128,179,255"
27+
primary: 18bccc #18bc9c #80B3FF
28+
primary-rgb: "24,288,204" #"24,288,156" #"128,179,255"
2929
secondary: 2c3e50 #FD6E8A
3030
secondary-dark: 233140 #A2122F
3131

_includes/compos_item.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<h4>{{ post.title | truncate: 30 }}</h4>
2626
</div>
2727
<h6>{{ post.team }}</h6>
28+
<a href="{{ post.url }}" class="btn btn-default">Read More</a>
2829
</div>
2930
</div>
3031
</div>

_includes/css/main.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,28 @@ header .container {
9090
padding-bottom: 50px;
9191
}
9292

93+
.shaderView {
94+
position: absolute;
95+
width: 100%;
96+
height: 500px;
97+
/* background: #f00; */
98+
}
99+
#shaderOverlay {
100+
position: absolute;
101+
left: 20px;
102+
top: 20px;
103+
}
104+
93105
header img {
94-
display: flex;
106+
display: block;
95107
/* margin: 0 auto 20px; */
96108
margin: 8px;
97109
width: auto;
98-
height: 100px;
110+
height: 150px;
99111
}
100112

101113
header .intro-text {
102-
display: flex;
114+
display: block;
103115
align-items: center;
104116
}
105117

_includes/header.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
<!-- Header -->
2-
{% if page.bgimage %}
1+
{% include shader.html %}
2+
<!-- Header -->
3+
{% if page.image %}
34
<header style="background-image: url('{{ page.bgimage }}'); background-repeat: no-repeat; background-position: bottom left; background-size: 350px;">
45
{% else %}
56
<header>
@@ -10,9 +11,11 @@
1011

1112
<div class="col-lg-12">
1213
<div class="intro-text " >
14+
{% comment %}
1315
{% if page.image %}
1416
<img src="{{ page.image }}" alt="page image">
1517
{% endif %}
18+
{% endcomment %}
1619
{% if page.title %}
1720
<span class="name">
1821
{{ page.title }}

_includes/news_item.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<h4>{{ post.title | truncate: 30 }}</h4>
2323
</div>
2424
<h6>{{ post.team }}</h6>
25+
<a href="{{ post.url }}" class="btn btn-default">Read More</a>
2526
</div>
2627
</div>
2728
</div>

0 commit comments

Comments
 (0)