aboutsummaryrefslogtreecommitdiff
path: root/site/css/styles.css
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--site/css/styles.css20
1 files changed, 19 insertions, 1 deletions
diff --git a/site/css/styles.css b/site/css/styles.css
index 0b195e6..eb4bb78 100644
--- a/site/css/styles.css
+++ b/site/css/styles.css
@@ -41,15 +41,33 @@ footer li a {
margin-left: 5px;
}
+div.sourceCode {
+ padding: 3px;
+ border: 1px solid;
+ border-radius: 10px;
+}
+
pre {
white-space: pre-wrap;
- margin-left: 3ex;
+ counter-reset: line;
}
code {
font-family: monospace;
}
+pre a:before {
+ color: #aaa;
+ content: counter(line);
+ counter-increment: line;
+ display: inline-block;
+ width: 3em;
+ margin-left: auto;
+ margin-right: 1em;
+ padding-left: auto;
+ text-align: right;
+}
+
article .header {
color: #555;
font-size: 14px;