IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
stylesheet.m
Go to the documentation of this file.
1 %>@ingroup idata htmlgen
2 %>@file
3 %>@brief Returns HTML stylesheet
4 %>
5 %> Check source code for available styles
6 
7 function s = stylesheet()
8 s = [
9 '<style>', 10, ...
10 'h1 {font-family: Times New Roman, serif; font-size:18pt; font-weight: bold; text-align: center;}', 10, ...
11 'h2 {font-family: Times New Roman, serif; font-size:15pt; font-weight: bold; text-align: center;}', 10, ...
12 'h3 {font-family: Times New Roman, serif; font-size:14pt; font-weight: bold; text-align: center;}', 10, ...
13 'h4 {font-family: Times New Roman, serif; font-size:13pt; font-weight: bold; text-align: center;}', 10, ...
14 'h5 {font-family: Times New Roman, serif; font-size:12pt; font-weight: bold; text-align: center;}', 10, ...
15 'td {font-family: Times New Roman; padding: 3px}', 10, ...
16 'td {border: 0; border-collapse: collapse; border-spacing: 0px; }', 10, ...
17 'td {padding: 4px;}', 10, ...
18 '.nu, .tdnu {text-align: right}', 10, ...
19 '.her {text-align: right; font-weight: bold;}', 10, ...
20 '.hel, .tdle {text-align: left; font-weight: bold;}', 10, ...
21 '.hec, .tdhe {text-align: center; font-weight: bold;}', 10, ...
22 '.ce {text-align: center;}', 10, ...
23 '.ri {text-aligh: right;}', 10, ...
24 '.sma {font-size: 9pt;}', 10, ...
25 '.nobo {border: 0}', 10, ...
26 '.bo {border: 2px solid black; border-collapse: collapse; border-spacing: 0px;}', 10, ... % Border
27 '.bob {border-collapse: collapse; border-spacing: 0px; border-bottom-style: solid; border-bottom-width: 2}', 10, ... % Border bottom
28 '.bob1 {border-collapse: collapse; border-spacing: 0px; border-bottom-style: solid; border-bottom-width: 1}', 10, ...
29 '.bor {border-collapse: collapse; border-spacing: 0px; border-right-style: solid; border-right-width: 2}', 10, ... % Border right
30 '.bobbor {border-collapse: collapse; border-spacing: 0px; border-bottom-style: solid; border-bottom-width: 2; border-right-style: solid; border-right-width: 2}', 10, ...
31 '.backbet {background-color: #d8ffd8}', 10, ...
32 '.foresig {font-weight: bold; color: #004000}', 10, ...
33 '.helchoa {text-align: left;font-weight: bold; background-color: #800000; color: #fefefe;}', 10, ...
34 '.nuchoa {text-align: right; font-weight: bold; background-color: #800000; color: #fefefe;}', 10, ...
35 '</style>', 10, ...
36 '', 10];
function stylesheet()