-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Website makeover with hand-made CSS (#42)
Redo the entire design of the website using only vanilla CSS. Removed all javascript and Bootstrap. Responsive columns are achieved through flexbox and setting a minwidth on one of the columns. The CSS is much simpler and easier to maintain. Updated some parts of the lab manual. Got rid of some pages to make the website a bit more compact. Took a lot of inspiration from these writings by Andy Bell: * https://andy-bell.co.uk/cube-css/ * https://andy-bell.co.uk/a-modern-css-reset/ * https://set.studio/some-simple-ways-to-make-content-look-good/
- Loading branch information
Showing
127 changed files
with
10,687 additions
and
5,603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% extends "base.html" %} | ||
|
||
{%- import "macros.html" as macros %} | ||
|
||
{%- block content %} | ||
{{ page.body }} | ||
<h2>News from the lab</h2> | ||
<p> | ||
The latest news and updates from CompGeoLab members. | ||
</p> | ||
<ul class="flow fa-ul"> | ||
{%- for item in (site["news/index"]["siblings"]|sort(attribute="date", reverse=True)|list)[:4] %} | ||
<li> | ||
<i class="fa-li far fa-arrow-alt-circle-right fa-fw" aria-hidden="true"></i> | ||
<a class="text-bold" href="{{ item.path|relative_to(page.path) }}">{{ item.title }}</a> | ||
<br> | ||
<span class="font-small text-muted">{{ item.body|striptags|trim|truncate(200) }}</span> | ||
</li> | ||
{%- endfor %} | ||
</ul> | ||
<p> | ||
Older news items: {{ macros.page_link("news/index", page, site) }} | ||
</p> | ||
{%- endblock %} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.