aboutsummaryrefslogtreecommitdiffstats
path: root/public/projects/react-small-apps/apps/notebook/src/App.css
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-20 16:11:50 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-20 16:15:08 +0100
commit73a5c7fae9ffbe9ada721148c8c454a643aceebe (patch)
treec8fad013ed9b5dd589add87f8d45cf02bbfc6e91 /public/projects/react-small-apps/apps/notebook/src/App.css
parentb01239fbdcc5bbc5921f73ec0e8fee7bedd5c8e8 (diff)
chore!: restructure repo
I separated public files from the config/dev files. It improves repo readability. I also moved dotenv helper to public/inc directory and extract the Matomo tracker in the same directory.
Diffstat (limited to 'public/projects/react-small-apps/apps/notebook/src/App.css')
-rw-r--r--public/projects/react-small-apps/apps/notebook/src/App.css40
1 files changed, 40 insertions, 0 deletions
diff --git a/public/projects/react-small-apps/apps/notebook/src/App.css b/public/projects/react-small-apps/apps/notebook/src/App.css
new file mode 100644
index 0000000..76d2aec
--- /dev/null
+++ b/public/projects/react-small-apps/apps/notebook/src/App.css
@@ -0,0 +1,40 @@
+body {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
+ Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
+ font-size: 1rem;
+ line-height: 1.618;
+}
+
+.app {
+ display: flex;
+ flex-flow: column nowrap;
+ gap: clamp(1rem, 3vw, 2rem);
+ min-height: 100vh;
+ width: min(calc(100vw - 2rem), 1000px);
+ margin: auto;
+}
+
+.notebook {
+ background: hsl(0, 4%, 20%);
+ box-shadow: 2px 2px 2px 0 hsl(0, 0%, 13%), 2px 2px 5px 3px hsl(0, 0%, 40%);
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ min-height: 550px;
+ margin-top: 3rem;
+ padding: 0.8rem 1.3rem 1.2rem 1.3rem;
+ position: relative;
+}
+
+@media screen and (max-width: 1024px) {
+ .notebook {
+ padding: 0.8rem 1.3rem 1.2rem 0.1rem;
+ }
+}
+
+.notebook--cover {
+ padding: 1rem;
+}
+
+a {
+ color: hsl(212, 46%, 34%);
+}