From ab604ab2eef18e86693a64608a4b0546b7f11007 Mon Sep 17 00:00:00 2001 From: Yann Date: Sun, 19 Jun 2022 18:40:54 +0200 Subject: [PATCH] Corrige le css des figcaptions --- LICENSE.txt | 22 ++++++++++++++++++++++ assets/css/screen.css | 7 +++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100755 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100755 index 0000000..bcb1aa6 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,22 @@ +Copyright (c) 2014 Dmitry Lebedev - Released under The MIT License. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/assets/css/screen.css b/assets/css/screen.css index 67a7f45..731ad64 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -7,6 +7,7 @@ --title: #f28322; --post-title: #a7adba; --border: #424650; + --figcaption: #9EABB3; } @font-face { @@ -637,11 +638,13 @@ textarea { .post-full-content figure img { margin:0 } -.post-full-content figcaption { +.post-content figcaption { margin:1.0em 0 0; font-size:80%; + font-style: italic; line-height:1.6em; - text-align:center + text-align:center; + color: var(--figcaption); } .kg-width-full figcaption { padding:0 1.5em