Browse files

license

  • Loading branch information...
1 parent 8caab82 commit cf7bbd0851683f7d691dadd33d3df36e693b19b2 @marksands committed Jan 6, 2011
Showing with 58 additions and 24 deletions.
  1. +19 −0 LICENSE
  2. +27 −12 README.md
  3. +12 −12 lib/markview/public/style.css
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2010, 2011 Mark Sands
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+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 OR COPYRIGHT HOLDERS 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.
View
39 README.md
@@ -4,27 +4,42 @@ Markview allows you to view nearly any and all markup formatted files in a slick
## Install
-New releases of Markview are published to [gemcutter](http://gemcutter.org/gems/markview)
-
- $ [sudo] gem install markview
+ $ sudo gem install markview
## Usage
Markview is very simple to use. Run the gem from the command line and specify
-a README or other markdown file. Markview defaults to finding a README if you choose not to
+a README or other markdown file. Markview defaults to finding a file with the base name README if you choose not to
specify the file.
- $ markview README.md
-
+ $ markview README.md
+
## Preview
![Markview Preview](http://img.skitch.com/20100331-pdee3qerwaxpk49w1qnumspnjb.png)
-
+
## Author
[Mark Sands](http://github.com/marksands) :: marksands07@gmail.com
-
-
-
-
-
+
+## License
+
+Copyright (c) 2010, 2011 Mark Sands
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+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 OR COPYRIGHT HOLDERS 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.
View
24 lib/markview/public/style.css
@@ -9,7 +9,7 @@ body { line-height:1; color:black; background: white; }
ol,ul { list-style:none; }
table { border-collapse:separate; border-spacing:0; }
caption,th,td { text-align:left; font-weight:normal; }
-blockquote:before,blockquote:after,q:before,q:after { content:""; }
+blockquote:before,blockquote:after,q:before,q:after { content:""; }
blockquote,q { quotes:"" ""; }
.clear:after { clear:both; content:""; display:block; height:0; zoom:1; }
@@ -25,18 +25,18 @@ div#content > div { float:left; }
div#content div#markview-output { border: 1px solid #E9E9E9; background:#F8F8F8; padding:10px; overflow-y:auto; min-width:900px;}
.meta { min-width:910px;}
-.meta { background: #eee url(http://assets1.github.com/images/modules/commit/file_head.gif) repeat-x 0px 0px;
- border:1px solid #e9e9e9;border-bottom:1px solid #ccc;color:#333;height:33px;line-height:33px;font-size:12px;padding:0px 5px; }
+.meta { background: #eee url(http://assets1.github.com/images/modules/commit/file_head.gif) repeat-x 0px 0px;
+ border:1px solid #e9e9e9;border-bottom:1px solid #ccc;color:#333;height:33px;line-height:33px;font-size:12px;padding:0px 5px; }
.meta ul { float:right;height:33px;line-height:33px;padding:0;margin:0; }
-.meta ul li { float:left; list-style-type:none; margin: 8px 0 0 10px; }
+.meta ul li { float:left; list-style-type:none; margin: 8px 0 0 10px; }
.meta ul li.last { background: url(http://assets1.github.com/images/modules/commit/action_separator.png) no-repeat 0px 50%; margin: 8px 4px 0 10px; }
-.meta ul li a { color:#4183C4;font-weight:bold; text-decoration:none;outline:none;line-height:1.4em;margin:0 0 0 10px;}
+.meta ul li a { color:#4183C4;font-weight:bold; text-decoration:none;outline:none;line-height:1.4em;margin:0 0 0 10px;}
textarea {
width: 99%;
height: 600px!important;
- padding:0!important;
- margin:0!important;
+ padding:0!important;
+ margin:0!important;
resize: none;
font-size: 1.1em;
background-color: rgb(253, 253, 253);
@@ -54,7 +54,7 @@ textarea {
.markview h1,.markview h2,.markview h3,.markview h4,.markview h5,.markview h6{margin-bottom:0.5em; color:black;}
.markview h1{font-size:170% !important; padding-top:0.5em!important;margin-top:1.5em!important;
- line-height:1.4em; font-weight:bold; border-top: 4px solid #AAA !important; }
+ line-height:1.4em; font-weight:bold; border-top: 4px solid #AAA !important; }
.markview h1:first-child { margin-top:0!important;padding-top:0.25em!important;border-top:none!important;}
.markview h2{ border-top: 4px solid #ddd; padding-top: 12px; margin-top:30px; margin-bottom:0.75em;}
.markview h2{font-size:150% !important; font-weight:bold}
@@ -80,12 +80,12 @@ textarea {
.markview table td{border-bottom:1px solid #ddd;padding:0.2em 1em}
.markview pre{font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
- background-color:#f8f8ff !important;border:1px solid #dedede !important;color:#444 !important; font-size:90% !important;
- line-height:1.5em !important; padding: 0.5em !important; margin:1em 0 !important; overflow:auto !important;}
+ background-color:#f8f8ff !important;border:1px solid #dedede !important;color:#444 !important; font-size:90% !important;
+ line-height:1.5em !important; padding: 0.5em !important; margin:1em 0 !important; overflow:auto !important;}
.markview pre code{background-color:#f8f8ff !important;border:none !important;font-size:100% !important;padding:0 !important}
.markview code{font-family: Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
- background-color:ghostWhite !important;border:1px solid #dedede !important;color:#444 !important; font-size:90%!important;
- padding:0 0.2em !important}
+ background-color:ghostWhite !important;border:1px solid #dedede !important;color:#444 !important; font-size:90%!important;
+ padding:0 0.2em !important}
.markview pre.console{background-color:#000;color:white;font-size:90%;line-height:1.5em;margin:0 0 1em;padding:0.5em}
.markview pre.console code{background-color:#000;border:medium none;color:#fff;font-size:100%;padding:0}

0 comments on commit cf7bbd0

Please sign in to comment.