Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _includes/themes/twitter/page.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="page-header">
<!-- <h1 id="page"> -->
<h1>
{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{%
endif %}
Expand Down
91 changes: 91 additions & 0 deletions assets/themes/twitter/css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,96 @@
/* Override some defaults */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700");
@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700");

:root {
/* Main colors */
--yellow: #ffc11e;
--white: #fff;
--light-grey: #f6f6f6;
--grey: #33363d;
--dark-grey: #262326;
--black: #080815;
--red: #ef1161;
--pst-color-navbar-link: var(--yellow);
--pst-color-link-hover: var(--yellow);
--pst-color-inline-code: var(--salmon);

/* Font Family */
--pst-font-family-base-system: Inter;
--pst-font-family-monospace-system: Inconsolata;
--pst-font-family-base: var(--pst-font-family-base-system);
--pst-font-family-heading: var(--pst-font-family-base);
--pst-font-family-monospace: var(--pst-font-family-monospace-system);
}

body {
font-family: var(--pst-font-family-base);
font-weight: 400;
line-height: 1.65;
background-image: url("https://assets-global.website-files.com/627ac9e2b71e64a6a0b76027/628d27e5874009e9150d8951_vector-grid-white-bg.svg");
}

div.navbar {
margin: 0;
}

.container {
width: inherit;
padding: 0;
}

.container ul {
/* for IE below version 7 use `width` instead of `max-width` */
max-width: 85%;
margin-right: auto;
margin-left: auto;
}

div.row ul li {
list-style-type: none;
background: var(--light-grey);
color: var(--black);
margin: 1vw;
padding: 2.222vw 2.778vw;
font-size: 16px;
font-weight: 700;
}

div.row ul li a {
color: var(--black);
}

div.row ul li a:hover {
color: var(--white);
text-decoration: none;
}

div.row ul li i {
font-style: normal;
font-weight: 400;
}

div.row ul li:hover {
color: var(--white);
background: var(--red);
}

div.page-header {
background-color: var(--black);
background-image: url("https://assets-global.website-files.com/627ac9e2b71e64a6a0b76027/628d27e5874009e9150d8951_vector-grid-white-bg.svg");
color: var(--white);
margin: 0;
padding: 20px 20px 50px 155px;
}

div.page-header h1 {
border: 2px solid var(--red);
border-radius: 5px;
padding: 5px 20px 5px 5px;
max-width: fit-content;
}

/* Table taken from http://johnsardine.com/freebies/dl-html-css/simple-little-tab/ */
table a:link {
color: #666;
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Dask Working Notes
<ul class="posts">
{% for post in site.posts %}
{% if post.draft != true %}
<li><a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a>: <i>{{ post.date | date_to_string }}</i> </li>
<li><a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a> <i>{{ post.date | date_to_string }}</i> </li>
{% endif %}
{% endfor %}
</ul>