From 904c9d345fc5d320a52dcbce87401166d3fb1ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Schmelczer=20Andr=C3=A1s?= Date: Sat, 18 Jan 2020 22:44:37 +0100 Subject: [PATCH] Minor fixes --- .idea/workspace.xml | 130 ++---------------------- src/index.html | 5 +- src/page/about/about.scss | 1 + src/page/image-viewer/image-viewer.scss | 15 +-- src/portfolio.ts | 7 +- 5 files changed, 25 insertions(+), 133 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 292cb3d..11644db 100755 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,129 +2,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -303,6 +183,10 @@ + + + + diff --git a/src/index.html b/src/index.html index 0a59f17..d754ee7 100755 --- a/src/index.html +++ b/src/index.html @@ -14,10 +14,13 @@ + + + Portfolio - AndrĂ¡s Schmelczer -
+
diff --git a/src/page/about/about.scss b/src/page/about/about.scss index c39dee7..457e57e 100755 --- a/src/page/about/about.scss +++ b/src/page/about/about.scss @@ -16,6 +16,7 @@ img { @include square($img-size); border-radius: 100%; + cursor: pointer; } p { diff --git a/src/page/image-viewer/image-viewer.scss b/src/page/image-viewer/image-viewer.scss index 437edd2..5001d59 100755 --- a/src/page/image-viewer/image-viewer.scss +++ b/src/page/image-viewer/image-viewer.scss @@ -5,23 +5,24 @@ @include center-children(); display: none; position: fixed; - width: 100%; - height: 100%; left: 0; top: 0; + width: 100%; + height: 100%; margin: 0; z-index: 2; background-color: rgba(0, 0, 0, 0.85); - @include on-large-screen { - #container > * { + #container > * { + width: auto; + height: auto; + + @include on-large-screen { max-width: 80vw; max-height: 80vh; } - } - @include on-small-screen { - #container > * { + @include on-small-screen { max-width: 95vw; max-height: 95vh; } diff --git a/src/portfolio.ts b/src/portfolio.ts index 7e669b5..3615e23 100755 --- a/src/portfolio.ts +++ b/src/portfolio.ts @@ -179,7 +179,7 @@ export const portfolio: Portfolio = { `By clicking on a colored circle you can change its settings. New circles can be created by clicking in the large circle (and they can also be moved by drag & drop).` ), - new Anchor('color', `schmelczer.dev/color`), + new Anchor('https://color.schmelczer.dev', `color.schmelczer.dev`), ], }, { @@ -206,7 +206,10 @@ export const portfolio: Portfolio = { description: new Text( `A simple web page where you can view my photos.` ), - link: new Anchor(`photos`, `schmelczer.dev/photos`), + link: new Anchor( + `https://photo.schmelczer.dev`, + `photo.schmelczer.dev` + ), }, { date: `2016 spring`,