Skip to content
Snippets Groups Projects
Commit 59534b41 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

description

parent 63e675a9
No related branches found
No related tags found
1 merge request!2merge Description
Pipeline #382086 failed
......@@ -5,4 +5,5 @@ __pycache__
public
.venv
node_modules
versions
\ No newline at end of file
versions
code
\ No newline at end of file
......@@ -13,6 +13,9 @@ body {
a{
color: var(--lightblue);
}
p{
text-align: justify
}
.center {
display: block;
......@@ -312,3 +315,8 @@ a:hover { color: var(--highlight); text-decoration: underline; }
max-height: 70%;
padding-top: 20px;
}
.anchor{
position: relative;
padding-top: 100px;
}
\ No newline at end of file
......@@ -114,7 +114,12 @@
/*Elements of the sidebar*/
let elements = [document.getElementById('one'),
document.getElementById('two'),
document.getElementById('three')];
document.getElementById('three'),
document.getElementById('four'),
document.getElementById('five'),
document.getElementById('six'),
document.getElementById('seven'),
];
/* */
window.goTo = function(el){
document.documentElement.scrollTop += el.getBoundingClientRect().top - TopDistance;
......@@ -127,6 +132,8 @@
subtitle.style.color = "#F4CC1E";
subtitle.style.backgroundColor = "#850F78";
subtitle.style.borderRadius = "15px";
subtitle.style.borderWidth = "15px";
subtitle.style.borderColor = "#850F78";
console.log("subtitle: ",subtitle)
console.log("style: ", subtitle.style)
console.log("color: ",subtitle.style.color)
......@@ -145,6 +152,10 @@
Highlight(elements[0], document.getElementById('subtitle1'));
Highlight(elements[1], document.getElementById('subtitle2'));
Highlight(elements[2], document.getElementById('subtitle3'));
Highlight(elements[3], document.getElementById('subtitle4'));
Highlight(elements[4], document.getElementById('subtitle5'));
Highlight(elements[5], document.getElementById('subtitle6'));
Highlight(elements[6], document.getElementById('subtitle7'));
console.log("function HighlightCheck")
}
/* */
......
This diff is collapsed.
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