aboutsummaryrefslogtreecommitdiffhomepage
path: root/style.css
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com> 2021-03-30 13:03:03 +0200
committerMango0x45 <thomasvoss@live.com> 2021-03-30 13:03:03 +0200
commit61460b52758297daf1d315ae7960d4ec9713b3af (patch)
tree0b6f9e8f698e1c29dba56d6fc2fa352a6fa177ee /style.css
parent971d279043e45c555d36502ae2bbaed2b81c2806 (diff)
Grab CSS from stackedit and remove all the bloat. Also start work on dark theme.
Diffstat (limited to 'style.css')
-rw-r--r--style.css102
1 files changed, 102 insertions, 0 deletions
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..8a9abb9
--- /dev/null
+++ b/style.css
@@ -0,0 +1,102 @@
+/*
+ * This is a stripped down version of the style.css found over at
+ * https://stackedit.io
+ */
+
+body {
+ margin: 0;
+}
+
+html {
+ line-height: 1.15;
+ -ms-text-size-adjust: 100%;
+ -webkit-text-size-adjust: 100%;
+}
+
+body, html {
+ color: rgba(0, 0, 0, 0.75);
+ font-size: 16px;
+ font-family: Lato, Helvetica Neue, Helvetica, sans-serif;
+ font-variant-ligatures: common-ligatures;
+ line-height: 1.67;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+}
+
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0;
+}
+
+h1:after {
+ content: "";
+ display: block;
+ position: relative;
+ top: 0.33em;
+ border-bottom: 1px solid hsla(0, 0%, 50%, 0.33);
+}
+
+h1, h3 {
+ margin: 1.8em 0;
+ line-height: 1.33;
+}
+
+p {
+ margin: 1.2em 0;
+}
+
+a {
+ background-color: transparent;
+ color: #0c93e4;
+ text-decoration: underline;
+ text-decoration-skip: ink;
+ -webkit-text-decoration-skip: objects;
+}
+
+a:focus, a:hover {
+ text-decoration: none;
+}
+
+code {
+ background-color: rgba(0, 0, 0, 0.05);
+ border-radius: 3px;
+ padding: 2px 4px;
+ font-family: Roboto Mono, Lucida Sans Typewriter, Lucida Console,
+ monaco, Courrier, monospace;
+ font-size: 0.85em;
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
+
+code * {
+ font-size: inherit;
+}
+
+button {
+ overflow: visible;
+ text-transform: none;
+}
+
+input {
+ overflow: visible;
+}
+
+textarea {
+ overflow: auto;
+}
+
+button, input, textarea {
+ font-family: sans-serif;
+ font-size: 100%;
+ line-height: 1.15;
+ margin: 0;
+}
+
+.stackedit__html {
+ margin-bottom: 20px;
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: 30px;
+ padding-right: 30px;
+ max-width: 70%;
+}