// design by Kriti Shankar Senapati sS htitledSection(S title, O contents, O... params) { S backgroundColor = "#fff"; // TODO: grab from params S labelStyle = "width: auto; float: top; position: relative; top: -15px; left:15px; background-color: " + backgroundColor + "; font-size: 30px"; ret div( htag label(b(" " + title + " "), style := labelStyle) + p(contents, style := "padding-left: 15px"), params_stylePlus("border: 2px solid", params); }