aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2020-05-28 22:11:12 -0700
committerjackyzha0 <[email protected]>2020-05-28 22:11:12 -0700
commit7893c07f17feb97dae15e6963c8f819ddcabb764 (patch)
tree0cd3b628d55dcec0c79b010da72da996c83d39d7 /frontend/src/css
parentMerge pull request #43 from jackyzha0/markdown (diff)
downloadctrl-v-7893c07f17feb97dae15e6963c8f819ddcabb764.tar.xz
ctrl-v-7893c07f17feb97dae15e6963c8f819ddcabb764.zip
made markdown render less bad
Diffstat (limited to 'frontend/src/css')
-rw-r--r--frontend/src/css/index.css46
1 files changed, 31 insertions, 15 deletions
diff --git a/frontend/src/css/index.css b/frontend/src/css/index.css
index da345d7..a6e8e9c 100644
--- a/frontend/src/css/index.css
+++ b/frontend/src/css/index.css
@@ -11,11 +11,6 @@ body {
font-family: 'Lora', serif;
}
-h1 {
- font-size: 50px;
- margin: 0 0;
-}
-
form {
width: 100%;
}
@@ -132,17 +127,9 @@ button[type=button] {
margin: 2em 2em;
}
-ul {
- list-style-type: none;
- display: inline-block;
-}
-
-li {
- display: inline-block;
- margin: 0 1em;
-}
-
.mainLogo {
+ font-size: 50px;
+ margin: 0 0;
display: inline-block;
}
@@ -165,4 +152,33 @@ li {
.mainLogo:hover a::after {
width: 100%;
+}
+
+/* fixing markdown renderer */
+.md h3 {
+ font-weight: bold;
+}
+
+.md hr {
+ border-top: 1px solid #000;
+ border-style: solid;
+}
+
+.md code {
+ background: #00000008;
+ font-size: 0.8em;
+ padding: 0.2em 0.5em;
+}
+
+.md pre {
+ padding: 0.7em;
+ background: #00000008;
+}
+
+.md pre > code {
+ background: none;
+}
+
+.md table {
+ width: 100%;
} \ No newline at end of file