From 461b1892fd36c50a367c75c3df9b6db8dfa8b0dc Mon Sep 17 00:00:00 2001 From: boytchev <70705048+boytchev@users.noreply.github.com> Date: Wed, 24 Jul 2024 16:33:24 +0300 Subject: [PATCH] Fixing styles --- assets/css/style.scss | 17 +++++++++++++++-- index.md | 25 ++++++++++++++++++++----- 2 files changed, 35 insertions(+), 7 deletions(-) diff --git a/assets/css/style.scss b/assets/css/style.scss index b7e888b..8e96d8c 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -89,11 +89,24 @@ h1:not([id])+p { .gallery { - text-align: jutify; + display: block; + text-align: center; } -.gallery img { +.style-block { + display: inline-block; + width: 18%; + text-align: center; + cursor: pointer; + text-decoration: none; +} + +.style-block img { width: 18%; border: gray 1px dotted; padding: 2px; +} + +.style-block:hover img { + border: black 1px solid; } \ No newline at end of file diff --git a/index.md b/index.md index 1e664cb..3782114 100644 --- a/index.md +++ b/index.md @@ -12,11 +12,26 @@ at [Sofia University](https://www.uni-sofia.bg/index.php/eng). Click on an image to open a live demo.