summaryrefslogtreecommitdiffstats
path: root/styling
diff options
context:
space:
mode:
Diffstat (limited to 'styling')
-rw-r--r--styling/StyleChecker.java23
-rw-r--r--styling/style.css75
2 files changed, 50 insertions, 48 deletions
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: <rsiddharth@ninthfloor.org>
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.styling;
import scruf.io.*;
@@ -17,4 +38,4 @@ public class StyleChecker {
new WriteFile(styleSheet,styleContent).write();
}
}
-} \ No newline at end of file
+}
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;