cortav  Check-in [cf42cc180c]

Overview
Comment:fix css
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cf42cc180cc0f52fb6d1f7cc1505aff5dd77b3dc9bf58000f159ba25aa3767f4
User & Date: lexi on 2023-01-29 20:30:55
Other Links: manifest | tags
Context
2023-04-13
07:23
legal shit check-in: 61f7054fd9 user: lexi tags: trunk
2023-01-29
20:30
fix css check-in: cf42cc180c user: lexi tags: trunk
2022-12-14
10:22
idr fam im tired check-in: 4409bfef8b user: lexi tags: trunk
Changes

Modified ext/toc.lua from [823e0f174d] to [cb20ab6769].

     2      2   local ss = require 'sirsem'
     3      3   
     4      4   local css_toc = [[
     5      5   	@media screen and (max-width: calc(@[width]:[100vw] * 2)) {
     6      6   		ol.toc {
     7      7   			float: right;
     8      8   			background: @bg;
     9         -			padding: 0 2em;
            9  +			padding: 0 !important;
    10     10   			margin-right: -4em;
    11     11   		}
    12     12   	}
    13     13   ]]
    14     14   
    15     15   local css_toc_fixed_lod = [[
    16     16   	@media (min-width: calc(@[width]:[100vw] * 2)) {
................................................................................
    69     69   			color: @tone(1.3 50);
    70     70   			background-position-x: 0%;
    71     71   		}
    72     72   		ol.toc ol {
    73     73   			font-size: 95%;
    74     74   			width: 100%;
    75     75   			padding-left: 0;
           76  +			padding-right: 0;
    76     77   		}
    77     78   		ol.toc > li  {
    78     79   			list-style: upper-roman;
    79     80   		}
    80     81   			ol.toc > li > a {
    81     82   				font-weight: bold;
    82     83   			}