[gi-docgen: 1/2] Add a way to frame images
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gi-docgen: 1/2] Add a way to frame images
- Date: Fri, 29 Jul 2022 13:12:23 +0000 (UTC)
commit ec834c25e780d8ed2df9d48fbc0f579b6e7fa6bd
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 12 13:07:42 2022 -0400
Add a way to frame images
Maybe this is a hack, but it makes it easy to
get a frame around an image, by appending
a #frame to the url.
gidocgen/templates/basic/style.css | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/gidocgen/templates/basic/style.css b/gidocgen/templates/basic/style.css
index 188c9a7..0cd38b3 100644
--- a/gidocgen/templates/basic/style.css
+++ b/gidocgen/templates/basic/style.css
@@ -338,6 +338,13 @@ blockquote > *:last-child > *:last-child > *:last-child {
margin-bottom: 0;
}
+/* allow easily adding a frame around images, by appending
+ * #frame to the url
+ */
+img[src$="#frame"] {
+ border: 1px solid var(--text-color);
+}
+
/*********************************
* PAGE STRUCTURE
*********************************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]