← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 958090] [NEW] Code blocks are hard to read

 

Public bug reported:

I've found the code blocks in the guide hard to read. They run into the
next paragraph and could use a distinct background.

Poking around in the css, I found that there is already:

code{
	padding: 10px;
	font-family: 'Ubuntu Mono', 'Consolas', 'Monaco', 'DejaVu Sans Mono', Courier, monospace;
	background-color: #fdf6f2;
	display: block;
	margin-bottom: 10px;
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
	border-radius: 4px;
}

Though it isn't applied to our code blocks. Looking at the generated
html files, you see that the code blocks are:

<div class="highlight-python"><pre>

** Affects: ubuntu-packaging-guide
     Importance: Low
     Assignee: Andrew Starr-Bochicchio (andrewsomething)
         Status: In Progress

** Summary changed:

- Code block hard to read
+ Code blocks are hard to read

** Changed in: ubuntu-packaging-guide
       Status: New => In Progress

** Changed in: ubuntu-packaging-guide
   Importance: Undecided => Low

** Changed in: ubuntu-packaging-guide
     Assignee: (unassigned) => Andrew Starr-Bochicchio (andrewsomething)

-- 
You received this bug notification because you are a member of Ubuntu
Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide.
https://bugs.launchpad.net/bugs/958090

Title:
  Code blocks are hard to read

Status in Ubuntu Packaging Guide:
  In Progress

Bug description:
  I've found the code blocks in the guide hard to read. They run into
  the next paragraph and could use a distinct background.

  Poking around in the css, I found that there is already:

  code{
  	padding: 10px;
  	font-family: 'Ubuntu Mono', 'Consolas', 'Monaco', 'DejaVu Sans Mono', Courier, monospace;
  	background-color: #fdf6f2;
  	display: block;
  	margin-bottom: 10px;
  		-moz-border-radius: 4px;
  		-webkit-border-radius: 4px;
  	border-radius: 4px;
  }

  Though it isn't applied to our code blocks. Looking at the generated
  html files, you see that the code blocks are:

  <div class="highlight-python"><pre>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/958090/+subscriptions


Follow ups

References