commit b556cd8c5d80d68fb8f3c18ca1605c3b715756a4
parent ca95b8525395bcea71edf48deb76041d56332517
Author: Andrew Belt <andrewpbelt@gmail.com>
Date: Wed, 11 Feb 2015 01:15:08 -0500
Added README, screenshot
Diffstat:
4 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
@@ -0,0 +1,24 @@
+
+
+
+# WiTeX
+*If Donald Knuth had designed Wikipedia*
+
+## Install
+If you have a Wikipedia account, open your [Preferences](https://en.wikipedia.org/wiki/Special:Preferences), go to the Appearance tab, and edit the Custom CSS for the Vector skin.
+Paste [`style.css`](https://raw.githubusercontent.com/AndrewBelt/WiTeX/master/style.css) into the code editor, and save.
+
+Alternatively, you can load the CSS using a browser plugin for the domain `https?://*.wikipedia.org`.
+
+
+### I want the old Wikipedia design back!
+
+There is no longer a Preferences link at the top of the page, but you can click to the following URL.
+
+https://en.wikipedia.org/wiki/Special:Preferences
+
+Change the skin to something else, apply, and remove the Custom CSS from the Vector skin.
+
+Or, you could manually go to this URL, inserting your Wikipedia username.
+
+https://en.wikipedia.org/w/index.php?title=User:**your-username**/vector.css&action=edit
+\ No newline at end of file
diff --git a/screenshot-s.png b/screenshot-s.png
Binary files differ.
diff --git a/screenshot.png b/screenshot.png
Binary files differ.
diff --git a/style.css b/style.css
@@ -11,6 +11,7 @@ For more information, please refer to <http://unlicense.org/>
/*
WiTeX
+https://github.com/AndrewBelt/WiTeX
*/
@@ -20,28 +21,28 @@ WiTeX
font-family: 'Latin Modern Roman';
font-weight: normal;
font-style: normal;
- src: url('/fonts/lmroman10-regular.woff') format('woff');
+ src: url('https://raw.githack.com/AndrewBelt/WiTeX/master/fonts/lmroman10-regular.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: bold;
font-style: normal;
- src: url('/fonts/lmroman10-bold.woff') format('woff');
+ src: url('https://raw.githack.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bold.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: normal;
font-style: italic;
- src: url('/fonts/lmroman10-oblique.woff') format('woff');
+ src: url('https://raw.githack.com/AndrewBelt/WiTeX/master/fonts/lmroman10-oblique.woff') format('woff');
}
@font-face {
font-family: 'Latin Modern Roman';
font-weight: bold;
font-style: italic;
- src: url('/fonts/lmroman10-boldoblique.woff') format('woff');
+ src: url('https://raw.githack.com/AndrewBelt/WiTeX/master/fonts/lmroman10-boldoblique.woff') format('woff');
}
/* Page Layout */
@@ -52,8 +53,6 @@ body {
}
body {
- /* I use the wildcard selector with extreme hesitation
- but otherwise have to override every relevant element */
font-family: 'Latin Modern Roman', serif;
}
@@ -70,7 +69,7 @@ ul {
list-style: disc;
}
-.ns-subject #mw-navigation, #mw-page-base, #mw-head-base, #footer {
+#mw-navigation, #mw-page-base, #mw-head-base, #footer {
/* nuke everything but the content */
display: none;
}