/* github gist dark embedding */ @import url('https://cdn.rawgit.com/lonekorean/gist-syntax-themes/d49b91b3/stylesheets/idle-fingers.css'); /* Roboto font */ @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap'); /* https://github.com/lonekorean/gist-syntax-themes/issues/5 */ .gist .pl-smi, .gist .pl-s .pl-s1 { color: #a47b60f5 !important; } /* General */ body { background: #ffffff; margin: 0em 0em 0em 0em; /* reserved for future use */ line-height: 1.5em; color: #333333; font-family: Arial, sans-serif; } img { max-width: 100%; height: auto; } /* h1 is used in the title of the post inside the post */ h1 { font-size: 2em; margin-bottom: 0; line-height: 1.2em; margin-top: 0; font-family: Times New Roman, serif; } /* h2 is used in the title in the post list */ h2 { font-size: 1.6em; margin-bottom: 0; line-height: 1.2em; margin-top: 0; margin-bottom: 0.25em; font-family: Times New Roman, serif; } h3, h4, h5, h6 { margin-bottom: 0; line-height: 1.2em; margin-top: 1em; } a:link, a:visited { color: #333333; text-decoration: none } a:hover, a:active { color: #333333; text-decoration: underline } /* Single column layout */ nav section, header section, footer section { max-width: 80em; margin-left: auto; margin-right: auto; padding: 0em 1em 0em 1em; /* the 1em padding garantees left/right margin for vertical mobile use */ } /* individual control of the main text */ main { max-width: 80em; margin-left: auto; margin-right: auto; padding: 0em 1em 2em 1em; /* the 1em padding garantees left/right margin for vertical mobile use */ /* the 2m padding at the bottom gives extra distance vertical from the footer */ } main a:link, nav a:visited { text-decoration: underline } main a:hover, nav a:active { text-decoration: underline } /* Navigation panel */ nav { background: #000000; border-bottom: thin solid #111111; line-height: 3em; } nav a { margin-right: 1em; font-family: Arial, sans-serif; } nav a:link, nav a:visited { color: #cccccc; } nav a:hover, nav a:active { color: #ffffff; text-decoration: none; } @media screen and (min-width: 600px) { nav .links { float: right; } } /* Footer */ footer { background: #eaeaea; /* background of the footer */ border-top: thin solid #b5b5b5; border-bottom: thin solid #b5b5b5; margin-top: 2em; padding: 0.1em 0; box-shadow: 0 100vh 0 100vh #ffffff; /* section under the footer */ text-align: center; } footer section p { font-size: 0.8em; } footer a { margin-right: 1em; } footer a:last-child { margin-right: 0; } /* Posts */ article { margin-top: 1em; margin-bottom: 1.5em; } article h2 a:link, article h2 a:visited, article h1 a:link, article h1 a:visited, .more:link, .more:visited { color: #333333; text-decoration: none; } article h2 a:hover, article h2 a:active, article h1 a:hover, article h1 a:active, .more:hover, .more:active { color: #ff6600; text-decoration: none; } p { color: #333333; } /* used for the "published by" */ p.meta { margin-top: 0; margin-bottom: 0; font-size: 0.7em; color: #777777; font-style: italic; } p.summary { margin-top: 0.25em; margin-bottom: 0.25em; } div .more { margin-top: 0; font-weight: bold; font-size: 1em; } /* RSS */ .rss { margin-left: 0.3em; padding: 0.3em 0.35em; border-radius: 0.25em; font-size: 0.30em; font-weight: bold; } .rss:link, .rss:visited, .rss:hover, .rss:active { color: #ffffff; text-decoration: none; } .rss:link, .rss:visited { background: #ff6600; } .rss:hover, .rss:active { background: #ff8822; } /* Image galleries */ .gallery { margin-top: 1.5em; margin-bottom: 1em; } .images { display: table; border-spacing: 0.2em 0; table-layout: fixed; } .captions { display: table; border-spacing: 0.2em 0; width: auto; width: 100%; } .images a, .captions span { display: table-cell; } .images img { max-height: 100%; max-width: 100%; vertical-align: bottom; } .captions span { text-align: center; padding: 0.5em; font-size: 0.8em; width: auto; } pre, code { /* Make 1em = 16px in Chrome, Firefox, and Safari. */ font-family: monospace, monospace; font-size: 0.9em; /* color: #008; */ } pre { background: #eaeaea; padding: 0.1em 0.4em; border-radius: 0.1em; border: thin solid #333333; /* Add scroll bar when a line of code is too long. */ overflow: auto; } /* Media queries to fine tune Desktop Mode */ @media only screen and (min-width: 1024px) { body { font-size: 17px; background: #f6f6f6; font-family: 'Roboto', Arial, sans-serif; text-align: justify !important; } main { max-width: 50em; min-height: calc(100vh - 240px); line-height: 1.5em; } nav section, header section, footer section { max-width: 50em; } footer { background: #eaeaea; box-shadow: 0 100vh 0 100vh #ececec; /* section under the footer */ } pre { } }