Skip to content
Snippets Groups Projects
Commit 785a771f authored by HouTeng Chan's avatar HouTeng Chan
Browse files

Update file attributions.html

parent 256c1273
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
top: 230px; top: 230px;
width: 160px; width: 160px;
height: 40%; height: 40%;
background-color: #ffffff ; background-color: #ffffff;
padding: 20px; padding: 20px;
box-shadow: 2px 0 5px rgba(0,0,0,0.1); box-shadow: 2px 0 5px rgba(0,0,0,0.1);
border-radius: 20px; border-radius: 20px;
...@@ -28,33 +28,29 @@ ...@@ -28,33 +28,29 @@
border-radius: 20px; border-radius: 20px;
} }
h2 { h2 {
scroll-margin-top: 60px; scroll-margin-top: 60px;
} }
.row.mt-4 { .row.mt-4 {
margin-left: 130px; margin-left: 130px;
} }
.progress-bar {
height: 8px;
background: #04AA6D;
width: 0%;
}
.bar{ /* Style for circular progress bar */
position: fixed;
top: 0;
width: 0.5%;
height: 4px;
}
.progress-container { .progress-container {
position: fixed; position: fixed;
left: 20px; left: 20px;
bottom: 20px; bottom: 20px;
width: 100px; width: 100px;
height: 100px; height: 100px;
} }
.progress-bar-circle { .progress-bar-circle {
transform: rotate(-90deg); transform: rotate(-90deg);
transform-origin: center; transform-origin: center;
} }
.progress-circle { .progress-circle {
stroke: #04AA6D; stroke: #04AA6D;
stroke-linecap: round; stroke-linecap: round;
...@@ -62,7 +58,6 @@ ...@@ -62,7 +58,6 @@
stroke-dashoffset: 283; stroke-dashoffset: 283;
} }
</style> </style>
</head> </head>
<body> <body>
...@@ -73,22 +68,26 @@ ...@@ -73,22 +68,26 @@
{% block page_content %} {% block page_content %}
<div class="progress-bar" id="myBar"></div>
<div class="sidebar"> <div class="sidebar">
<ul> <ul>
<li><a href="#description"> General Description </a></li> <li><a href="#description"> General Description </a></li>
<li><a href="#topic1">Topic1</a></li> <li><a href="#topic1">Topic1</a></li>
<li><a href="#topic2">Topic2</a></li> <li><a href="#topic2">Topic2</a></li>
<li><a href="#topic3">Topic3</a></li> <li><a href="#topic3">Topic3</a></li>
<li><a href="#topic4"">Topic4</a></li> <li><a href="#topic4">Topic4</a></li>
</ul> </ul>
</div> </div>
<!-- Circular Progress Bar Container -->
<div class="progress-container"> <div class="progress-container">
<svg class="progress-bar-circle" width="100" height="100"> <svg class="progress-bar-circle" width="100" height="100">
<circle class="progress-circle" cx="50" cy="50" r="45" stroke-width="5" fill="transparent"></circle> <circle class="progress-circle" cx="50" cy="50" r="45" stroke-width="5" fill="transparent"></circle>
</svg> </svg>
</div> </div>
<!-- Existing page content continues here... -->
<div class="row mt-4"> <div class="row mt-4">
<div class="col-lg-12"> <div class="col-lg-12">
<h2 id="description"> <h2 id="description">
...@@ -146,8 +145,8 @@ ...@@ -146,8 +145,8 @@
<img src="https://static.igem.wiki/teams/5187/unrelated-to-tech/thu.png" alt="thu" style="max-width: 100%; height: auto; width: 50%;"> <img src="https://static.igem.wiki/teams/5187/unrelated-to-tech/thu.png" alt="thu" style="max-width: 100%; height: auto; width: 50%;">
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
<script> <script>
window.onscroll = function() { window.onscroll = function() {
var height = document.documentElement.scrollHeight - document.documentElement.clientHeight; var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment