fix(style): fix accessibility

This commit is contained in:
Romain J 2021-08-02 18:05:13 +02:00
parent 06a7b8788b
commit 419a160572
7 changed files with 14 additions and 6 deletions

View file

@ -498,6 +498,10 @@ html[data-theme=light] .uk-text-muted {
background-color: #f8f8f8; background-color: #f8f8f8;
} }
*:focus {
border: 1px solid #0f7ae5 !important;
}
html, body { html, body {
font-family: "Roboto", sans-serif; font-family: "Roboto", sans-serif;
transition-duration: 0.3s; transition-duration: 0.3s;

View file

@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["../sass/index.scss","../sass/uikit_fix.scss"],"names":[],"mappings":"AAAQ;ACKI;EACI;;AAKZ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AAGR;EACI;;AAGJ;EACI;;AAIA;EACI;;AADJ;EACI;;AADJ;EACI;;AADJ;EACI;;AADJ;EACI;;AADJ;EACI;;AAMA;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKZ;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;EACA;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ACI;;AAEJ;EACI;;AAGJ;EACI;;;AAYR;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AD3KJ;EACI;EACA;;;AAIA;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;EAEA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;;AAKZ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;;AAjCJ;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;EAEA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;;AAKZ;EACI;EACA;EACA;;AAGJ;EACI;EACA","file":"index.css"} {"version":3,"sourceRoot":"","sources":["../sass/index.scss","../sass/uikit_fix.scss"],"names":[],"mappings":"AAAQ;ACKI;EACI;;AAKZ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AAGR;EACI;;AAGJ;EACI;;AAIA;EACI;;AADJ;EACI;;AADJ;EACI;;AADJ;EACI;;AADJ;EACI;;AADJ;EACI;;AAMA;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAbJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ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;AAGJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAGJ;EACI;EACA;;AAEJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;;AAYR;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AD3KJ;EACI;;;AAGJ;EACI;EACA;;;AAIA;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;EAEA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;;AAKZ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;;AAjCJ;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI;EAEA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;;AAKZ;EACI;EACA;EACA;;AAGJ;EACI;EACA","file":"index.css"}

File diff suppressed because one or more lines are too long

View file

@ -3,6 +3,10 @@
@import "uikit_fix"; @import "uikit_fix";
*:focus {
border: 1px solid #0f7ae5!important;
}
html, body { html, body {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
transition-duration: .3s; transition-duration: .3s;

View file

@ -34,7 +34,7 @@ mais aussi par <code><a href="https://git.gnous.eu/Romain">Romain J.</a></code>,
{% for partner in partners %} {% for partner in partners %}
<div class="uk-margin-bottom"> <div class="uk-margin-bottom">
<div class="uk-card uk-card-secondary"> <div class="uk-card uk-card-secondary">
<div class="uk-card-media-top"> <div class="uk-card-media-top uk-text-center">
<img class="uk-align-center" src="{{ partner.photo.url }}" loading="lazy" alt="{{ partner.name }}" width="320" height="240"> <img class="uk-align-center" src="{{ partner.photo.url }}" loading="lazy" alt="{{ partner.name }}" width="320" height="240">
</div> </div>
<div class="uk-card-body"> <div class="uk-card-body">

View file

@ -11,14 +11,14 @@
<a class="uk-text-small uk-button-link" href="https://git.gnous.eu/Romain">Romain J.</a> <a class="uk-text-small uk-button-link" href="https://git.gnous.eu/Romain">Romain J.</a>
<span class="uk-text-small uk-text-muted"> | {% trans "Fait avec" %} </span> <span class="uk-text-small uk-text-muted"> | {% trans "Fait avec" %} </span>
<a href="http://getuikit.com" target="_blank" class="uk-text-small uk-button-link"><span data-uk-icon="uikit" class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="uikit"><polygon <a href="http://getuikit.com" target="_blank" class="uk-text-small uk-button-link" title="UIKit"><span data-uk-icon="uikit" class="uk-icon"><svg aria-label="UIKit" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-svg="uikit"><polygon
points="14.4,3.1 11.3,5.1 15,7.3 15,12.9 10,15.7 5,12.9 5,8.5 2,6.8 2,14.8 9.9,19.5 18,14.8 18,5.3"></polygon><polygon points="9.8,4.2 6.7,2.4 9.8,0.4 12.9,2.3"></polygon></svg></span></a> points="14.4,3.1 11.3,5.1 15,7.3 15,12.9 10,15.7 5,12.9 5,8.5 2,6.8 2,14.8 9.9,19.5 18,14.8 18,5.3"></polygon><polygon points="9.8,4.2 6.7,2.4 9.8,0.4 12.9,2.3"></polygon></svg></span></a>
<span class="uk-text-small uk-text-muted"> | Version: </span> <span class="uk-text-small uk-text-muted"> | Version: </span>
<a href="https://git.gnous.eu/gnouseu/gnousdoteu/src/commit/{% version 'long' %}" target="_blank" class="uk-text-small uk-button-link">{% version 'short' %}</a> <a href="https://git.gnous.eu/gnouseu/gnousdoteu/src/commit/{% version 'long' %}" target="_blank" class="uk-text-small uk-button-link">{% version 'short' %}</a>
</div> </div>
<div class="uk-float-right uk-visible@s"> <div class="uk-float-right uk-visible@s">
<label class="uk-switch need-js" for="themeSwitcher"> <label class="uk-switch need-js" for="themeSwitcher" aria-label="Theme">
<input type="checkbox" id="themeSwitcher" name="theme"> <input type="checkbox" id="themeSwitcher" name="theme">
<span class="uk-switch-slider"></span> <span class="uk-switch-slider"></span>
</label> </label>

View file

@ -28,7 +28,7 @@
{% for service in services %} {% for service in services %}
<div class="uk-margin-bottom"> <div class="uk-margin-bottom">
<div class="uk-card uk-card-secondary"> <div class="uk-card uk-card-secondary">
<div class="uk-card-media-top"> <div class="uk-card-media-top uk-text-center">
<a href="https://{{ service.domain }}" target="_blank"> <a href="https://{{ service.domain }}" target="_blank">
<img src="{{ service.photo.url }}" loading="lazy" alt="{{ service.name }}" width="320" height="240"> <img src="{{ service.photo.url }}" loading="lazy" alt="{{ service.name }}" width="320" height="240">
</a> </a>