From f533ccd443c61c7b3f3fd58ddd1327d384539c5e Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Thu, 25 Oct 2012 01:29:45 +0530 Subject: Updated styling/style.css for proper formatting of monospace phrases and code blocks. modified: styling/style.css --- styling/style.css | 75 +++++++++++++++++++++---------------------------------- 1 file changed, 28 insertions(+), 47 deletions(-) (limited to 'styling') diff --git a/styling/style.css b/styling/style.css index 4f2cb40..17e41a4 100644 --- a/styling/style.css +++ b/styling/style.css @@ -1,27 +1,7 @@ -/* - Junicode.ttf,Junicode-Italic.ttf,Junicode-Bold.ttf are Unicode fonts - available under the SIL Open Font License, for more details, visit - the project's web-page : http://junicode.sourceforge.net/ -*/ -@font-face { - font-family:junicode; - src: url('fonts/Junicode.ttf'); - font-style:normal; -} -@font-face { - font-family:junicode; - src: url('fonts/Junicode-Italic.ttf'); - font-style:oblique; -} -@font-face { - font-family:junicode; - src: url('fonts/Junicode-Bold.ttf'); - font-weight:bold; -} article { - font-size:1.188em; + font-size:1.50em; /* 1.88 */ font-style:normal; - font-family:junicode,serif; + font-family:"Palatino Linotype","Book Antiqua",Palatino,"URW Palladio L",FreeSerif,serif; color:#686868; margin-left:auto; margin-right:auto; @@ -39,34 +19,49 @@ h1, h2, h3, h4 { width:75%; text-align:center; } -p{ +p, i, b{ margin-left:auto; margin-right:auto; border:1px; padding:5px; width:70%; text-align:justify; - -moz-word-wrap:break-word; + line-height:170%; + /*-moz-word-wrap:break-word;*/ } .center { text-align:center; } blockquote { + font-size:0.77em; font-style:oblique; color:#787878; + text-align:justify; background-color:#fcfcfc; margin-left:auto; margin-right:auto; border:1px; padding:5px; - width:67%; + width:60%; } -code { + +span.monospace { border: 1px; padding: 1px; font-size:0.625em; - font-family:monospace; + font-family:monospace; +} + +div.code { + font-family:monospace; + font-size:0.625em; + background-color:#fcfcfc; + margin-left:auto; + margin-right:auto; + border:1px; + padding:5px; + width:65%; } img { @@ -93,7 +88,7 @@ a:hover,a:active { div.back { font-size:0.9em; - font-family:junicode,serif; + font-family:junicode,"Palatino Linotype","Book Antiqua",Palatino,"URW Palladio L",FreeSerif,serif; text-align:center; color:#686868; margin-left:auto; @@ -104,34 +99,20 @@ div.back { } footer { - font-size:0.7em; - font-family:junicode,footer; + font-size:0.8em; + font-family:"Palatino Linotype","Book Antiqua",Palatino,"URW Palladio L",FreeSerif,serif; text-align:center; color:#686868; margin-left:auto; margin-right:auto; border:1px; padding:5px; - width:30%; + width:40%; } -/* - -LinLibertine_aS.ttf is part of the linuxlibertine font package, it is -licensed under the GPLv2 and SIL Open Font License (version 1.0). - -for more details about this font, visit their project page at -sourceforge.net : -http://sourceforge.net/projects/linuxlibertine/ -*/ - -@font-face { - font-family:scruf; - src: url('fonts/LinLibertine_aS.ttf'); -} div.scruf { - font-size:.9em; - font-family:scruf,serif; + font-size:0.9em; + font-family:"Palatino Linotype","Book Antiqua",Palatino,"URW Palladio L",FreeSerif,serif; text-align:center; color:#bcbcbc; margin-left:auto; -- cgit v1.2.3 From 0b6cabd40f2cb5978e69977f483d9ce30a3d2360 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Thu, 25 Oct 2012 02:48:09 +0530 Subject: removed: notes writefile added: COPYING -- gpl text (full) modified: Initialization.java Scruf.java conversion/CanConvert.java conversion/ConvertDirectory.java conversion/ConvertFile.java conversion/FileSieve.java index/IndexCreator.java io/PresentFile.java io/ReadFile.java io/WriteFile.java license/Liberate.java parsers/BackButton.java parsers/CodeBlocks.java parsers/DocumentName.java parsers/Footer.java parsers/Header.java parsers/Headings.java parsers/Images.java parsers/LineBreak.java parsers/Links.java parsers/NullIt.java parsers/Paragraphs.java parsers/ParserList.java parsers/WordDecoration.java styling/StyleChecker.java >> All the .java files were 'baptized' for 100% software freedom. todo -- minor edit. license/gpl -- minor edit again. --- styling/StyleChecker.java | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'styling') diff --git a/styling/StyleChecker.java b/styling/StyleChecker.java index 4905f25..68d7b46 100644 --- a/styling/StyleChecker.java +++ b/styling/StyleChecker.java @@ -1,3 +1,24 @@ +/*+ + * Copyright 2012 rsiddharth + * Email: + * + * This file is part of Scruf. + * + * Scruf is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + package scruf.styling; import scruf.io.*; @@ -17,4 +38,4 @@ public class StyleChecker { new WriteFile(styleSheet,styleContent).write(); } } -} \ No newline at end of file +} -- cgit v1.2.3