Update colour classes
This commit is contained in:
parent
5729a6b6c0
commit
3cac471fef
28 changed files with 53 additions and 51 deletions
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
|
||||
<div class="px-4">
|
||||
<div class="widget bg-grey-light p-4 rounded">
|
||||
<div class="widget bg-gray-300 p-4 rounded">
|
||||
<div class="-mb-3">
|
||||
<h2 class="visuallyhidden">Certifications</h2>
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
|
||||
<div>
|
||||
<a href="{{ post.url }}" class="text-sm text-grey-dark hover:text-grey-darker">
|
||||
<a href="{{ post.url }}" class="text-sm text-gray-600 hover:text-gray-800">
|
||||
Read more
|
||||
<span class="visuallyhidden">about '{{ post.title }}'</span>
|
||||
→
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
{% for item in page.experience %}
|
||||
<li class="mb-12">
|
||||
{% if site.companies[item.company].url %}
|
||||
<h3><a href="{{ site.companies[item.company].url }}" class="text-inherit no-underline hover:underline focus:bg-grey-darkest">{{ site.companies[item.company].name }}</a></h3>
|
||||
<h3><a href="{{ site.companies[item.company].url }}" class="text-inherit no-underline hover:underline focus:bg-gray-900">{{ site.companies[item.company].name }}</a></h3>
|
||||
{% else %}
|
||||
<h3>{{ site.companies[item.company].name }}</h3>
|
||||
{% endif %}
|
||||
|
||||
{% for role in item.roles %}
|
||||
<div>
|
||||
<h4 class="mb-3 text-grey-darker">{{ role.title }} from {{ role.from }} to {{ role.to ?: 'present' }} ({{ role.location }})</h4>
|
||||
<h4 class="mb-3 text-gray-800">{{ role.title }} from {{ role.from }} to {{ role.to ?: 'present' }} ({{ role.location }})</h4>
|
||||
|
||||
{{ role.description|markdown }}
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<footer class="border-grey-light border-t mb-8 mt-10 pt-5 text-sm">
|
||||
<footer class="border-gray-300 border-t mb-8 mt-10 pt-5 text-sm">
|
||||
<div class="md:flex md:justify-between">
|
||||
<div>
|
||||
<p>© 2010-{{ 'now'|date('Y') }} {{ site.title }}</p>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="border-bottom border-b border-grey-light mb-6 fixed top-0 w-full bg-white z-20">
|
||||
<div class="border-bottom border-b border-gray-300 mb-6 fixed top-0 w-full bg-white z-20">
|
||||
<div class="px-4 md:px-8 mx-auto">
|
||||
<div class="block py-5 v-cloak-block">
|
||||
<div class="font-semibold text-sm">{{ site.title }}</div>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{% if project.versions %}
|
||||
<div class="mt-4 text-right">
|
||||
{% for version in project.versions %}
|
||||
<span class="text-xs ml-1 px-1 py-1 bg-grey-light text-grey-dark rounded">{% spaceless %}
|
||||
<span class="text-xs ml-1 px-1 py-1 bg-gray-300 text-gray-600 rounded">{% spaceless %}
|
||||
Drupal {{ version }}
|
||||
{% endspaceless %}</span>
|
||||
{% endfor %}
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
</div>
|
||||
|
||||
<div class="flex overflow-hidden">
|
||||
<input type="email" value="" name="EMAIL" class="required email block w-full border border-grey p-3 pl-5 rounded-l-full" placeholder="enter your email" aria-label="Email">
|
||||
<button type="submit" name="subscribe" class="block w-auto border border-grey border-l-0 py-3 pl-5 pr-6 rounded-r-full bg-blue-600 text-white">Subscribe</button>
|
||||
<input type="email" value="" name="EMAIL" class="required email block w-full border border-gray p-3 pl-5 rounded-l-full" placeholder="enter your email" aria-label="Email">
|
||||
<button type="submit" name="subscribe" class="block w-auto border border-gray border-l-0 py-3 pl-5 pr-6 rounded-r-full bg-blue-600 text-white">Subscribe</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<ul class="list-reset inline-flex">
|
||||
<li>
|
||||
{% if page.pagination.page == 1 %}
|
||||
<span class="rounded-l-lg p-3 border border-grey text-grey -mr-px cursor-not-allowed">
|
||||
<span class="rounded-l-lg p-3 border border-gray text-gray -mr-px cursor-not-allowed">
|
||||
Previous
|
||||
</span>
|
||||
{% else %}
|
||||
<a href="{{ page.pagination.previous_page.url }}" class="rounded-l-lg link no-underline hover:underline hover:bg-grey-lighter focus:underline p-3 border border-grey -mr-px">
|
||||
<a href="{{ page.pagination.previous_page.url }}" class="rounded-l-lg link no-underline hover:underline hover:bg-gray-200 focus:underline p-3 border border-gray -mr-px">
|
||||
Previous
|
||||
</a>
|
||||
{% endif %}
|
||||
|
@ -15,11 +15,11 @@
|
|||
{% for i in range(1, page.pagination.total_pages) %}
|
||||
<li class="{{ i > (page.pagination.page + 2) or i < (page.pagination.page - 2) ? 'hidden sm:block' }}">
|
||||
{% if i == page.pagination.page %}
|
||||
<span class="p-3 border border-grey text-white bg-blue-600 -mr-px">
|
||||
<span class="p-3 border border-gray text-white bg-blue-600 -mr-px">
|
||||
{{ i }}
|
||||
</span>
|
||||
{% else %}
|
||||
<a href="{{ i == 1 ? '/blog' : '/blog/page/' ~ i ~ '.html' }}" class="link no-underline hover:underline hover:bg-grey-lighter focus:underline p-3 border border-grey -mr-px">
|
||||
<a href="{{ i == 1 ? '/blog' : '/blog/page/' ~ i ~ '.html' }}" class="link no-underline hover:underline hover:bg-gray-200 focus:underline p-3 border border-gray -mr-px">
|
||||
{{ i }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
@ -28,11 +28,11 @@
|
|||
|
||||
<li>
|
||||
{% if page.pagination.next_page.url %}
|
||||
<a href="{{ page.pagination.next_page.url }}" class="rounded-r-lg link no-underline hover:underline hover:bg-grey-lighter focus:underline p-3 border border-grey">
|
||||
<a href="{{ page.pagination.next_page.url }}" class="rounded-r-lg link no-underline hover:underline hover:bg-gray-200 focus:underline p-3 border border-gray">
|
||||
Next
|
||||
</a>
|
||||
{% else %}
|
||||
<span class="rounded-r-lg p-3 border border-grey text-grey cursor-not-allowed">
|
||||
<span class="rounded-r-lg p-3 border border-gray text-gray cursor-not-allowed">
|
||||
Next
|
||||
</span>
|
||||
{% endif %}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<div class="flex items-center">
|
||||
<div class="mr-4 flex-none leading-none">
|
||||
<img src="{{ site.avatar.url }}" alt="Picture of Oliver" class="w-16 rounded-full border border-grey">
|
||||
<img src="{{ site.avatar.url }}" alt="Picture of Oliver" class="w-16 rounded-full border border-gray">
|
||||
</div>
|
||||
|
||||
<p class="mb-0">
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<p class="mb-4 italic text-grey-dark">
|
||||
<p class="mb-4 italic text-gray-600">
|
||||
<b>Have feedback on this post?</b> <a href="mailto:{{ site.email }}?subject=Feedback: {{ page.title }}">Email me</a> or <a href="https://twitter.com/intent/tweet?text=@{{ site.twitter.name }}&url={{ site.url }}{{ page.url|url_encode }}">send me a tweet</a>.
|
||||
</p>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="mb-8">
|
||||
<h1 class="leading-tight mb-2">{{ page.title }}</h1>
|
||||
|
||||
<p class="text-grey-dark">
|
||||
<p class="text-gray-600">
|
||||
{% include 'posts/post-date' with { post: page } %}
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<ul class="list-reset flex flex-wrap">
|
||||
{% for tag in page.tags|sort %}
|
||||
<li>
|
||||
<a href="/blog/tags/{{ tag }}" class="text-xs py-1 px-2 mr-1 mb-1 bg-grey-lighter text-grey-darker leading-none no-underline hover:underline focus:bg-grey-darker focus:text-white focus:outline-none">
|
||||
<a href="/blog/tags/{{ tag }}" class="text-xs py-1 px-2 mr-1 mb-1 bg-gray-200 text-gray-800 leading-none no-underline hover:underline focus:bg-gray-800 focus:text-white focus:outline-none">
|
||||
{{- tag -}}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="mt-8">
|
||||
<h2 class="mb-2">Presented at</h2>
|
||||
|
||||
<ul class="markup">
|
||||
<ul class="markup list-disc ml-5">
|
||||
{% for event in page.events %}
|
||||
<li>
|
||||
{% set eventData = site.events[event.event] %}
|
||||
|
@ -14,7 +14,7 @@
|
|||
{% if eventData.location %}
|
||||
in {{ eventData.location }}
|
||||
{% endif %}
|
||||
<span class="text-grey-darker">- {{ event.date|date('jS F Y') }}</span>
|
||||
<span class="text-gray-800">- {{ event.date|date('jS F Y') }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</span>
|
||||
|
||||
{% if talk.event.time is defined %}
|
||||
<div class="text-xs text-grey-dark">
|
||||
<div class="text-xs text-gray-600">
|
||||
{{ talk.event.time }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -36,7 +36,7 @@
|
|||
{{ talk.talk.title }}
|
||||
{% endif %}
|
||||
|
||||
<div class="text-xs text-grey-dark">
|
||||
<div class="text-xs text-gray-600">
|
||||
{% if talk.talk.type %}
|
||||
{{ talk.talk.type }}
|
||||
{% else %}
|
||||
|
@ -56,7 +56,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if talk.event.location is defined %}
|
||||
<div class="text-xs text-grey-dark">
|
||||
<div class="text-xs text-gray-600">
|
||||
{{ talk.event.location }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
<article>
|
||||
<h3 class="text-lg text-black mb-1">{{ talk.title }}</h3>
|
||||
<h3 class="text-lg text-black mb-1">
|
||||
{{ talk.title }}
|
||||
</h3>
|
||||
|
||||
<div class="text-grey-darkest">
|
||||
<div>
|
||||
<p>{{ talk.description }}</p>
|
||||
</div>
|
||||
|
||||
{% if talk.url %}
|
||||
<footer class="mt-1">
|
||||
<a href="{{ talk.url }}" class="text-sm text-grey-dark hover:text-grey-darkest focus:text-grey-darkest no-underline hover:underline">
|
||||
<a href="{{ talk.url }}" class="text-sm text-gray-600 hover:text-gray-900 focus:text-gray-900 no-underline hover:underline">
|
||||
Find out more
|
||||
<span class="visuallyhidden">about {{ talk.title }}</span>
|
||||
→
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue