View Single Post
Old 01-02-2014, 05:39 PM   #5
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by eschwartz View Post
You can always right-click and rename any file; if you include "/" it will recognize that as a folder structure. "Styles/stylesheet.css" will put stylesheet.css into the Styles folder.
Kovid had recommended that earlier, but I was not doing it correctly

Eventually I 'renamed' 6 files into folders. It worked, but was a little tedious but it worked

The other thing that I was struggling with was the CSS with @font-face url's. I had to un-learn some Sigil and change the url's below

Code:
/* ----------------------------------------------*/
/* Style sheet to use Charis fonts --------------*/
/* ----------------------------------------------*/

@font-face {
    font-family: 'Charis SIL ModifiedLarger';
    font-weight: normal;
    font-style: normal;
    src: url('../Fonts/CharisSIL-R.ttf');
}

@font-face {
    font-family: 'Charis SIL ModifiedLarger';
    font-weight: bold;
    font-style: normal;
    src: url('../Fonts/CharisSIL-B.ttf');
}

@font-face {
    font-family: 'Charis SIL ModifiedLarger';
    font-weight: normal;
    font-style: italic;
    src: url('../Fonts/CharisSIL-I.ttf');
}

@font-face {
    font-family: 'Charis SIL ModifiedLarger';
    font-weight: bold;
    font-style: italic;
    src: url('../Fonts/CharisSIL-BI.ttf');
}

html, body {
	height: 100%;
	margin: 0;
	padding:0;
	border-width: 0;
	font-family:"Charis SIL ModifiedLarger",serif;
}

@page {
	margin: 5pt;
}

Paul
phossler is offline   Reply With Quote