css: various style fixup
diff --git a/theme/static/css/style.scss b/theme/static/css/style.scss
index 976d1cd..bb4eb3d 100644
--- a/theme/static/css/style.scss
+++ b/theme/static/css/style.scss
@@ -15,7 +15,7 @@
$danger: red;
$sans: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
-$mono: monospace;
+$mono: "Source Code Pro", monospace;
$border_color: #c2c2c2;
$pag_label_size: 60px;
@@ -27,7 +27,7 @@
$main_font_size: 1rem;
$nav_font_size: 1rem;
$subtitle_font_size: 0.9rem;
-$code_font_size: 1rem;
+$code_font_size: 12px;
$article_meta_font_size: 0.8rem;
$pagination_font_size: 0.9rem;
$footer_font_size: 0.7rem;
@@ -60,6 +60,7 @@
background-color: $border_color;
height: 1px;
border: none;
+ margin: 0em;
}
img {
@@ -159,7 +160,34 @@
max-width: $content_size;
margin: auto;
+ /* Input form */
+ fieldset {
+ border: 0px;
+ }
+
+ div.form_errors {
+ p {
+ color: red;
+ font-weight: bold;
+ }
+ }
+
+ div.submit_msg {
+ p {
+ color: green;
+ font-weight: bold;
+ }
+ }
+
div.article_title {
+ h3 {
+ padding: 2px;
+ margin: 2px;
+ }
+ p {
+ padding: 2px;
+ margin: 2px;
+ }
}
div.article_text {
@@ -198,7 +226,7 @@
}
div.highlight pre {
- display: inline-block;
+ display: block;
padding-left: 10px;
overflow-x: auto;
border: 1px solid $code-border;