2020-06-24 08:08:28 +00:00
|
|
|
:root {
|
|
|
|
font-family: "sans-serif";
|
|
|
|
--colour-bg: #f0f0f0;
|
|
|
|
--colour-bg-main: #ddd;
|
|
|
|
--colour-bg-code: #ccc;
|
2021-03-11 16:22:40 +00:00
|
|
|
--colour-bg-highlight: #f9f890;
|
2020-06-24 08:08:28 +00:00
|
|
|
--colour-fg: #000000;
|
|
|
|
--colour-fg-highlight: #7f0602;
|
2020-06-30 10:42:39 +00:00
|
|
|
--colour-fg-lineno: #111;
|
|
|
|
--colour-fg-code-number: #06027f;
|
|
|
|
--colour-fg-code-string: #027f06;
|
|
|
|
--colour-fg-code-fun: #7b7f02;
|
|
|
|
--colour-fg-code-com: #027b7f;
|
2020-06-24 08:08:28 +00:00
|
|
|
}
|
|
|
|
|
2020-06-24 13:53:18 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--colour-bg: #101010;
|
|
|
|
--colour-bg-main: #333;
|
|
|
|
--colour-bg-code: #222;
|
2021-03-11 16:22:40 +00:00
|
|
|
--colour-bg-highlight: #727000;
|
2020-06-24 13:53:18 +00:00
|
|
|
--colour-fg: #ffffff;
|
|
|
|
--colour-fg-highlight: #fc918d;
|
2020-06-30 10:42:39 +00:00
|
|
|
--colour-fg-lineno: #ccc;
|
|
|
|
--colour-fg-code-number: #918dfc;
|
|
|
|
--colour-fg-code-string: #8dfc91;
|
|
|
|
--colour-fg-code-fun: #f8fc8d;
|
|
|
|
--colour-fg-code-com: #8df8fc;
|
2020-06-24 13:53:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-24 08:08:28 +00:00
|
|
|
body {
|
2020-06-30 10:42:39 +00:00
|
|
|
background-color: #f0f0f0;
|
2020-06-24 08:08:28 +00:00
|
|
|
background-color: var(--colour-bg);
|
|
|
|
margin: 0;
|
2024-10-12 18:37:26 +00:00
|
|
|
display: grid;
|
2024-10-12 21:11:20 +00:00
|
|
|
grid-template-columns: 2em 200px 600px min-content;
|
2024-10-12 18:37:26 +00:00
|
|
|
grid-column-gap: 2em;
|
|
|
|
grid-template-rows: 2em min-content min-content 1fr;
|
|
|
|
grid-template-areas:
|
|
|
|
". . main . "
|
|
|
|
". header main sidebar"
|
|
|
|
". menu main sidebar"
|
|
|
|
". footer main sidebar";
|
2020-06-24 08:08:28 +00:00
|
|
|
justify-content: center;
|
|
|
|
min-height: 100vh;
|
2020-06-30 10:42:39 +00:00
|
|
|
color: #000000;
|
2020-06-24 13:53:18 +00:00
|
|
|
color: var(--colour-fg);
|
2020-06-24 08:08:28 +00:00
|
|
|
}
|
|
|
|
|
2024-10-12 18:37:26 +00:00
|
|
|
body > nav {
|
|
|
|
grid-area: menu;
|
2021-03-11 16:22:40 +00:00
|
|
|
}
|
|
|
|
|
2020-06-24 15:40:20 +00:00
|
|
|
body > footer {
|
2024-10-12 18:37:26 +00:00
|
|
|
grid-area: footer;
|
|
|
|
margin-top: 0;
|
2020-06-24 08:08:28 +00:00
|
|
|
}
|
|
|
|
|
2024-10-12 18:37:26 +00:00
|
|
|
body > header {
|
|
|
|
grid-area: header;
|
2020-06-24 08:08:28 +00:00
|
|
|
text-align: center;
|
2024-10-12 18:37:26 +00:00
|
|
|
margin-bottom: 0;
|
2020-06-24 08:08:28 +00:00
|
|
|
}
|
|
|
|
|
2024-10-12 18:37:26 +00:00
|
|
|
body > header > img {
|
2020-06-24 08:08:28 +00:00
|
|
|
width: 100%;
|
|
|
|
max-width: 160px;
|
|
|
|
}
|
|
|
|
|
2024-10-12 18:37:26 +00:00
|
|
|
body > section.main-sidebar {
|
|
|
|
grid-area: sidebar;
|
|
|
|
}
|
|
|
|
|
2020-06-24 08:08:28 +00:00
|
|
|
body > main {
|
2024-10-12 18:37:26 +00:00
|
|
|
grid-area: main;
|
2020-06-24 08:08:28 +00:00
|
|
|
padding: 2em;
|
|
|
|
/* width: 600px; */
|
2020-06-30 10:42:39 +00:00
|
|
|
border-left: #7f0602 dotted 1px;
|
|
|
|
border-right: #7f0602 dotted 1px;
|
2020-06-24 08:08:28 +00:00
|
|
|
border-left: var(--colour-fg-highlight) dotted 1px;
|
|
|
|
border-right: var(--colour-fg-highlight) dotted 1px;
|
2024-10-12 18:37:26 +00:00
|
|
|
max-width: calc(600px);
|
2020-06-30 10:42:39 +00:00
|
|
|
background-color: #ddd;
|
2020-06-24 08:08:28 +00:00
|
|
|
background-color: var(--colour-bg-main);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, .title {
|
|
|
|
margin: 0;
|
|
|
|
/* font-size: 2em; */
|
|
|
|
}
|
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
2020-06-30 10:42:39 +00:00
|
|
|
border-bottom: 1px dotted #000000;
|
2020-06-24 13:53:18 +00:00
|
|
|
border-bottom: 1px dotted var(--colour-fg);
|
2020-06-24 08:08:28 +00:00
|
|
|
padding-top: 0.5em;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
2020-06-24 13:53:18 +00:00
|
|
|
hr {
|
|
|
|
border: none;
|
2020-06-30 10:42:39 +00:00
|
|
|
border-top: 1px dotted #000000;
|
2020-06-24 13:53:18 +00:00
|
|
|
border-top: 1px dotted var(--colour-fg);
|
|
|
|
}
|
|
|
|
|
2020-06-24 08:08:28 +00:00
|
|
|
footer {
|
2020-06-30 10:42:39 +00:00
|
|
|
border-top: 1px dotted #000000;
|
2020-06-24 13:53:18 +00:00
|
|
|
border-top: 1px dotted var(--colour-fg);
|
2020-06-24 08:08:28 +00:00
|
|
|
padding-top: 0.5em;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul {
|
|
|
|
padding: 0em;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
2020-06-24 13:53:18 +00:00
|
|
|
/* PROJECT LIST */
|
|
|
|
|
|
|
|
.project-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-header > div {
|
|
|
|
flex: 1 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-header > .project-icon {
|
|
|
|
margin: 0;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-icon {
|
|
|
|
width: 4.5em;
|
|
|
|
height: 4.5em;
|
|
|
|
float: left;
|
|
|
|
margin: 0.5em;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.platforms-technologies {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl.project-platforms-technologies {
|
|
|
|
padding: 0.5em 0;
|
2020-06-30 10:42:39 +00:00
|
|
|
border-top: 1px dotted #000000;
|
2020-06-24 13:53:18 +00:00
|
|
|
border-top: 1px dotted var(--colour-fg);
|
2020-06-30 10:42:39 +00:00
|
|
|
border-bottom: 1px dotted #000000;
|
2020-06-24 13:53:18 +00:00
|
|
|
border-bottom: 1px dotted var(--colour-fg);
|
|
|
|
}
|
|
|
|
|
2021-03-11 16:22:40 +00:00
|
|
|
dt + dd.tag {
|
|
|
|
margin-left: 40px;
|
|
|
|
}
|
|
|
|
|
2020-06-24 13:53:18 +00:00
|
|
|
.tag {
|
|
|
|
display: inline-block;
|
2020-06-30 10:42:39 +00:00
|
|
|
background-color: #ccc;
|
2020-06-24 13:53:18 +00:00
|
|
|
background-color: var(--colour-bg-code);
|
|
|
|
border-radius: 1em;
|
|
|
|
font-size: 0.75em;
|
|
|
|
padding: 0.5em;
|
|
|
|
margin: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screenshots {
|
|
|
|
height: 400px;
|
|
|
|
width: auto;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-height: 800px) {
|
|
|
|
.screenshots {
|
|
|
|
height: 240px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot {
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2020-06-24 08:08:28 +00:00
|
|
|
/* MARKDOWN */
|
|
|
|
|
|
|
|
:not(pre) > code {
|
2020-06-30 10:42:39 +00:00
|
|
|
background-color: #ccc;
|
2020-06-24 08:08:28 +00:00
|
|
|
background-color: var(--colour-bg-code);
|
|
|
|
padding: 0.2em 0.4em;
|
|
|
|
}
|
|
|
|
|
2020-06-26 09:43:55 +00:00
|
|
|
article :not(figure) > img {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2020-06-24 13:53:18 +00:00
|
|
|
div.sourceCode, blockquote, .screenshots {
|
|
|
|
scrollbar-color: var(--colour-fg-highlight) var(--colour-bg-code);
|
|
|
|
/*scrollbar-width: thin;*/
|
2020-06-30 10:42:39 +00:00
|
|
|
background-color: #ccc;
|
2020-06-24 08:08:28 +00:00
|
|
|
background-color: var(--colour-bg-code);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.sourceCode {
|
|
|
|
}
|
|
|
|
|
|
|
|
pre, blockquote {
|
2020-06-30 10:42:39 +00:00
|
|
|
border-left: 1px solid #7f0602;
|
2020-06-24 08:08:28 +00:00
|
|
|
border-left: 1px solid var(--colour-fg-highlight);
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
margin-left: 1em;
|
|
|
|
margin-right: 1em;
|
2020-06-26 09:43:55 +00:00
|
|
|
clear: both;
|
2020-06-24 08:08:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote footer {
|
|
|
|
text-align: right;
|
|
|
|
font-style: italic;
|
2020-06-24 13:53:18 +00:00
|
|
|
border: none;
|
2020-06-24 08:08:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
|
|
|
background-color: var(--colour-bg-code);
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure > img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure > figcaption {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--colour-fg-highlight);
|
|
|
|
text-decoration: underline dotted;
|
|
|
|
}
|
|
|
|
|
2024-10-12 18:37:26 +00:00
|
|
|
a:hover, a:focus {
|
2020-06-24 08:08:28 +00:00
|
|
|
color: var(--colour-fg);
|
|
|
|
text-decoration: underline solid;
|
|
|
|
}
|
2021-03-11 16:22:40 +00:00
|
|
|
|
2024-10-12 18:37:26 +00:00
|
|
|
@media (max-width: calc(800px + 8em)) {
|
|
|
|
body {
|
|
|
|
grid-template-columns: 100%;
|
|
|
|
grid-column-gap: 2em;
|
|
|
|
grid-template-rows: repeat(4, min-content);
|
|
|
|
grid-template-areas:
|
|
|
|
"header"
|
|
|
|
"menu"
|
|
|
|
"main"
|
|
|
|
"footer";
|
|
|
|
}
|
|
|
|
|
|
|
|
body > .main-sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > main {
|
|
|
|
box-sizing: border-box;
|
|
|
|
min-width: 100%;
|
|
|
|
border: none;
|
|
|
|
border-top: #7f0602 dotted 1px;
|
|
|
|
border-bottom: #7f0602 dotted 1px;
|
|
|
|
border-top: var(--colour-fg-highlight) dotted 1px;
|
|
|
|
border-bottom: var(--colour-fg-highlight) dotted 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > nav, body > footer {
|
|
|
|
width: calc(100% - 4em);
|
|
|
|
padding: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (pointer: coarse) {
|
|
|
|
body > nav li a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 1em 2em;
|
|
|
|
width: calc(100% - 4em);
|
|
|
|
}
|
|
|
|
|
|
|
|
body > nav > ul {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > nav li:not(:last-child) {
|
|
|
|
border-bottom: 1px dotted #000000;
|
|
|
|
border-bottom: 1px dotted var(--colour-fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
body > nav {
|
|
|
|
padding: 1em 0em;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-11 16:22:40 +00:00
|
|
|
@media print {
|
|
|
|
body {
|
|
|
|
background-color: initial;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
body > section.header-navigation {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > main {
|
|
|
|
max-width: 100%;
|
|
|
|
background-color: initial;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.sourceCode, .screenshots, figure {
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide-big {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
.hide-small {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:after {
|
|
|
|
content: ' (' attr(href) ')';
|
|
|
|
}
|
|
|
|
|
|
|
|
.numberSource a:after {
|
|
|
|
content: ''
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|