diff --git a/css/main.css b/css/main.css index b96ac4e..a836523 100644 --- a/css/main.css +++ b/css/main.css @@ -64,7 +64,7 @@ h4 { } .project-image > img { - width: 100%; + max-width: 100%; margin-bottom: 3rem; -webkit-box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.17); -moz-box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.17); @@ -104,3 +104,43 @@ section { .project-info { margin: 1.5em 0 5em 0; } + +.clickable { + cursor: pointer; +} + +.close-x { + font-size: 25px; + text-align: end; + padding: 10px 10px 0; +} + +#image-modal-wrapper { + position: fixed; + background: rgba(0,0,0,0.25); + width: 100%; + height: 100%; + left: 0; + top: 0; +} + +#image-modal-flex { + width: 100%; + height: 100%; + display: flex; + align-items: center; + justify-content: center; +} + +#image-modal { + flex-grow: 0; + max-width: 90vh; + background: #FFF; + border-radius: 4px; +} + +#image-modal-contents img { + box-sizing: border-box; + padding: 10px 25px 25px; + max-width: 100%; +} diff --git a/index.html b/index.html index 991c075..7ee316f 100644 --- a/index.html +++ b/index.html @@ -100,9 +100,9 @@

Skillsmatch

- - - + + +

Project Goals

@@ -285,6 +285,13 @@
-