css per prove nick

This commit is contained in:
cesare 2022-11-15 13:23:59 +01:00
parent cc37901a3b
commit 2f1492a6bc
3 changed files with 295 additions and 11 deletions

View File

@ -17,6 +17,8 @@
<link rel="stylesheet" href="./css/datatables.min.css">
<link rel="stylesheet" href="./css/custom.css">
<link href="css/browsingldcnick.css" rel="stylesheet">
<link rel="stylesheet" href="./css/jquery.highlight-within-textarea.css">
@ -33,6 +35,7 @@
<script type="text/javascript" src="./js/datatables.min.js" defer></script>
<script type="text/javascript" src="./js/lib/jquery.ui.touch-punch.js"></script>
<script type="text/javascript" src="./js/lib/peg-0.10.0.min.js"></script>
<script type="text/javascript" src="js/cesareBrowse.js"></script>
<!-- FINE AGGIUNTI -->
@ -169,17 +172,17 @@
<div class="container pb-1 px-3 my-3 ">
<div class="row align-items-end p-0 ">
<div class="col DropInferno shadow bg-red" id="selectInferno">&nbsp;
<div class="col DropInferno shadow bg-red" id="cantica1">&nbsp;
<a class="DropInfernoBotton f5 link dim br1 bn pa1 mb0 dib white b"
href="#0" data-added="0">Inferno</a>
<div class="DropInferno-content">
<table id="CantiInferno" style="display: block;">
<tr id="">
<td class="pa2"><a
class="f5 link dim br1 bn pa0 mb0 dib dark-green selectInferno1"
href="#0" data-added="0"> I</a></td>
class="f5 link dim br1 bn pa0 mb0 dib dark-green selectInferno1 navig-canto"
href="#0" data-added="0" name="InfernoCanto 1"> I</a></td>
<td class="pa2"><a
class="f5 link dim br1 bn pa0 mb0 dib dark-green selectInferno2"
class="f5 link dim br1 bn pa0 mb0 dib dark-green selectInferno2 navig-canto"
href="#0" data-added="0"> II</a></td>
<td class="pa2"><a
class="f5 link dim br1 bn pa0 mb0 dib dark-green selectInferno3"
@ -300,7 +303,7 @@
</table>
</div>
</div>
<div class="col DropPurgatorio shadow bg-light-yellow" id="selectPurgatorio">
<div class="col DropPurgatorio shadow bg-light-yellow" id="cantica2">
&nbsp; <a class="DropPurgatorioBotton f5 link dim br1 bn pa1 mb0 dib dark-green b"
href="#0" data-added="0">Purgatorio</a>
@ -434,7 +437,7 @@
</div>
</div>
<div class="col DropParadiso shadow bg-white" id="selectParadiso">
<div class="col DropParadiso shadow bg-white" id="cantica3">
&nbsp; <a class="DropParadisoBotton f5 link dim br1 bn pa1 mb0 dib dark-blue b "
href="#0" data-added="0">Paradiso</a>
@ -633,12 +636,14 @@
<span>Canto I</span>
</div>
<div>&nbsp;</div>
<form id='filterform' onsubmit="return false;">
<textarea id="PagineCanti" name="PagineCanti" readonly
style="resize: none" class="flex mb0 pb0 bg-washed-blue bn"
rows="20" cols="35"></textarea>
<!-- <form id='filterform' onsubmit="return false;"> -->
<!-- <textarea id="displaycanto" name="PagineCanti" readonly
style="resize: none" class="blog-main flex mb0 pb0 bg-washed-blue bn"
rows="20" cols="35"></textarea> -->
<div class=" blog-main overflow-auto p-3 border text-muted" id="displaycanto" style="max-width: 500px; max-height: 500px;">
<!-- <div id="displaycanto" name="PagineCanti" class="blog-main flex mb0 pb0 bg-washed-blue bn"></div>-->
</form>
<!-- </form> -->
</div>
</div>
</div>

277
css/browsingldcnick.css Normal file
View File

@ -0,0 +1,277 @@
@charset "UTF-8";
/* stylelint-disable selector-list-comma-newline-after, property-no-vendor-prefix */
/*
* Globals
*/
body {
font-family: Georgia, "Times New Roman", Times, serif;
color: #555;
overscroll-behavior: none;
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
margin-top: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
color: #333;
}
p{
font-size: clamp(1px, 2.2vw, 20px);
}
/*
* Override Bootstrap's default container.
*/
@media (min-width: 1200px) {
.container {
width: 970px;
}
}
/*
* Masthead for nav
*/
.blog-masthead {
background-color: #428bca;
-webkit-box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
position: fixed;
width: 100%;
}
/* Nav links */
.blog-nav-item {
position: relative;
display: inline-block;
padding: 10px;
font-weight: 500;
color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
color: #fff;
text-decoration: none;
}
/* Active state gets a caret at the bottom */
.blog-nav .active {
color: #fff;
}
.blog-nav .active:after {
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 0;
margin-left: -5px;
vertical-align: middle;
content: " ";
border-right: 5px solid transparent;
border-bottom: 5px solid;
border-left: 5px solid transparent;
}
/*
* Blog name and description
*/
.blog-header {
padding-top: 20px;
padding-bottom: 60px;
}
.blog-title {
margin-top: 30px;
margin-bottom: 0;
font-size: 60px;
font-weight: 400;
}
.blog-description {
font-size: 20px;
color: #999;
}
/*
* Main column and sidebar layout
*/
.blog-main {
padding: 15px;
font-size: 18px;
line-height: 1.5;
z-index: -1;
}
/* Sidebar modules for boxing content */
.sidebar-module {
padding: 15px;
margin: 0 -15px 15px;
position: fixed;
}
.sidebar-module-inset {
padding: 15px;
background-color: #f5f5f5;
border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
margin-bottom: 0;
}
/* Pagination */
.pager {
margin-bottom: 60px;
text-align: left;
}
.pager > li > a {
width: 140px;
padding: 10px 20px;
text-align: center;
border-radius: 30px;
}
/*
* Blog posts
*/
.blog-post {
margin-bottom: 60px;
}
.blog-post-title {
margin-bottom: 5px;
font-size: 40px;
}
.blog-post-meta {
margin-bottom: 20px;
color: #999;
}
/*
* Canto
*/
.canto {
margin-bottom: 60px;
}
.titolo-canto {
margin-bottom: 5px;
font-size: 40px;
}
.canto-meta {
margin-bottom: 20px;
color: #999;
}
/*
* Footer
*/
.blog-footer {
padding: 40px 0;
color: #999;
text-align: center;
background-color: #f9f9f9;
border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
margin-bottom: 0;
}
/*
Minimap
*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
html, body{
overscroll-behavior: none;
}
h1{
font-size: clamp(1px, 3.2vw, 28px);
}
p{
font-size: clamp(1px, 2.2vw, 20px);
}
.minimap_container {
/*position: fixed;*/
top: 160px;
left: 1000px;
min-width: 20px;
z-index: 100;
}
.minimap_size {
position: relative;
z-index: 5;
border: 2px solid white;
}
.minimap_viewer {
width: 25%;
position:absolute;
top: 0;
left: 0;
transform-origin: 0 0;
z-index: 100;
/*border: 1px solid #0000009a; */
border: 1px solid blue;
}
.minimap_content {
position:absolute;
top: 0;
left: 0;
width:100%;
height: 100%;
z-index: -1;
transform-origin: 0 0;
border: 1px solid white;
}

View File

@ -200,6 +200,7 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
}
//console.log(element)
let html = document.getElementById(element).innerHTML
@ -296,6 +297,7 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
forma.pos = binding.get('pos').value;
forma.form = binding.get('textform').value;
forma.cantica = cantica;
listaForme.add(forma)