2017-10-13 23:16:45 -04:00
|
|
|
html, body {
|
2017-10-14 14:00:28 -04:00
|
|
|
line-height: 1.5;
|
2018-04-14 20:35:46 -04:00
|
|
|
font-size: 18px;
|
2018-04-15 09:36:49 -04:00
|
|
|
font-family: sans-serif;
|
2017-10-14 14:00:28 -04:00
|
|
|
color: #888888;
|
|
|
|
background-color: #060606;
|
|
|
|
margin: 0;
|
|
|
|
word-break: break-word;
|
2017-10-13 23:16:45 -04:00
|
|
|
}
|
|
|
|
|
2017-10-09 09:05:58 -04:00
|
|
|
.grid {
|
|
|
|
display: grid;
|
|
|
|
align-content: center;
|
|
|
|
grid-template-areas:
|
|
|
|
"header"
|
|
|
|
"sidebar"
|
|
|
|
"content"
|
2017-10-09 09:17:43 -04:00
|
|
|
"footer";
|
2017-10-09 09:05:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
grid-area: header;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
grid-area: content;
|
2017-10-18 16:39:26 -04:00
|
|
|
}
|
|
|
|
|
2017-10-09 09:05:58 -04:00
|
|
|
.sidebar {
|
|
|
|
grid-area: sidebar;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer {
|
|
|
|
grid-area: footer;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-10-15 13:32:45 +13:00
|
|
|
@media only screen and (max-width: 999px) {
|
|
|
|
.grid {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-areas:
|
|
|
|
"header"
|
|
|
|
"sidebar"
|
|
|
|
"content"
|
|
|
|
"footer";
|
2017-10-09 09:16:21 -04:00
|
|
|
}
|
2017-11-28 16:16:50 -05:00
|
|
|
code {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
2017-10-09 09:05:58 -04:00
|
|
|
}
|
|
|
|
|
2017-10-15 13:32:45 +13:00
|
|
|
@media only screen and (min-width: 1000px) {
|
2017-10-09 09:05:58 -04:00
|
|
|
.grid {
|
|
|
|
grid-gap: 1rem;
|
2017-10-13 23:16:45 -04:00
|
|
|
grid-template-columns: 25% auto;
|
2017-10-09 09:05:58 -04:00
|
|
|
grid-template-areas:
|
|
|
|
"header header"
|
|
|
|
"sidebar content"
|
|
|
|
"footer footer";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-15 13:32:45 +13:00
|
|
|
@media only screen and (min-width: 1500px) {
|
|
|
|
.grid {
|
|
|
|
max-width: 70%;
|
|
|
|
margin: 0 auto;
|
2017-10-31 00:11:42 +13:00
|
|
|
grid-template-areas:
|
|
|
|
"header header"
|
|
|
|
"sidebar content"
|
|
|
|
"footer footer";
|
2017-10-15 13:32:45 +13:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-13 23:16:45 -04:00
|
|
|
a {
|
|
|
|
color: #91cf91;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #5cb85c;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: #449d44;
|
|
|
|
}
|
|
|
|
|
2017-10-09 09:05:58 -04:00
|
|
|
.license img {
|
|
|
|
max-width: 10em;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2015-03-20 22:33:41 -04:00
|
|
|
|
2017-10-09 09:05:58 -04:00
|
|
|
h1 {
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
font-size: 7vw;
|
|
|
|
}
|
|
|
|
|
2017-10-03 12:35:33 -04:00
|
|
|
h2 {
|
2017-10-15 13:32:45 +13:00
|
|
|
font-size: 1.5em;
|
|
|
|
margin: 5px 8px 8px 8px;
|
|
|
|
}
|
|
|
|
|
2017-10-15 14:38:36 +13:00
|
|
|
.heading {
|
2017-10-15 13:32:45 +13:00
|
|
|
font-size: 2em;
|
|
|
|
margin: 6px 0px 12px 0px;
|
2017-10-09 09:05:58 -04:00
|
|
|
}
|
|
|
|
|
2019-09-26 18:04:55 +02:00
|
|
|
h3, h5 {
|
2017-10-13 23:16:45 -04:00
|
|
|
font-size: 1.5em;
|
2017-10-03 12:35:33 -04:00
|
|
|
}
|
|
|
|
|
2018-02-10 21:31:48 +13:00
|
|
|
h4 {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
2017-10-03 12:35:33 -04:00
|
|
|
.intro-lead {
|
2017-10-13 23:16:45 -04:00
|
|
|
font-size: 1em;
|
2017-10-03 12:35:33 -04:00
|
|
|
}
|
2017-10-04 22:19:29 +13:00
|
|
|
|
2017-01-22 21:01:16 -05:00
|
|
|
code {
|
2017-10-18 16:02:04 -04:00
|
|
|
padding: 2px 4px;
|
|
|
|
color: #c7254e;
|
|
|
|
background-color: #f9f2f4;
|
|
|
|
border-radius: 4px;
|
2017-08-07 15:25:15 -04:00
|
|
|
word-wrap: break-word;
|
2017-11-28 16:16:50 -05:00
|
|
|
max-width: 800px;
|
2017-10-31 22:57:57 -04:00
|
|
|
white-space: normal;
|
|
|
|
display: inline-block;
|
2017-01-22 21:01:16 -05:00
|
|
|
}
|
|
|
|
|
2015-12-01 20:45:31 -05:00
|
|
|
dd {
|
2017-05-13 06:48:57 +02:00
|
|
|
padding-left: 24px;
|
2015-12-01 20:45:31 -05:00
|
|
|
}
|
|
|
|
|
2015-12-18 23:09:04 -05:00
|
|
|
dt {
|
2017-03-05 06:43:51 +01:00
|
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
2017-10-31 22:57:57 -04:00
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: normal;
|
|
|
|
display: inline-block;
|
2015-12-18 23:09:04 -05:00
|
|
|
}
|
|
|
|
|
2017-01-16 21:50:38 -05:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2017-03-05 08:34:16 +13:00
|
|
|
width: 100%;
|
2017-01-16 21:50:38 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.sample-image {
|
2017-10-31 23:32:32 +13:00
|
|
|
margin: 0 auto;
|
2017-01-16 21:50:38 -05:00
|
|
|
margin-bottom: 18px;
|
2017-10-31 23:32:32 +13:00
|
|
|
max-width: 500px;
|
|
|
|
text-align: center;
|
2017-01-16 21:50:38 -05:00
|
|
|
}
|
|
|
|
|
2017-11-06 08:13:29 +13:00
|
|
|
.sample-image-small {
|
|
|
|
margin: 0 auto;
|
|
|
|
margin-bottom: 18px;
|
|
|
|
max-width: 250px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-03-20 22:33:41 -04:00
|
|
|
div {
|
2015-11-18 10:40:04 -08:00
|
|
|
color: white;
|
2015-03-20 22:33:41 -04:00
|
|
|
}
|
|
|
|
|
2017-10-18 12:00:37 -04:00
|
|
|
.sidebar a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recipe, .contents-list {
|
2017-10-17 21:03:04 -04:00
|
|
|
color: white;
|
|
|
|
background-color: #383838;
|
|
|
|
padding: 14px;
|
2017-10-18 16:27:54 -04:00
|
|
|
letter-spacing: 0.05em;
|
2017-10-17 21:03:04 -04:00
|
|
|
border: 1px solid black;
|
2017-10-17 21:43:50 -04:00
|
|
|
cursor: pointer;
|
2017-10-18 12:00:37 -04:00
|
|
|
position: relative;
|
|
|
|
padding-left: 2.8em;
|
|
|
|
transition: all .5s ease-out;
|
2017-10-14 14:00:28 -04:00
|
|
|
}
|
|
|
|
|
2017-10-18 16:39:26 -04:00
|
|
|
.contents-list {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav .heading {
|
|
|
|
word-break: normal;
|
|
|
|
}
|
2017-10-18 17:09:04 -04:00
|
|
|
|
2017-10-18 16:02:04 -04:00
|
|
|
.recipe {
|
|
|
|
display: block;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
2017-10-18 12:00:37 -04:00
|
|
|
.recipe:hover, .contents-list:hover {
|
2017-10-17 21:03:04 -04:00
|
|
|
background-color: #449d44;
|
2015-03-20 22:09:13 -04:00
|
|
|
}
|
2017-03-05 06:43:51 +01:00
|
|
|
|
2017-10-17 21:03:04 -04:00
|
|
|
.recipe:before {
|
2016-01-07 19:38:27 -05:00
|
|
|
content: "💫";
|
2017-10-18 12:00:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.contents-list:before {
|
|
|
|
content: "📼";
|
|
|
|
}
|
|
|
|
|
|
|
|
.recipe:before, .contents-list:before {
|
2015-03-20 22:09:13 -04:00
|
|
|
position: absolute;
|
2015-03-20 22:11:55 -04:00
|
|
|
left: 1em;
|
2017-10-17 21:03:04 -04:00
|
|
|
padding-right: 1em;
|
2015-03-20 22:09:13 -04:00
|
|
|
}
|
2017-03-05 06:43:51 +01:00
|
|
|
|
2017-10-17 21:03:04 -04:00
|
|
|
.recipe:hover:before, .recipe:focus:before, .recipe:active:before {
|
2017-10-17 21:43:50 -04:00
|
|
|
transform: scale(1.5) translateX(0.1em);
|
|
|
|
transition: 0.5s;
|
2017-10-17 21:03:04 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.contents-list:hover:before, .contents-list:focus:before, .contents-list:active:before {
|
|
|
|
transform: scale(1.8) translateX(0.3em);
|
2017-10-17 21:43:50 -04:00
|
|
|
transition: 0.5s;
|
2017-10-17 21:03:04 -04:00
|
|
|
}
|
|
|
|
|
2017-01-27 18:11:45 +13:00
|
|
|
.codeblock {
|
|
|
|
font-family: monospace
|
2017-01-27 14:56:21 +01:00
|
|
|
padding: 2px 4px;
|
|
|
|
color: #c7254e;
|
|
|
|
background-color: #f9f2f4;
|
2017-03-05 06:49:49 +01:00
|
|
|
border-radius: 4px;
|
2017-01-27 18:11:45 +13:00
|
|
|
}
|
2017-03-01 03:40:16 +13:00
|
|
|
|
|
|
|
.beware {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footnote {
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
2017-10-18 16:02:04 -04:00
|
|
|
|
|
|
|
.well {
|
|
|
|
padding: 1em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
background-color: #151515;
|
|
|
|
border: 1px solid #030303;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hiding {
|
|
|
|
opacity: 0;
|
2018-02-04 20:45:25 +01:00
|
|
|
height: 0;
|
2017-10-18 16:02:04 -04:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
2018-02-04 20:45:25 +01:00
|
|
|
position: absolute;
|
|
|
|
left: -999em;
|
2017-10-18 16:02:04 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox]:checked + div {
|
2018-02-04 20:45:25 +01:00
|
|
|
opacity: 1;
|
2017-10-18 16:02:04 -04:00
|
|
|
height: auto;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: opacity .5s linear, height .5s linear;
|
|
|
|
}
|