sheet.xsl: fix & improve
This commit is contained in:
		@@ -52,8 +52,9 @@ def parse_rules(filename=None):
 | 
				
			|||||||
            # for each rule
 | 
					            # for each rule
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if rules[section][arg].startswith('file:'):
 | 
					            if rules[section][arg].startswith('file:'):
 | 
				
			||||||
                paths = [os.path.join(sys.prefix, 'share/morss', rules[section][arg][5:]),
 | 
					                paths = [os.path.join(sys.prefix, 'share/morss/www', rules[section][arg][5:]),
 | 
				
			||||||
                    os.path.join(os.path.dirname(__file__), '..', rules[section][arg][5:])]
 | 
					                    os.path.join(os.path.dirname(__file__), '../www', rules[section][arg][5:]),
 | 
				
			||||||
 | 
					                    os.path.join(os.path.dirname(__file__), '../..', rules[section][arg][5:])]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                for path in paths:
 | 
					                for path in paths:
 | 
				
			||||||
                    try:
 | 
					                    try:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -52,6 +52,10 @@
 | 
				
			|||||||
					font-weight: bold;
 | 
										font-weight: bold;
 | 
				
			||||||
					font-size: 1.5em;
 | 
										font-size: 1.5em;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
									.content * {
 | 
				
			||||||
 | 
										max-width: 100%;
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
			</style>
 | 
								</style>
 | 
				
			||||||
		</head>
 | 
							</head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user