Skip to content

Commit

Permalink
Updated css to be less bloated and minor changes to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Peterwmoss committed Nov 3, 2020
1 parent 37587dc commit 37af1a5
Showing 1 changed file with 3 additions and 83 deletions.
86 changes: 3 additions & 83 deletions resources/3rdparty/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ a::selection {
}

p {
margin: 0.5em 2em;
margin: 0.5em 0em;
}

img {
Expand All @@ -78,7 +78,6 @@ h3,
h4,
h5,
h6 {
font-weight: normal;
color: #111;
line-height: 0.5em;
}
Expand All @@ -91,14 +90,11 @@ h6 {

h1 {
font-size: 2.5em;
text-decoration-line: underline;
text-decoration-color: #111;
font-weight: bolder;
font-weight: bold;
}

h2 {
font-size: 2em;
font-style: italic;
font-weight: bold;
}

Expand Down Expand Up @@ -140,8 +136,7 @@ kbd,
samp {
color: #000;
font-family: monospace, monospace;
_font-family: "courier new", monospace;
font-size: 0.98em;
font-size: 1em;
}

pre {
Expand Down Expand Up @@ -228,78 +223,3 @@ td {
font-size: 16px;
}
}

@media print {
* {
background: transparent !important;
color: black !important;
filter: none !important;
-ms-filter: none !important;
}

body {
font-size: 12pt;
max-width: 100%;
}

a,
a:visited {
text-decoration: underline;
}

hr {
height: 1px;
border: 0;
border-bottom: 1px solid black;
}

a[href]:after {
content: " (" attr(href) ")";
}

abbr[title]:after {
content: " (" attr(title) ")";
}

.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}

pre,
blockquote {
border: 1px solid #999;
padding-right: 1em;
page-break-inside: avoid;
}

tr,
img {
page-break-inside: avoid;
}

img {
max-width: 100% !important;
}

@page :left {
margin: 15mm 20mm 15mm 10mm;
}

@page :right {
margin: 15mm 10mm 15mm 20mm;
}

p,
h2,
h3 {
orphans: 3;
widows: 3;
}

h2,
h3 {
page-break-after: avoid;
}
}

0 comments on commit 37af1a5

Please sign in to comment.