From 3afc4fa6ea5aaa84cbe3144cf0f24490a291d701 Mon Sep 17 00:00:00 2001 From: YasinOnm08 Date: Wed, 18 Sep 2024 09:04:09 +0200 Subject: [PATCH] updated css --- py/static/img/nowifi.svg | 7 +++++++ py/static/img/wifi.svg | 7 +++++++ py/static/styles.css | 21 ++++++++++++++++++--- py/templates/index.html | 4 +++- 4 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 py/static/img/nowifi.svg create mode 100644 py/static/img/wifi.svg diff --git a/py/static/img/nowifi.svg b/py/static/img/nowifi.svg new file mode 100644 index 0000000..8e7beb7 --- /dev/null +++ b/py/static/img/nowifi.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/py/static/img/wifi.svg b/py/static/img/wifi.svg new file mode 100644 index 0000000..350a0eb --- /dev/null +++ b/py/static/img/wifi.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/py/static/styles.css b/py/static/styles.css index e541b87..365495d 100644 --- a/py/static/styles.css +++ b/py/static/styles.css @@ -157,7 +157,11 @@ header a:hover { } .models form { - padding: 0; + padding-right: 10px; + padding-left: 10px; + display: flex; + align-items: center; + justify-content: center; } .models .titel { @@ -171,6 +175,7 @@ header a:hover { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5vh; + width: fit-content; /* height: calc(100% - 2em); */ } @@ -188,7 +193,6 @@ header a:hover { position: relative; height: 18vh; width: 18vh; - margin: auto; } .overlay { @@ -210,6 +214,16 @@ header a:hover { font-size: xx-large; } +.overlay img { + align-self: flex-end; + justify-self: end; + height: 3vh; + width: 3vh; + position: absolute; + right: 15px; + bottom: 15px; +} + .model-box:hover .overlay { opacity: 1; } @@ -441,13 +455,14 @@ header a:hover { ::-webkit-scrollbar { width: 7px; - margin-left: 10px; } ::-webkit-scrollbar-track { background-color: var(--scrollbar-track); border-radius: 5px; overflow: hidden; + margin-left: 10px; + padding-left: 15px; } ::-webkit-scrollbar-thumb { diff --git a/py/templates/index.html b/py/templates/index.html index ca3c99e..441ae4d 100644 --- a/py/templates/index.html +++ b/py/templates/index.html @@ -3,7 +3,7 @@ - + AI Assistant @@ -71,11 +71,13 @@