Skip to content

Commit

Permalink
Added README, screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBelt committed Feb 11, 2015
1 parent ca95b85 commit b556cd8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

![WiTeX screenshot](https://raw.githubusercontent.com/AndrewBelt/WiTeX/master/screenshot.png)

# 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
Binary file added screenshot-s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ For more information, please refer to <http://unlicense.org/>

/*
WiTeX
https://github.com/AndrewBelt/WiTeX
*/


Expand All @@ -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 */
Expand All @@ -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;
}

Expand All @@ -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;
}
Expand Down

0 comments on commit b556cd8

Please sign in to comment.