maj title
This commit is contained in:
@@ -140,15 +140,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-title #xyzv {
|
#xyzv {
|
||||||
left: 25vw;
|
|
||||||
font-family: 'Cabin Condensed', sans-serif;
|
font-family: 'Cabin Condensed', sans-serif;
|
||||||
position: relative;
|
|
||||||
white-space: nowrap;
|
|
||||||
font-size: 10vh;
|
font-size: 10vh;
|
||||||
max-width: 40vw;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
overflow: hidden;
|
|
||||||
color: #f6f6f6;
|
color: #f6f6f6;
|
||||||
animation: none;
|
animation: none;
|
||||||
|
text-align: center;
|
||||||
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,7 +117,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="title-global">
|
<div id="title-global">
|
||||||
<h3 id="h3-title" class="name_project"></h3>
|
<h3 id="h3-title" class="name_project"></h3>
|
||||||
<p class="name_project" id="xyzv" style="display: none;"></p>
|
<h3 class="name_project" id="xyzv" style="display: none;"></h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="nexter">
|
<div class="nexter">
|
||||||
<div id="metric_viewer_placeholder" >
|
<div id="metric_viewer_placeholder" >
|
||||||
|
|||||||
@@ -457,17 +457,14 @@ $( ".arrow-icon" ).click(function() {
|
|||||||
let titleIsReadable = true;
|
let titleIsReadable = true;
|
||||||
|
|
||||||
function change_title_style(){
|
function change_title_style(){
|
||||||
const titlePlaceHolder = document.getElementById('title-global');
|
|
||||||
const xyz = document.getElementById('xyzv');
|
const xyz = document.getElementById('xyzv');
|
||||||
const h3_title = document.getElementById('h3-title');
|
const h3_title = document.getElementById('h3-title');
|
||||||
if(titleIsReadable){
|
if(titleIsReadable){
|
||||||
titleIsReadable = false;
|
titleIsReadable = false;
|
||||||
titlePlaceHolder.classList.add('container-title');
|
|
||||||
xyz.style.display = 'block';
|
xyz.style.display = 'block';
|
||||||
h3_title.style.display = 'none';
|
h3_title.style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
titleIsReadable = true;
|
titleIsReadable = true;
|
||||||
titlePlaceHolder.classList.remove('container-title');
|
|
||||||
xyz.style.display = 'none';
|
xyz.style.display = 'none';
|
||||||
h3_title.style.display = 'block';
|
h3_title.style.display = 'block';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user