summaryrefslogtreecommitdiff
path: root/rannak/mangud/uliopilane/ajatelg
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/uliopilane/ajatelg')
-rw-r--r--rannak/mangud/uliopilane/ajatelg/index.html47
-rw-r--r--rannak/mangud/uliopilane/ajatelg/styles.css39
2 files changed, 80 insertions, 6 deletions
diff --git a/rannak/mangud/uliopilane/ajatelg/index.html b/rannak/mangud/uliopilane/ajatelg/index.html
index 156d28d..d1855b7 100644
--- a/rannak/mangud/uliopilane/ajatelg/index.html
+++ b/rannak/mangud/uliopilane/ajatelg/index.html
@@ -11,6 +11,13 @@
<body class="text-white">
+
+ <!-- Button trigger modal -->
+ <button type="button" class="btn btn-primary modalButton" data-bs-toggle="modal" data-bs-target="#myModal">
+ Sissejuhatus
+ </button>
+
+
<div class="text-center text-white align-items-center pb-5 pealkiri">
<h1 class="pb-1 pt-2">Ajatelg</h1>
<p>Pane Sündumsed ajateljel õigsse järjekorda</p>
@@ -24,6 +31,43 @@
</div>
+
+ <!-- Modal -->
+ <div class="modal fade text-black" id="myModal" tabindex="-10" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-dialog" role="document">
+ <div class="modal-content">
+
+ <div class="modal-header">
+ <h5 class="modal-title" id="myModalLabel">Sissejuhatav info Ajatelje Mängule</h5>
+ <button type="button" class="closeModalButton" data-bs-dismiss="modal" aria-label="Close">
+ <span aria-hidden="true">&times;</span>
+ </button>
+ </div>
+
+ <div class="modal-body">
+ Odio eu feugiat pretium, nibh ipsum consequat nisl, vel pretium lectus quam id leo?
+ Arcu non odio euismod lacinia at quis risus sed vulputate odio. Nullam non nisi est,
+ sit amet facilisis magna etiam tempor, orci eu lobortis elementum,
+ nibh tellus molestie nunc, non blandit massa enim nec dui nunc.
+ <br/>
+ Odio eu feugiat pretium, nibh ipsum consequat nisl, vel pretium lectus quam id leo?
+ Arcu non odio euismod lacinia at quis risus sed vulputate odio. Nullam non nisi est,
+ sit amet facilisis magna etiam tempor, orci eu lobortis elementum,
+ nibh tellus molestie nunc, non blandit massa enim nec dui nunc.
+ <br/>
+ odio eu feugiat pretium, nibh ipsum consequat nisl, vel pretium lectus quam id leo?
+ arcu non odio euismod lacinia at quis risus sed vulputate odio. nullam non nisi est,
+ sit amet facilisis magna etiam tempor, orci eu lobortis elementum,
+ nibh tellus molestie nunc, non blandit massa enim nec dui nunc.
+ </div>
+
+ </div>
+ </div>
+ </div>
+
+
+
+
<!-- Main stuff -->
<div class="row">
@@ -175,8 +219,7 @@
</div>
-
- </div>
+ </div> <!-- Row -->
<script src="script.js"></script>
diff --git a/rannak/mangud/uliopilane/ajatelg/styles.css b/rannak/mangud/uliopilane/ajatelg/styles.css
index 5966c9b..2585bc4 100644
--- a/rannak/mangud/uliopilane/ajatelg/styles.css
+++ b/rannak/mangud/uliopilane/ajatelg/styles.css
@@ -4,8 +4,8 @@ html {
}
* {
- margin: 0 !important;
- padding: 0 !important;
+ margin: 0;
+ padding: 0;
box-sizing: border-box !important;
}
@@ -37,6 +37,32 @@ button:disabled{
cursor: not-allowed;
}
+/* Modal Stuff */
+
+.closeModalButton {
+ border-radius: 50px;
+}
+
+.modalButton{
+ position: absolute;
+ top: 0;
+ right: 0;
+ padding: 6px;
+ padding: 9px 25px;
+ background-color: rgba(0,136,169,1) !important;
+ border: none !important;
+ border-radius: 50px !important;
+ cursor: pointer !important;
+ transition: all 0.3 ease 0 !important;
+ margin: 3% !important;
+ font-size: 1.4rem !important;
+}
+
+.modalButton:hover{
+ background-color: rgba(0,136,169,0.8) !important;
+}
+
+
/* Left side Part */
@@ -63,6 +89,11 @@ button:disabled{
/* Timeline css part*/
+.timelineWrapper{
+ padding: 0 !important;
+ margin: 0 !important;
+}
+
.timelineContainer {
min-height: 100vh;
width: 100%;
@@ -85,10 +116,10 @@ button:disabled{
}
.timeline ul li {
- padding: 20px;
+ padding: 7px;
background-color: #1e1f22;
color: white;
- margin-bottom: 20px;
+ margin-bottom: 15px;
}
.timeline ul li:last-child {