aboutsummaryrefslogtreecommitdiff
path: root/cmd/present/static/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/present/static/styles.css')
-rw-r--r--cmd/present/static/styles.css19
1 files changed, 12 insertions, 7 deletions
diff --git a/cmd/present/static/styles.css b/cmd/present/static/styles.css
index 5edfde934..47c9f196d 100644
--- a/cmd/present/static/styles.css
+++ b/cmd/present/static/styles.css
@@ -242,7 +242,7 @@
margin-bottom: 100px !important;
}
- div.code {
+ pre {
background: rgb(240, 240, 240);
}
@@ -359,7 +359,12 @@ li {
margin: 0 0 0.5em 0;
}
-div.code {
+div.code, div.output {
+ margin: 0;
+ padding: 0;
+}
+
+pre {
padding: 5px 10px;
margin-top: 20px;
margin-bottom: 20px;
@@ -367,10 +372,6 @@ div.code {
background: rgb(240, 240, 240);
border: 1px solid rgb(224, 224, 224);
-}
-pre {
- margin: 0;
- padding: 0;
font-family: 'Droid Sans Mono', 'Courier New', monospace;
font-size: 18px;
@@ -393,6 +394,10 @@ code {
color: black;
}
+pre code {
+ font-size: 100%;
+}
+
article > .image,
article > .video {
text-align: center;
@@ -433,7 +438,7 @@ p.link {
}
/* Code */
-div.code {
+pre {
outline: 0px solid transparent;
}
div.playground {