-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
456 additions
and
222 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Clock from './Clock' | ||
|
||
export default Clock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React, { useState, useEffect } from 'react' | ||
import './Hooks.css' | ||
|
||
function Hooks() { | ||
return <div>hooks</div> | ||
} | ||
|
||
export default Hooks | ||
|
||
// npm install eslint-plugin-react-hooks --save-dev |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Hooks from './Hooks' | ||
|
||
export default Hooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,112 @@ | ||
@charset "UTF-8"; | ||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
.list-unstyled { | ||
list-style: none; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
html { | ||
overflow-y: scroll; | ||
overflow-x: hidden; } | ||
|
||
body { | ||
font-family: SF Mono, fira code, roboto mono, courier, SFMono-Regular, Menlo, Monaco, Consolas, | ||
'Liberation Mono', 'Courier New', monospace; | ||
font-family: SF Mono, fira code, Roboto Mono, menlo, Courier, monospace; | ||
font-weight: 600; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
padding: 0; | ||
margin: 0; } | ||
|
||
header { | ||
text-align: center; | ||
background: #000; | ||
color: #fff; | ||
padding: 0.5rem 0; } | ||
|
||
.container { | ||
margin: 5vh 5vh; | ||
overflow: hidden; | ||
display: flex; | ||
overflow-y: hidden; | ||
overflow-x: hidden; | ||
} | ||
.container .page-contents { | ||
order: 2; | ||
flex-grow: 2; | ||
box-shadow: inset 0 0 0 4px #222; | ||
padding: 1rem 1.5rem; | ||
height: 80vh; | ||
overflow: scroll; | ||
} | ||
.container .page-contents .references { | ||
height: 3vh; | ||
} | ||
.container .page-contents .references ul { | ||
margin: 0 !important; | ||
font-size: 0.7em; | ||
padding: 0.25rem 0; | ||
white-space: pre-line; | ||
display: table; | ||
flex-direction: column; | ||
} | ||
.container .page-contents .references li::before { | ||
content: '•'; | ||
color: red; | ||
background: black; | ||
} | ||
.container .page-contents .references { | ||
padding: 0.5rem; | ||
width: 100%; | ||
height: 2vh; | ||
overflow: scroll; | ||
background: black; | ||
left: 0; | ||
background: black; | ||
} | ||
.container .page-contents .references:hover { | ||
height: fit-content; | ||
} | ||
.container .page-contents .references ul li a { | ||
color: white; | ||
margin: 1rem; | ||
} | ||
.container .page-contents .references li:hover { | ||
background: #444; | ||
} | ||
.container .page-contents .project { | ||
height: 90%; | ||
overflow: scroll; | ||
} | ||
.container .page-contents .page-contents { | ||
overflow: hidden !important; | ||
} | ||
.container .menu { | ||
height: 80vh; | ||
margin: 0; | ||
padding-right: 1.25rem; | ||
} | ||
.container .menu a { | ||
color: #000; | ||
font-size: 1.25em; | ||
box-shadow: inset 0 -4px #2ecc71; | ||
text-transform: lowercase; | ||
margin-bottom: 0.75rem; | ||
display: table; | ||
padding: 0; | ||
text-decoration: none; | ||
} | ||
.container .menu a:hover { | ||
box-shadow: inset 0 -4px #ec5f67; | ||
} | ||
align-content: space-between; | ||
height: 100vh; | ||
width: 100%; } | ||
.container .project { | ||
padding: 1rem; | ||
width: 100%; | ||
height: 100%; | ||
border-top: 2px solid black; | ||
overflow-x: hidden; | ||
overflow-y: scroll; | ||
position: relative; | ||
box-sizing: border-box !important; } | ||
.container .menu { | ||
margin: 0; | ||
padding-right: 1.25rem; | ||
display: flex; | ||
flex-direction: row; | ||
padding: 0.5rem 0.75rem; | ||
justify-content: center; } | ||
.container .menu a { | ||
color: #000; | ||
text-transform: lowercase; | ||
margin-bottom: 0.75rem; | ||
padding: 0.25rem; | ||
background: #fff; | ||
text-decoration: none; | ||
box-shadow: inset 0 0 0 2px #444; } | ||
.container .menu a:hover { | ||
box-shadow: inset 0 -4px #ec5f67; } | ||
.container .menu ul { | ||
display: flex; | ||
list-style-type: none; | ||
margin-block-start: 0em; | ||
margin-block-end: 1em; | ||
margin-inline-start: 0px; | ||
margin-inline-end: 0px; | ||
padding-inline-start: 0px; } | ||
.container .menu li { | ||
margin-right: 1rem; } | ||
.container .references { | ||
box-sizing: border-box; | ||
width: 100%; | ||
min-height: 20vh !important; | ||
background: black; | ||
left: 0; | ||
bottom: 0; | ||
padding: 0.5rem; | ||
position: sticky; | ||
overflow: scroll; } | ||
.container .references ul { | ||
font-size: 0.7em; | ||
padding-inline-start: 10px; } | ||
.container .references li { | ||
display: table !important; | ||
padding: 0.15rem 0; } | ||
.container .references li:hover { | ||
background: #444; } | ||
.container .references li::before { | ||
content: '•'; | ||
display: table-cell; | ||
color: red; | ||
margin-right: 0.5rem; | ||
padding-right: 0.25rem; } | ||
.container .references a { | ||
color: white; } | ||
|
||
*::-webkit-scrollbar { | ||
width: 0px; } | ||
|
||
*::-webkit-scrollbar-track { | ||
-webkit-border-radius: 5px; | ||
border-radius: 5px; | ||
background: rgba(0, 0, 0, 0); | ||
width: 0px; } | ||
|
||
*::-webkit-scrollbar-thumb { | ||
-webkit-border-radius: 5px; | ||
border-radius: 5px; | ||
background: rgba(0, 0, 0, 0); | ||
width: 0px; } | ||
|
||
*::-webkit-scrollbar-thumb:hover { | ||
background: rgba(0, 0, 0, 0); | ||
width: 0px; } | ||
|
||
*::-webkit-scrollbar-thumb:window-inactive { | ||
background: rgba(0, 0, 0, 0); | ||
width: 0px; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.