← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 958090] Re: Code blocks are hard to read

 

** Branch linked: lp:~andrewsomething/ubuntu-packaging-guide/fix-code-
css

-- 
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


References