Init next.js port

This commit is contained in:
2021-12-07 22:38:31 -05:00
parent ba6071d2a6
commit 9f56e40d1c
38 changed files with 18522 additions and 2 deletions

141
styles/fuzzy.module.css Normal file
View File

@@ -0,0 +1,141 @@
.container {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.9);
}
.search {
display: block;
width: 100%;
font-size: 2rem;
background: linear-gradient(to bottom right, #406b39, #225546) no-repeat center center fixed;
box-shadow: inset 0 4px 8px 0 rgba(0, 0, 0, 0.2);
padding: 0.5rem 1.75rem;
color: rgb(255, 255, 255);
border: none;
outline: none;
}
.search::placeholder {
color: rgb(214, 214, 214);
font-style: italic;
}
.results {
padding: 1rem;
margin: 2rem;
}
.hyperlink {
color: #009dff;
display: block;
padding: 0.5rem;
width: 100%;
margin: 0 auto;
font-size: 1.2rem;
transition: 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
text-decoration: none;
border: 1px solid #AAAAAA;
border-top: none;
}
.hyperlink:first-child {
border-top: 1px solid #AAAAAA;
border-radius: 0.5rem 0.5rem 0 0;
}
.hyperlink:last-child {
border-radius: 0 0 0.5rem 0.5rem;
}
.hyperlink:only-child {
border-radius: 0.5rem;
}
.hyperlink:hover {
color: #ccc;
text-decoration: none;
background: linear-gradient(to bottom right, #1a3a15, #09351b) no-repeat center center fixed;
}
.hyperlink:focus {
box-shadow: 0 0 1px 1px rgb(255, 255, 255);
}
.hyperlink-name {
color: #FFFFFF;
}
.hyperlink:hover .hyperlink-name {
color: #ccc;
}
.hyperlink-url {
word-break: break-all;
text-align: right;
font-size: 1rem;
transition: 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
.hyperlink:hover .hyperlink-url {
color: #009dff;
}
.highlight {
text-decoration: underline;
}
.searchBar {
user-select: none;
background: linear-gradient(to bottom right, #406b39, #225546) no-repeat center center fixed;
box-shadow: inset 0 4px 8px 0 rgba(0, 0, 0, 0.2);
color: #CCCCCC;
text-decoration: none;
z-index: 1000;
position: fixed;
padding: 0 0.5rem;
right: 0;
bottom: 0;
display: inline-block;
cursor: pointer;
}
.searchBar:hover {
text-decoration: none;
}
.searchTerm {
display: block;
margin: 0.5rem;
float: left;
}
.searchTerm::before {
display: inline-block;
transform: rotate(-45deg) scale(1.4);
content: '\26B2';
margin-right: 0.5rem;
}
.keybind {
padding: 0;
margin: 0.25rem;
height: 2.25rem;
font-family: monospace;
display: inline-block;
}
.keybind .key {
background: #333333;
display: inline-block;
position: relative;
margin: 0.25rem 0;
font-size: 0.75rem;
padding: 0.25rem 0.5rem;
border: 1px solid #232323;
border-radius: 0.5rem;
box-shadow: 1.5px 1.5px 0 0 #222222;
}

129
styles/global.css Normal file
View File

@@ -0,0 +1,129 @@
@font-face {
font-family: 'Cantarell';
src: url('/assets/fonts/Cantarell-Regular.otf');
font-weight: normal;
font-style: normal;
}
* {
box-sizing: border-box;
}
body {
font-family: 'Cantarell', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
body {
margin: 0 0 1rem;
font-size: 18px;
font-weight: 400;
line-height: 1.5;
color: #fff;
text-align: left;
height: 100%;
background-color: #0d1117;
background-size: cover;
padding-bottom: 2.5rem;
}
[tabindex="-1"]:focus {
outline: 0 !important;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
h1,
.h1 {
font-size: 2.5rem;
}
h2,
.h2 {
font-size: 2rem;
}
h3,
.h3 {
font-size: 1.75rem;
}
h4,
.h4 {
font-size: 1.5rem;
}
h5,
.h5 {
font-size: 1.25rem;
}
h6,
.h6 {
font-size: 1rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
a {
color: #009dff;
text-decoration: underline;
background-color: transparent;
outline: none;
}
a:hover {
text-decoration: underline;
}
a:focus {
text-decoration: underline dotted;
}
section {
margin: 0.5rem;
}
.lambda-logo {
width: 256px;
height: 256px;
position: fixed;
bottom: 0;
left: 0;
z-index: -1;
}
.block {
margin: 2rem;
padding: 2rem;
/* box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); */
border: 1px solid #ffffff;
border-radius: 1rem;
}

9
styles/lists.module.css Normal file
View File

@@ -0,0 +1,9 @@
.listItem {
padding: 0.25rem;
display: block;
}
.listItem::before {
content: '■';
padding: 0 0.5rem;
}

19
styles/title.module.css Normal file
View File

@@ -0,0 +1,19 @@
.container {
text-align: center;
margin: auto 1rem;
border-bottom: 1px solid #FFFFFF;
}
.nav {
white-space: pre-wrap;
padding: 0.25rem 0.5rem;
font-size: 1.5rem;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.4);
position: fixed;
bottom: 0;
z-index: 1000;
left: 0;
right: 0;
margin: 0;
background: linear-gradient(to bottom right, #1a3a15, #09351b) no-repeat center center fixed;
}