Permalink
Browse files

Add README and LICENSE.

  • Loading branch information...
1 parent b37ceac commit bc77f0e026709daca2e212b1025a0b23f3ea13ec @karthikv committed Mar 24, 2013
View
@@ -0,0 +1,2 @@
+.DS_Store
+*.sw[pon]
View
@@ -0,0 +1,22 @@
+(The MIT License)
+
+Copyright (c) 2012 Karthik Viswanathan <me@karthikv.net>
+
+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
@@ -0,0 +1,63 @@
+# My Style
+My Style is a Google Chrome extension that allows you to insert custom CSS into
+pages, immediately see its visual effects, and have that CSS persist for future
+visits.
+
+## Usage
+Take TechCrunch, for example. You may dislike the site's design and want to add
+your own touch--that is, your own style--to make it aesthetically pleasing.
+After installing the extension, hit command + control + m in your browser. You
+should see a textarea to the right:
+
+![Techcrunch textarea](https://raw.github.com/karthikv/my-style/master/screenshots/techcrunch-textarea.png)
+
+Insert your custom CSS and see results:
+
+![Techcrunch restyled](https://raw.github.com/karthikv/my-style/master/screenshots/techcrunch-restyled.png)
+
+This CSS will be reinserted upon revisiting Techcrunch, thereby saving your
+styles as necessary. If you'd like this specific Techcrunch skin, it's
+available at
+[styles/techcrunch.css](https://github.com/karthikv/my-style/blob/master/styles/techcrunch.css).
+
+## How it Works
+My Style is nothing special. It inserts a textarea into pages, looks for
+changes to the textarea's contents, and updates a dynamically inserted style
+tag. My Style employs local storage to make CSS changes persistent. It uses
+simple technologies for a simple result.
+
+## Improvements
+Sites that clear local storage can erase My Style's custom CSS. A more
+persistent form of storage (e.g. the JavaScript FileSystem APIs) would be
+a better option to retain CSS.
+
+## Contributors
+### Karthik Viswanathan - nodefront core developer
+- GitHub: [@karthikv](https://github.com/karthikv)
+- Twitter: [@karthikvnet](https://twitter.com/karthikvnet)
+- Website: [http://karthikv.net](http://karthikv.net)
+- Email: me@karthikv.net
+
+## License
+(The MIT License)
+
+Copyright (c) 2012 Karthik Viswanathan &lt;me@karthikv.net&gt;
+
+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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,95 @@
+body {
+ background: #f6f6f6;
+ color: #333;
+ font-size: 30px;
+}
+
+a,
+a:visited,
+#paging-below a {
+ color: #00a67c;
+}
+
+a:hover,
+.module-post .headline a:hover {
+ color: #008463;
+}
+
+.post {
+ box-shadow: 0px 5px 6px -5px #bbb;
+ overflow: hidden;
+}
+
+.publication-info {
+ margin-top: 20px !important;
+}
+
+.publication-info .by-line {
+ display: inline;
+}
+
+.publication-info .post-time {
+ display: inline;
+}
+
+.publication-info,
+.publication-info .by-line {
+ color: #999;
+ text-transform: uppercase;
+}
+
+#paging-above,
+#paging-below {
+ font-size: 12px;
+}
+
+#paging-below .page-next {
+ background: none;
+ background-position: 100% -39px;
+}
+
+#paging-below {
+ width: 638px;
+ margin-top: 20px;
+}
+
+#paging-below,
+#paging-below .page-prev.noprev {
+ background: none;
+}
+
+#module-header,
+.right-container,
+.top-featured-posts,
+.lazy-share-widget,
+.module-sponsored-ads,
+.module-footer,
+.post-share-widget,
+.post-category-name,
+.widget,
+iframe {
+ display: none !important;
+}
+
+.column-container {
+ width: 668px;
+ margin: 50px 0;
+}
+
+.module-post .body-copy,
+.module-post .entry-summary,
+.module-post-detail,
+.module-post-detail .body-copy p {
+ font: 15px/1.5 Roboto, "Helvetica Neue", Helvetica, Arial, Sans-Serif;
+}
+
+.module-post .headline,
+.module-post-detail .headline,
+.module-post .headline a,
+.module-post-detail .headline a {
+ font-family: "Raleway", "PT Sans", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, Sans_Serif;
+ line-height: 1.15;
+ font-weight: normal;
+ letter-spacing: 0px;
+ margin-left: 0;
+}

0 comments on commit bc77f0e

Please sign in to comment.