diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-02 00:12:40 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-02 00:12:40 (EDT) |
commit | cdef49bfc269f072d2b492fd44c931b1b45152fb (patch) | |
tree | 4275ab8277a4af5f7488e6d3e6e8f20537c1bddc /src | |
parent | af3de034d582d53cb5099e73643028f8e4c6949a (diff) | |
download | marquee-cdef49bfc269f072d2b492fd44c931b1b45152fb.zip marquee-cdef49bfc269f072d2b492fd44c931b1b45152fb.tar.gz marquee-cdef49bfc269f072d2b492fd44c931b1b45152fb.tar.bz2 |
src/html.c: Add vertical notebook styles
Diffstat (limited to 'src')
-rw-r--r-- | src/html.c | 47 |
1 files changed, 47 insertions, 0 deletions
@@ -91,6 +91,53 @@ static const gchar *styles = "margin: 0;\n" "}\n" /* + * Vertical notebook + */ + "div.notebook-v {\n" + "position: relative;\n" + /* Why are these weird margin and padding numbers necessary? */ + "margin: 6px 5px 6px 0;\n" + "padding: 6px 0 0 0;\n" + "}\n" + "div.notebook-v > input {\n" + "display: none;\n" + "}\n" + "div.notebook-v > label {\n" + "display: block;\n" + "background-color: #9F9F9F;\n" + "color: #5F5F5F;\n" + "float: left;\n" + "clear: left;\n" + "margin: 0 0 3px 6px;\n" + "border-width: 1px 0 1px 1px;\n" + "border-style: solid;\n" + "border-color: #8F8F8F;\n" + "border-radius: 3px 0 0 3px;\n" + "padding: 6px;\n" + "font-weight: bold;\n" + "position: relative;\n" + "left: 3px;\n" + "}\n" + "div.notebook-v > input:checked + label {\n" + "background-color: #CFCFCF;\n" + "color: #000000;\n" + "padding: 6px 7px 6px 6px;\n" + "border-color: #9F9F9F;\n" + "position: relative;\n" + "left: 0;\n" + "z-index: 1;\n" + "}\n" + "div.notebook-v > div {\n" + "display: none;\n" + "background-color: #CFCFCF;\n" + "border: 1px solid #9F9F9F;\n" + "border-radius: 0 3px 3px 0;\n" + "position: relative;\n" + "left: -1px;\n" + "margin: 0;\n" + "overflow: hidden;\n" + "}\n" + /* * Form elements */ "form {\n" |