Skip to content

Commit 930af7b

Browse files
committed
Formatting
1 parent 2397389 commit 930af7b

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed

_layouts/base.liquid

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<link rel="icon" type="image/png" href="{{ '/assets/icon/favicon-android.png' | url }}" sizes="192x192">
88
<link rel="icon" type="image/png" href="{{ '/assets/icon/favicon.png' | url }}" sizes="32x32">
99
{%- capture pageTitle -%}
10-
{% if title != site.title %}{{ title }} • {% endif %}{{ site.title }}
10+
{% if title != site.title %}{{ title }} • {% endif %}{{ site.title }}
1111
{%- endcapture %}
1212
{%- if meta.description -%}
13-
{%- assign desc = meta.description -%}
13+
{%- assign desc = meta.description -%}
1414
{%- else -%}
15-
{%- assign desc = layoutContent | regexReplace: '<h1 class="title flex-item">.*</h1>', '' | strip_html | regexReplace: '\s{2,}', ' ' | truncate: 160 -%}
15+
{%- assign desc = layoutContent | regexReplace: '<h1 class="title flex-item">.*</h1>', '' | strip_html | regexReplace: '\s{2,}', ' ' | truncate: 160 -%}
1616
{%- endif %}
1717
<link rel=canonical href="{{ site.url }}{{ page.url | url }}">
1818
<meta name="description" content="{{ desc }}">
@@ -67,7 +67,7 @@
6767
<div class="container">
6868
{{ content | safe }}
6969

70-
<p class="content has-text-right-desktop" style="font-size: 14px; margin-bottom: -2rem;">
70+
<p class="edit-page content has-text-right-desktop">
7171
<a href="{{ site.repo }}/blob/master/{{ page.inputPath }}">Edit this page</a>
7272
</p>
7373
</div>

_sass/_main.scss

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,7 @@ $footer-background-color: $white-ter;
107107
}
108108
}
109109

110-
/*
111-
* BUSINESS CARD ADJUSTMENTS
112-
*/
113-
110+
// BUSINESS CARD ADJUSTMENTS
114111
.card,
115112
.footer {
116113
// Add rounded edges to Bulma .image class inside a .card.
@@ -121,7 +118,7 @@ $footer-background-color: $white-ter;
121118
}
122119

123120
/*
124-
* BULMA +
121+
* BULMA EXTENDED/INSPIRED
125122
*/
126123

127124
@media screen and (min-width: $desktop) {
@@ -176,15 +173,6 @@ $footer-background-color: $white-ter;
176173
margin-bottom: 0 !important;
177174
}
178175

179-
.logo {
180-
transform: scale(0.9) translateY(0.25em);
181-
}
182-
183-
.sponsor-logo {
184-
max-width: 17vw;
185-
min-width: 10em;
186-
}
187-
188176
/*
189177
* bricks for emeritus cards
190178
*/
@@ -240,6 +228,24 @@ $footer-background-color: $white-ter;
240228
}
241229
}
242230

231+
/*
232+
* misc
233+
*/
234+
235+
.logo {
236+
transform: scale(0.9) translateY(0.25em);
237+
}
238+
239+
.sponsor-logo {
240+
max-width: 17vw;
241+
min-width: 10em;
242+
}
243+
244+
.edit-page {
245+
font-size: 0.875rem;
246+
margin-bottom: -2rem;
247+
}
248+
243249
/*
244250
* THE REST
245251
*/

0 commit comments

Comments
 (0)