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
3
4
5
6
7
8
9
10
11
12
13
14
15
16
..
69
70
71
72
73
74
75

76
77
78
79
80
81
82
local ss = require 'sirsem'

local css_toc = [[
	@media screen and (max-width: calc(@[width]:[100vw] * 2)) {
		ol.toc {
			float: right;
			background: @bg;
			padding: 0 2em;
			margin-right: -4em;
		}
	}
]]

local css_toc_fixed_lod = [[
	@media (min-width: calc(@[width]:[100vw] * 2)) {
................................................................................
			color: @tone(1.3 50);
			background-position-x: 0%;
		}
		ol.toc ol {
			font-size: 95%;
			width: 100%;
			padding-left: 0;

		}
		ol.toc > li  {
			list-style: upper-roman;
		}
			ol.toc > li > a {
				font-weight: bold;
			}







|







 







>







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
..
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
local ss = require 'sirsem'

local css_toc = [[
	@media screen and (max-width: calc(@[width]:[100vw] * 2)) {
		ol.toc {
			float: right;
			background: @bg;
			padding: 0 !important;
			margin-right: -4em;
		}
	}
]]

local css_toc_fixed_lod = [[
	@media (min-width: calc(@[width]:[100vw] * 2)) {
................................................................................
			color: @tone(1.3 50);
			background-position-x: 0%;
		}
		ol.toc ol {
			font-size: 95%;
			width: 100%;
			padding-left: 0;
			padding-right: 0;
		}
		ol.toc > li  {
			list-style: upper-roman;
		}
			ol.toc > li > a {
				font-weight: bold;
			}