aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css176
1 files changed, 159 insertions, 17 deletions
diff --git a/style.css b/style.css
index dcacff8..3649192 100644
--- a/style.css
+++ b/style.css
@@ -1,29 +1,171 @@
-@font-face {
- font-family: "Roboto";
- src: url("font/Roboto-Regular.ttf");
+/*****************************************************************************/
+/* Credit: https://github.com/markdowncss/retro
+/*****************************************************************************/
+
+pre, code {
+ font-family: Menlo, Monaco, "Courier New", monospace;
}
-body {
- font-family: "Roboto";
- background-color: #212121;
- color: #F5F5F5;
+pre {
+ padding: .5rem;
+ line-height: 1.25;
+ overflow-x: scroll;
}
-a {
- color: #1E88E5;
- text-decoration: none;
+@media print {
+ *,
+ *:before,
+ *:after {
+ background: transparent !important;
+ color: #000 !important;
+ box-shadow: none !important;
+ text-shadow: none !important;
+ }
+
+ a, a:visited {
+ text-decoration: underline;
+ }
+
+ /* a[href]:after { */
+ /* content: " (" attr(href) ")"; */
+ /* } */
+ /* */
+ /* abbr[title]:after { */
+ /* content: " (" attr(title) ")"; */
+ /* } */
+ /* */
+ /* a[href^="#"]:after, */
+ /* a[href^="javascript:"]:after { */
+ /* content: ""; */
+ /* } */
+
+ pre, blockquote {
+ border: 1px solid #999;
+ page-break-inside: avoid;
+ }
+
+ thead {
+ display: table-header-group;
+ }
+
+ tr, img {
+ page-break-inside: avoid;
+ }
+
+ img {
+ max-width: 100% !important;
+ }
+
+ p,
+ h2,
+ h3 {
+ orphans: 3;
+ widows: 3;
+ }
+
+ h2,
+ h3 {
+ page-break-after: avoid;
+ }
}
-td, th {
- padding: 2px;
+a, a:visited {
+ color: #01ff70;
}
-div#page-wrapper {
- margin-left: 30px;
- margin-right: 30px;
+a:hover, a:focus, a:active {
+ color: #2ecc40;
+}
+
+html {
+ font-size: 10px;
+}
+
+@media screen and (min-width: 32rem) and (max-width: 48rem) {
+ html {
+ font-size: 13px;
+ }
+}
+
+@media screen and (min-width: 48rem) {
+ html {
+ font-size: 14px;
+ }
+}
+
+body {
+ line-height: 1.85;
+}
+
+p {
+ font-size: 1rem;
+ margin-bottom: 1.3rem;
+}
+
+h1 h2, h3, h4 {
+ margin: 1.414rem 0 .5rem;
+ font-weight: inherit;
+ line-height: 1.42;
}
h1 {
- text-align: center;
- text-decoration: underline;
+ margin-top: 0;
+ font-size: 2.5rem;
+}
+
+h2 {
+ font-size: 2.1rem;
+}
+
+h3 {
+ font-size: 1.8rem;
+}
+
+h4 {
+ font-size: 1.6rem;
+}
+
+h5 {
+ font-size: 1.4rem;
+}
+
+h6 {
+ font-size: 1.2rem;
+}
+
+small {
+ font-size: .707em;
+}
+
+/* https://github.com/mrmrs/fluidity */
+
+img, canvas, iframe, video, svg, select, textarea {
+ max-width: 100%;
+}
+
+html, body {
+ background-color: #222;
+ min-height: 100%;
+}
+
+html {
+ font-size: 16px;
+}
+
+body {
+ color: #fafafa;
+ font-family: "Courier New";
+ line-height: 1.45;
+ margin: 6rem auto 1rem;
+ max-width: 48rem;
+ padding: .25rem;
+}
+
+pre {
+ background-color: #333;
+}
+
+blockquote {
+ border-left: 3px solid #01ff70;
+ padding-left: 1rem;
}