WIP: New Flow website built with Nanoc and Mage #1

Draft
dananglin wants to merge 9 commits from new-site into main
Showing only changes of commit e5dbc0f52e - Show all commits

View file

@ -1,7 +1,7 @@
:root { :root {
--background: #1a1b26; --background: #1a1b26;
--background-dark: #16161e; --background-dark: #16161e;
--foreground: #a9b1d6; --foreground: #ffffff;
--link: #7aa2f7; --link: #7aa2f7;
--link-hover: #bb9af7; --link-hover: #bb9af7;
} }
@ -40,7 +40,17 @@ a:hover {
font-size: 40px; font-size: 40px;
font-weight: normal; font-weight: normal;
line-height: 40px; line-height: 40px;
letter-spacing: -1px; letter-spacing: 0px;
}
#main h2 {
line-height: 20px;
margin-bottom: 20px;
}
#main h3 {
line-height: 10px;
margin-bottom: 10px;
} }
#main p { #main p {
@ -117,3 +127,19 @@ a:hover {
text-align: center; text-align: center;
padding: 5px 10px; padding: 5px 10px;
} }
code {
font-family: monospace;
}
pre code {
display: block;
background: var(--background-dark);
color: #a9b1d6;
border-radius: .3rem;
line-height: 15px;
margin-bottom: 20px;
overflow-x: scroll;
padding: 1.2em;
white-space: pre;
}