summaryrefslogtreecommitdiff
path: root/rannak/mangud/uliopilane/ajatelg
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2023-01-10 15:55:53 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2023-01-10 15:55:53 +0200
commite5070eb88e0cb127df14f1c53e4962d3919e76de (patch)
tree436ecdf99a3749791b2c94816d074d326e189c49 /rannak/mangud/uliopilane/ajatelg
parent306d47eab4580856134ea3e4c4d46ba803dfd8d7 (diff)
add Avatar to modals
Diffstat (limited to 'rannak/mangud/uliopilane/ajatelg')
-rw-r--r--rannak/mangud/uliopilane/ajatelg/index.html8
-rw-r--r--rannak/mangud/uliopilane/ajatelg/pildid/avatar.pngbin0 -> 668741 bytes
-rw-r--r--rannak/mangud/uliopilane/ajatelg/styles.css13
3 files changed, 17 insertions, 4 deletions
diff --git a/rannak/mangud/uliopilane/ajatelg/index.html b/rannak/mangud/uliopilane/ajatelg/index.html
index 54e958d..d4bd1c3 100644
--- a/rannak/mangud/uliopilane/ajatelg/index.html
+++ b/rannak/mangud/uliopilane/ajatelg/index.html
@@ -38,10 +38,10 @@
<div class="modal-content">
<div class="modal-header">
- <h5 class="modal-title" id="myModalLabel">Sissejuhatus</h5>
- <button type="button" class="closeModalButton" data-bs-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">&times;</span>
- </button>
+ <div class="modalHeaderWrapper">
+ <h3 class="modal-title" id="myModalLabel">Sissejuhatus</h5>
+ </div>
+ <img class="avatar" alt="avatar" src="pildid/avatar.png"/>
</div>
<div class="modal-body">
diff --git a/rannak/mangud/uliopilane/ajatelg/pildid/avatar.png b/rannak/mangud/uliopilane/ajatelg/pildid/avatar.png
new file mode 100644
index 0000000..dd044fd
--- /dev/null
+++ b/rannak/mangud/uliopilane/ajatelg/pildid/avatar.png
Binary files differ
diff --git a/rannak/mangud/uliopilane/ajatelg/styles.css b/rannak/mangud/uliopilane/ajatelg/styles.css
index 2585bc4..56f9ca6 100644
--- a/rannak/mangud/uliopilane/ajatelg/styles.css
+++ b/rannak/mangud/uliopilane/ajatelg/styles.css
@@ -39,6 +39,19 @@ button:disabled{
/* Modal Stuff */
+.avatar {
+ border-radius: 20px;
+ width: 100% !important;
+}
+
+.modalHeaderWrapper{
+ text-align: center;
+ margin: 0 !important;
+ width: 100% !important;
+}
+
+
+
.closeModalButton {
border-radius: 50px;
}