[gtk-doc] Make a little more room for showing examples
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] Make a little more room for showing examples
- Date: Thu, 13 Feb 2014 03:18:20 +0000 (UTC)
commit b7813018e6e2ed045f180dff43fac2f8e77ec596
Author: William Jon McCann <william jon mccann gmail com>
Date: Wed Feb 12 17:14:54 2014 -0500
Make a little more room for showing examples
style/style.css | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/style/style.css b/style/style.css
index d07a4f3..f685f1b 100644
--- a/style/style.css
+++ b/style/style.css
@@ -303,13 +303,14 @@ dl.toc > dt
.informalfigure,
.figure
{
- margin: 2em;
+ margin: 1em;
}
.informalexample,
.example
{
- margin: 2em;
+ margin-top: 1em;
+ margin-bottom: 1em;
}
.warning
@@ -423,6 +424,11 @@ h2 .extralinks, h3 .extralinks
padding: 0.5em;
}
.listing_lines {
+ /* this just adds visual clutter and
+ takes precious room from small screens */
+ display: none;
+}
+.listing_lines {
/* tango:sky blue 0.5 */
background: #a6c5e3;
background: rgba(114, 159, 207, 0.2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]