← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Merge] lp:~mitya57/ubuntu-packaging-guide/add-guide-css into lp:ubuntu-packaging-guide

 

Dmitry Shachnev has proposed merging lp:~mitya57/ubuntu-packaging-guide/add-guide-css into lp:ubuntu-packaging-guide with lp:~mitya57/ubuntu-packaging-guide/add-python as a prerequisite.

Requested reviews:
  Ubuntu Packaging Guide Team (ubuntu-packaging-guide-team)

For more details, see:
https://code.launchpad.net/~mitya57/ubuntu-packaging-guide/add-guide-css/+merge/117876

As discussed in bug 702008: currently, the lists are broken (no indent, bullet marks not displayed). This happens because of reset.css. This branch adds guide.css that fixes the issue without need to modify other CSS files.
-- 
https://code.launchpad.net/~mitya57/ubuntu-packaging-guide/add-guide-css/+merge/117876
Your team Ubuntu Packaging Guide Team is requested to review the proposed merge of lp:~mitya57/ubuntu-packaging-guide/add-guide-css into lp:ubuntu-packaging-guide.
=== modified file 'debian/changelog'
--- debian/changelog	2012-08-02 11:38:18 +0000
+++ debian/changelog	2012-08-02 11:38:18 +0000
@@ -29,6 +29,7 @@
 
   [ Dmitry Shachnev ]
   * Add python-packaging.rst (LP: #702008)
+  * Add guide.css and pygments.css files
 
  -- Daniel Holbach <daniel.holbach@xxxxxxxxxx>  Wed, 06 Jun 2012 09:28:00 +0200
 

=== modified file 'themes/ubuntu/layout.html'
--- themes/ubuntu/layout.html	2012-08-02 11:38:18 +0000
+++ themes/ubuntu/layout.html	2012-08-02 11:38:18 +0000
@@ -68,6 +68,7 @@
     <link rel="stylesheet" href="{{ pathto('_static/base.css', 1) }}" type="text/css" />
     <link rel="stylesheet" href="{{ pathto('_static/home.css', 1) }}" type="text/css" />
     <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
+    <link rel="stylesheet" href="{{ pathto('_static/guide.css', 1) }}" type="text/css" />
     {%- for cssfile in css_files %}
     <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
     {%- endfor %}

=== added file 'themes/ubuntu/static/guide.css'
--- themes/ubuntu/static/guide.css	1970-01-01 00:00:00 +0000
+++ themes/ubuntu/static/guide.css	2012-08-02 11:38:18 +0000
@@ -0,0 +1,12 @@
+/* CSS style bits for Ubuntu developer guide */
+/* Author: Dmitry Shachnev <mitya57@xxxxxxxxx>, 2012 */
+
+#content li {
+    list-style-type: disc;
+    margin-left: 25px;
+    margin-bottom: 5px;
+}
+
+#content .highlight {
+    padding-bottom: 10px;
+}


Follow ups