1
0
mirror of https://github.com/ipdb/website.git synced 2024-12-28 07:37:44 +01:00

caretakers tweaks

This commit is contained in:
Matthias Kretschmann 2017-09-07 14:05:37 +02:00
parent b623e67486
commit 680028ccaf
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 5 additions and 11 deletions

View File

@ -15,7 +15,6 @@
&:hover,
&:focus {
.logo-caretaker {
opacity: 1;
fill: $link-color;
color: $link-color;
}
@ -25,14 +24,13 @@
.logo-caretaker {
fill: $brand-04;
color: $brand-04;
opacity: .6;
max-width: 100%;
height: 20px; // need to hardcode some size to overwrite browser's default 150px height for SVGs
height: 1.5rem; // need to hardcode some size to overwrite browser's default 150px height for SVGs
transition: .25s ease-out;
@media ($screen-sm) {
height: auto;
max-height: 40px;
max-height: 2.2rem;
}
}

View File

@ -34,10 +34,6 @@
.section__title {
font-size: $font-size-h2;
}
.logo-caretaker {
opacity: 1;
}
}
.section--board {

View File

@ -1,12 +1,12 @@
<div class="caretakers grid grid--half grid-medium--fit grid-medium--columns grid--justifycenter grid--gutters">
{% assign caretakers = (site.data.caretakers | sort: 'date') %}
{% assign caretakers = (site.data.caretakers | sort: 'name') %}
{% for caretaker in caretakers %}
{% assign slug = (caretaker.name | downcase | replace: ' ', '-' | replace: '.', '-') %}
<div class="grid__col grid__col--1">
<div class="grid__col grid__col--2">
<a class="caretaker" href="{{ caretaker.link }}" rel="external">
<svg class="logo-caretaker logo-caretaker--{{ slug }}" aria-labelledby="title">
<title>{{ caretaker.name }}</title>

View File

@ -1,7 +1,7 @@
---
layout: page
title: Documentation
title: IPDB Developer Documentation
subtitle: Sharing the knowledge
narrow: true