[geany/geany-plugins] 36400f: markdown: Improve Alternate template
Matthew Brush
git-noreply at xxxxx
Sun Aug 26 09:16:22 UTC 2012
Branch: refs/heads/master
Author: Matthew Brush <matt at geany.org>
Committer: Matthew Brush <matt at geany.org>
Date: Sun, 15 Jul 2012 20:35:16
Commit: 36400f54ff11f1da27585a8fc2e49d7d728aed85
https://github.com/geany/geany-plugins/commit/36400f54ff11f1da27585a8fc2e49d7d728aed85
Log Message:
-----------
markdown: Improve Alternate template
Includes fonts, background image and external stylesheet.
Modified Paths:
--------------
markdown/templates/Alternate/Kreon.ttf
markdown/templates/Alternate/LICENSE.kreon
markdown/templates/Alternate/LICENSE.pointfree
markdown/templates/Alternate/Makefile.am
markdown/templates/Alternate/Pointfree.ttf
markdown/templates/Alternate/alternate.css
markdown/templates/Alternate/background.png
markdown/templates/Alternate/index.html
Modified: markdown/templates/Alternate/Kreon.ttf
0 files changed, 0 insertions(+), 0 deletions(-)
===================================================================
No diff available, check online
Modified: markdown/templates/Alternate/LICENSE.kreon
93 files changed, 93 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,93 @@
+Copyright (c) 2012, Julia Petretta, with Reserved Font Name Kreon.
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
Modified: markdown/templates/Alternate/LICENSE.pointfree
24 files changed, 24 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <http://unlicense.org/>
\ No newline at end of file
Modified: markdown/templates/Alternate/Makefile.am
11 files changed, 9 insertions(+), 2 deletions(-)
===================================================================
@@ -1,3 +1,10 @@
-deftmpldir = $(pkgdatadir)/markdown/templates/Alternate
-deftmpl_DATA = index.html
+alttmpldir = $(pkgdatadir)/markdown/templates/Alternate
+alttmpl_DATA = \
+ index.html \
+ alternate.css \
+ background.png \
+ Kreon.ttf \
+ LICENSE.kreon \
+ Pointfree.ttf \
+ LICENSE.pointfree
Modified: markdown/templates/Alternate/Pointfree.ttf
0 files changed, 0 insertions(+), 0 deletions(-)
===================================================================
No diff available, check online
Modified: markdown/templates/Alternate/alternate.css
80 files changed, 80 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,80 @@
+ at font-face {
+ font-family: Kreon;
+ src: url('Kreon.ttf');
+}
+
+ at font-face {
+ font-family: Pointfree;
+ src: url('Pointfree.ttf');
+}
+
+body {
+ background: url('background.png');
+ background-attachment: fixed;
+ color: #141414;
+ font-family: Kreon, serif;
+ font-size: 14pt;
+}
+
+p {
+ text-shadow: 1px 1px 1px #fff;
+}
+
+h1 {
+ text-align: center;
+ padding-bottom: 1.0em;
+}
+
+h2, h3, h4, h5, h6 {
+ color: #53C20D;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: Pointfree;
+}
+
+a:link {
+ color: #143300;
+ text-decoration: none;
+}
+
+a:visited {
+ color: #143300;
+ text-decoration: underline;
+}
+
+a:hover {
+ color: #53C20D;
+ text-decoration: none;
+}
+
+a:active {
+ color: #53C20D;
+ text-decoration: underline;
+}
+
+pre {
+ background-color: #FFFFFF;
+ padding-top: 10px;
+ padding-right: 25px;
+ padding-left: 25px;
+ padding-bottom: 10px;
+ border: 3px solid #000;
+ border-radius: 10px;
+}
+
+code {
+ background-color: #FFFFFF;
+ font-family: Pointfree, monospace;
+ font-size: 0.8em;
+}
+
+#container {
+ margin: 0 auto;
+ width: 32.0em;
+ padding: 2.0em;
+ background-color: #E3E3E3;
+ border: 3px solid #000;
+ border-radius: 10px;
+ box-shadow: 0 0 10px 2px #5A5A5A;
+}
Modified: markdown/templates/Alternate/background.png
0 files changed, 0 insertions(+), 0 deletions(-)
===================================================================
No diff available, check online
Modified: markdown/templates/Alternate/index.html
20 files changed, 4 insertions(+), 16 deletions(-)
===================================================================
@@ -1,22 +1,10 @@
<html>
<head>
- <style type="text/css">
- body {
- background-color: #FFFAE6;
- color: #141414;
- font-family: serif;
- }
- pre {
- background-color: #B6B6B6;
- padding-top: 10px;
- padding-right: 25px;
- padding-left: 25px;
- padding-bottom: 10px;
- border: 1px solid #424242;
- }
- </style>
+ <link rel="stylesheet" type="text/css" href="alternate.css"/>
</head>
<body>
- <!-- @markdown_document@ -->
+ <div id="container">
+ <!-- @markdown_document@ -->
+ </div>
</body>
</html>
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Plugins-Commits
mailing list