I am a very visual person and like to see my notes well formatted but I don't like messing about with the formatting. Having to think about the fonts and the sizes and the colours of things is tiresome and detracts from concentrating on the subject of the note.
Fortunately InfoQube amongst others has 'styles', you can say "this is a heading" or "this is a standard paragraph" without having to think about the formatting because you already sorted that out so you don't have to do it every time.
Because I use it quite a lot it would be nicer if the style drop down was on the top level instead of being a drop down inside another drop down but unfortunately that is one aspect of InfoQube which cannot be reconfigured.
Things get even more interesting when you edit the default HTML file. I tried this some time ago and it didn't work and I thought I was doing something wrong and started looking for the default file within the InfoQube program directories and Application Data. I found them and edited them but meanwhile Pierre fixed the functionality within InfoQube to save the current item as the default HTML file to be used for new items. So it's even easier now. Just create a new document, switch to HTML view, edit the HTML code then select 'Save as default ...' from the file menu (the file menu in the document pane, not the File menu in the main program window) and the edited code will be used for all new documents.
There are some programs which only have a partial implementation of the HTML and CSS standards but Pierre seems to have done a fairly comprehensive implementation. Although you can't use CSS files you can put CSS commands within the <STYLE> ... </STYLE> tags in the HTML.
I have included my default HTML document as an example of what is possible. It may not be to everyone's taste but you are welcome to either use it as it is or modify it to suit your own needs/tastes.
The purpose of including this file is as a starting point not an end point. Go forth and modify.
The style has a parchment coloured background with a very legible sans serif font in black. The headings are in purple with a brown underline, as the headings go up in number the text size diminishes and gets darker, the underline diminishes and gets lighter and the indent increases slightly.
Tables have a light violet background to distinguish them from the text.
As an example :-
That is what it looks like and here is the code, just cut and paste if interested :-
<HTML><HEAD>
<META name=GENERATOR content="InfoQube 0.9.109Pre7">
<META charset=UTF-8>
<STYLE>
/*
** 'body'
*/
body {
margin-right:10px;
margin-left:10px;
font-family:"Cadman,Candara,Sans-serif";
font-size:100%;
line-height: 1.6em;
color: Black;
padding-bottom: .5em;
background-color: #fff0c8;
}
/* 'p' (paragraph)
*/
p {
font-size:small;
}
/*
** 'h?' (headings)
*/
h1 {
font-family:"Cadman,Candara,Sans-serif";
font-weight:bold;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
font-size:160%;
color:#4000DD;
border-bottom: 2px solid GoldenRod;
}
h2 {
font-family:"Cadman,Candara,Sans-serif";
font-weight:bold;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
font-size:150%;
color:#3500CC;
margin-left: 1.2em;
border-bottom: 2px solid #E3B118;
}
h3 {
font-family:"Cadman,Candara,Sans-serif";
font-weight:bold;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
font-size:140%;
color:#2A00BB;
margin-left: 2.4em;
border-bottom: 1px solid #ECBD10;
}
h4 {
font-family:"Cadman,Candara,Sans-serif";
font-weight:bold;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
font-size:130%;
border-bottom: 1px solid #F5C908;
margin-left: 3.6em;
color:#1F00AA;
}
h5 {
font-family:"Cadman,Candara,Sans-serif";
font-weight:bold;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
font-size:120%;
font-family:"Cadman,Candara,Sans-serif";
border-bottom: 1px solid Gold;
margin-left: 4.8em;
color:#140099;
margin-bottom: 0;
}
h6 {
font-family:"Cadman,Candara,Sans-serif";
font-weight:bold;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
font-size:110%;
font-family:"Cadman,Candara,Sans-serif";
color:#090099;
border-bottom: 1px solid Gold;
margin-left: 6em;
margin-bottom: 0;
}
/*
** Un-Ordered Lists
*/
ul {
margin-top: 4pt;
margin-bottom: 8pt;
text-align: left;
/* width:90%; */ /* Width relative to the Viewing area */
line-height: 1.6em; /* Line spacing of about 1.6 times the height of a capital letter */
}
/*
** Ordered List
*/
ol {
margin-top: 4pt;
margin-bottom: 4pt;
}
/*
** Definition List
*/
dl {
margin-top: 4pt;
margin-bottom: 4pt;
}
/*
** Definition Term
*/
dt {font-weight: bold;}
/*
** Definition Element
*/
dd {font-weight: normal;}
/*
** Typewriter Text ( Monospaced )
*/
tt {
font-family:"Consolas,Courier New,monospace";
color:#666666;
background-color: Beige;
}
/*
** Pre Formatted Text ( Monospaced )
*/
pre {
font-family:"Monospac821 BT,Consolas,Courier New,monospace";
color:#666666;
background-color: White;
}
pre.code {
margin-top: 8pt;
margin-bottom: 8pt;
background-color: White;
white-space:pre;
border-style:solid;
border-width:1px;
border-color:#999999;
color:#333333;
padding:10px;
width:100%;
}
.highlite {
background-color: #FFFF70;
}
table {
font-size: 110%;
border-collapse: collapse;
border: 2px #999 solid;
background-color: #f4eaff ;
}
table.float {
float:right;
margin: 1.5em 1.5em 1.5em 0;
}
table.td {
border: 1px #aa0 solid;
padding: 5px 15px 5px 15px;
}
.tabletext {
padding-left: 15px;
padding-right: 15px;
}
</STYLE>
</HEAD>
<BODY bottomMargin=0 leftMargin=2 topMargin=2 rightMargin=2>
<DIV> </DIV></BODY></HTML>
[Edited by Admin to reduce the image size]
Comments
Ctrl 1-6 are shortcuts to apply H1...H6 and Ctrl N applies the normal format (It opens the New Item dialog right now, I'll fix it)
Also, in the next version, I'm adding separate buttons for H1...H6 and Normal styles
Ctrl 1-6 are shortcuts to apply H1...H6 and Ctrl N applies the normal format (It opens the New Item dialog right now, I'll fix it)
Also, in the next version, I'm adding separate buttons for H1...H6 and Normal styles
These are the ones I use on a regular basis. Twelve is enough, any more and the drop down box needs to be scrolled.
The 'Old and Deprocated' folder contains the failed experiments and the ones I found that I didn't use or didn't like. Please feel free to explore if you wish.
The ones I did use are :-
1. Bubblegum.css A nostalgic treat
2. Gold Top.css Golden headings
3. Light_Blue.css
4. Night.css A dark theme
5. Ofis_Blue.css \
6. Ofis_Brown.css The Ofis themes have evolved and now look more stylish
7. Ofis_Green.css |
8. Ofis_Purple.css /
9. Parchment.css This has evolved and is the default css for all new documents
10. Steel Top.css Steel headings
11. Violet.css
12. Wikipeed.css Resembles a well known online information source