aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-04-22 18:32:26 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-04-22 18:32:26 +0000
commitcc44591b5857d2c79adedb77fa29dc4b810c4123 (patch)
treeeeb0cf889be493c1b5eaa4c004a42030c157e01b /LUFA/StudioIntegration
parent344cd1a2e82202112e34f840588bc9686d04c29d (diff)
downloadlufa-cc44591b5857d2c79adedb77fa29dc4b810c4123.tar.gz
lufa-cc44591b5857d2c79adedb77fa29dc4b810c4123.tar.bz2
lufa-cc44591b5857d2c79adedb77fa29dc4b810c4123.zip
Add basic CSS styling to the Atmel Studio integrated help.
Diffstat (limited to 'LUFA/StudioIntegration')
-rw-r--r--LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css45
-rw-r--r--LUFA/StudioIntegration/makefile8
2 files changed, 50 insertions, 3 deletions
diff --git a/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css
new file mode 100644
index 000000000..cfc835ef1
--- /dev/null
+++ b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css
@@ -0,0 +1,45 @@
+.programlisting {
+ display: block;
+ margin-left: 15px;
+ padding: 10px;
+ background-color: #f0f0f0;
+ border: 1px solid #aaaaaa;
+ font-family: "Consolas", "Courier New", sans-serif;
+ }
+
+ code {
+ background-color: #f0f0f0;
+ font-family: "Consolas", "Courier New", sans-serif;
+ }
+
+.note {
+ display: block;
+ margin-left: 15px;
+ padding-left: 10px;
+ padding-bottom: 5px;
+ background-color: #f0f0f0;
+ border: 1px solid #aaaaaa;
+}
+
+table {
+ border: 1px solid #aaaaaa;
+ border-collapse: collapse;
+ margin-left: 15px;
+ font-size: 10pt;
+}
+
+table thead * {
+ background-color: #f0f0f0;
+}
+
+table thead th {
+ padding: 5px;
+}
+
+table th, td {
+ padding: 5px;
+}
+
+ul {
+ padding-left: 20px;
+}
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile
index af9563aab..bf89beaa2 100644
--- a/LUFA/StudioIntegration/makefile
+++ b/LUFA/StudioIntegration/makefile
@@ -39,13 +39,14 @@ VSIX_ASSETS := $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png \
VSIX/GettingStarted.htm \
Blob/Atmel.Studio.Services.Interfaces.dll \
Blob/LUFA.dll \
- Blob/LUFA.pkgdef
+ Blob/LUFA.pkgdef \
MSHELP_GEN_PARAMS := --stringparam generate.toc "book toc" \
--stringparam chunk.quietly "1" \
--stringparam chunk.section.depth "3" \
--stringparam chunk.first.sections "1" \
- --stringparam chapter.autolabel "0"
+ --stringparam chapter.autolabel "0" \
+ --stringparam html.stylesheet "lufa_studio_help_styling.css"
all: generate_xml check_filenames generate_vsix
@@ -88,11 +89,12 @@ $(MSHELP_OUTPUT_XML): $(DOXYGEN_COMBINED_XML)
@cd mshelp && xsltproc $(MSHELP_GEN_PARAMS) ../Docbook/mshelp/docbook.xsl lufa_docbook.xml
@echo Copying help assets...
+ @cp HV1/lufa_studio_help_styling.css mshelp
@-mkdir mshelp/images 2> /dev/null
@cp `find $(LUFA_ROOT)/DoxygenPages/Images -type f` mshelp/images
@echo Archiving help content...
- @cd mshelp && zip ../$(MSHELP_OUTPUT_XML) -q -0 -r *.html images
+ @cd mshelp && zip ../$(MSHELP_OUTPUT_XML) -q -0 -r *.html *.css images
generate_xml: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)