diff --git a/src/inc_css/demos.css b/src/inc_css/demos.css index fc6afb2..8024695 100644 --- a/src/inc_css/demos.css +++ b/src/inc_css/demos.css @@ -2,7 +2,7 @@ opacity: 0.3; transition: opacity 0.3s; max-width: 15vw; - display: inline; + display: inline-block; } .demoTile:hover { diff --git a/src/inc_css/portfolio.css b/src/inc_css/portfolio.css new file mode 100644 index 0000000..e6a862c --- /dev/null +++ b/src/inc_css/portfolio.css @@ -0,0 +1,46 @@ +.demoTile { + opacity: 0.7; + transition: opacity 0.3s; + max-width: 15vw; + display: inline; +} + +.demoTile:hover { + opacity: 1.0; +} + +.demoTiles { + position: absolute; + background-color:white; + left:27.5%; + top: var(--title-height); + margin-top:40px; +} + +.page.portfolio { + padding-top: 0; + width: 70%; + right: 0; + margin:0; + padding:0; + padding-top: 5vh; + transform: translate(-35%,0); +} + +.wrapper { + width: 100%; + background-color: var(--background); + display: grid; + grid-template-columns: 1fr 1fr 1fr; +} + +.wrapper img { + width: 100%; + height: 100%; + object-fit: fill; + transition: transform 0.1s ease-in; +} + +.wrapper img:hover { + transform: scale(1.16); +} diff --git a/src/root/index.html b/src/root/index.html index 5afedcf..8bb76b3 100644 --- a/src/root/index.html +++ b/src/root/index.html @@ -5,13 +5,14 @@
hi, im cat and i do things and stuff. eventually i want to make this an actual, useful landing page for people interested in me and what i do. unfortunately, im very scatterbrained and not very organised! as a result, this is just one of myriad ongoing projects that i constantly try to chip away at, to varying degrees of success.
diff --git a/src/root/portfolio.html b/src/root/portfolio.html index 67d1060..d797c2e 100644 --- a/src/root/portfolio.html +++ b/src/root/portfolio.html @@ -10,11 +10,18 @@ #include sidebar.html -