Browse Source

Add left border to code samples to help examples stand out

Jake Smith 9 years ago
parent
commit
c2e3f28b92
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/Packagist/WebBundle/Resources/public/css/main.css

+ 8 - 1
src/Packagist/WebBundle/Resources/public/css/main.css

@@ -29,7 +29,14 @@ html, body {
 }
 
 pre, code {
-  font-family: Consolas, "Courier New", Courier, monospace;
+    background: #fff;
+    font-family: Consolas, "Courier New", Courier, monospace;
+    border-radius: 0;
+    border: none;
+    color: #2d2d32;
+}
+pre {
+  border-left: 2px solid #666;
 }
 
 label {